]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Make soft-float powerpc swapcontext restore the signal mask (bug 21045).
[thirdparty/glibc.git] / ChangeLog
1 2017-01-16 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #21045]
4 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
6 to __sigprocmask.
7
8 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
9
10 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
11 wrap-around.
12 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
13
14 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
15
16 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17
18 * NEWS: Fix typo.
19
20 2016-01-13 Torvald Riegel <triegel@redhat.com>
21
22 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
23 barriers and comments.
24 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
25 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27
28 2016-01-13 Torvald Riegel <triegel@redhat.com>
29
30 [BZ #19402]
31 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
32 mutexes.
33
34 2016-01-13 Torvald Riegel <triegel@redhat.com>
35
36 [BZ #20985]
37 * nptl/Makefile: Adapt.
38 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
39 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
40 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
41 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
42 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
43 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
44 lll_robust* functions and adapt.
45 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
46 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
47 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
48 __lll_robust_timedlock, __lll_robust_unlock): Remove.
49 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
50 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
51 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
52 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
53 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
54 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
55 __lll_robust_timedlock, __lll_robust_unlock): Remove.
56 * nptl/lowlevelrobustlock.c: Remove file.
57 * nptl/lowlevelrobustlock.sym: Likewise.
58 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
59 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
60
61 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62
63 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
64
65 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
66
67 * po/cs.po: Merge translations from the Translation Project.
68 * po/de.po: Likewise.
69 * po/pl.po: Likewise.
70 * po/ru.po: Likewise.
71 * po/tr.po: Likewise.
72 * po/uk.po: Likewise.
73 * po/vi.po: Likewise.
74 * po/zh_CN.po: Likewise.
75
76 2017-01-12 Joseph Myers <joseph@codesourcery.com>
77
78 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
79
80 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
81 object.
82
83 2017-01-11 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #16458]
86 * bits/uintn-identity.h: New file.
87 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
88 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
89 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
90 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
91 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
92 * string/endian.h: Include <bits/uintn-identity.h>.
93 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
94 __uint16_identity.
95 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
96 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
97 __uint32_identity.
98 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
99 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
100 __uint64_identity.
101 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
102 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
103 __uint16_identity.
104 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
105 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
106 __uint32_identity.
107 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
108 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
109 __uint64_identity.
110 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
111 * string/Makefile (headers): Add bits/uintn-identity.h.
112 (tests): Add test-endian-types.
113 * string/test-endian-types.c: New file.
114 * inet/Makefile (tests): Add test-hnto-types.
115 * inet/test-hnto-types.c: New file.
116
117 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
118
119 * po/be.po: Update from Translation Project.
120 * po/bg.po: Likewise.
121 * po/ca.po: Likewise.
122 * po/cs.po: Likewise.
123 * po/da.po: Likewise.
124 * po/de.po: Likewise.
125 * po/el.po: Likewise.
126 * po/eo.po: Likewise.
127 * po/es.po: Likewise.
128 * po/fi.po: Likewise.
129 * po/fr.po: Likewise.
130 * po/gl.po: Likewise.
131 * po/hr.po: Likewise.
132 * po/hu.po: Likewise.
133 * po/ia.po: Likewise.
134 * po/id.po: Likewise.
135 * po/it.po: Likewise.
136 * po/ja.po: Likewise.
137 * po/ko.po: Likewise.
138 * po/lt.po: Likewise.
139 * po/nb.po: Likewise.
140 * po/nl.po: Likewise.
141 * po/pl.po: Likewise.
142 * po/pt_BR.po: Likewise.
143 * po/ru.po: Likewise.
144 * po/rw.po: Likewise.
145 * po/sk.po: Likewise.
146 * po/sl.po: Likewise.
147 * po/sv.po: Likewise.
148 * po/tr.po: Likewise.
149 * po/uk.po: Likewise.
150 * po/vi.po: Likewise.
151 * po/zh_CN.po: Likewise.
152 * po/zh_TW.po: Likewise.
153
154 2017-01-11 Joseph Myers <joseph@codesourcery.com>
155
156 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
157 -Wformat-truncation instead of -Wformat-length.
158 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
159 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
160 GCC 7.
161 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
162 (do_test): Ignore -Wformat-truncation for GCC 7.
163
164 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
165 buffer used to print long int value.
166
167 * elf/sotruss-lib.c (init): Increase space allocated for pid by
168 one byte. Print it with %ld, cast to long int.
169
170 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
171
172 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
173 (re.fullmatch, subprocess.run): Likewise.
174
175 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
176
177 * po/libc.pot: Regenerate.
178
179 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
180
181 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
182 (min_strlen): Likewise.
183 (disable_tunable): Likewise.
184 (maybe_disable_malloc_check): Rename to
185 maybe_enable_malloc_check.
186 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
187 if /etc/suid-debug file exists.
188 (__tunables_init): Update caller.
189 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
190 secure.
191
192 2016-01-10 Torvald Riegel <triegel@redhat.com>
193
194 * nptl/DESIGN-rwlock.txt: Remove.
195 * nptl/lowlevelrwlock.sym: Remove.
196 * nptl/Makefile: Add new tests.
197 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
198 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
199 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
200 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
201 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
202 PTHREAD_RWLOCK_FUTEX_USED): New.
203 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
204 implementation.
205 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
206 (__pthread_rwlock_rdlock): Adapt.
207 * nptl/pthread_rwlock_timedrdlock.c
208 (pthread_rwlock_timedrdlock): Adapt.
209 * nptl/pthread_rwlock_timedwrlock.c
210 (pthread_rwlock_timedwrlock): Adapt.
211 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
212 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
213 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
214 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
215 (__pthread_rwlock_wrlock): Adapt.
216 * nptl/tst-rwlock10.c: Adapt.
217 * nptl/tst-rwlock11.c: Adapt.
218 * nptl/tst-rwlock17.c: New file.
219 * nptl/tst-rwlock18.c: New file.
220 * nptl/tst-rwlock19.c: New file.
221 * nptl/tst-rwlock2b.c: New file.
222 * nptl/tst-rwlock8.c: Adapt.
223 * nptl/tst-rwlock9.c: Adapt.
224 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
225 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
226 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
227 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
228 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
229 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
230 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
231 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
232 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
233 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
234 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
235 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
236 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
237 (pthread_rwlock_t): Adapt.
238 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
239 (pthread_rwlock_t): Adapt.
240 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
241 * nptl/nptl-printers.py (): Adapt.
242 * nptl/nptl_lock_constants.pysym: Adapt.
243 * nptl/test-rwlock-printers.py: Adapt.
244 * nptl/test-rwlockattr-printers.c: Adapt.
245 * nptl/test-rwlockattr-printers.py: Adapt.
246
247 2017-01-10 Joseph Myers <joseph@codesourcery.com>
248
249 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
250 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
251 (fma_test_data): Likewise.
252 (hypot_test_data): Likewise.
253 (log1p_test_data): Likewise.
254 (modf_test_data): Likewise.
255 (pow_test_data): Likewise.
256 (remainder_test_data): Likewise.
257 (remquo_test_data): Likewise.
258 (scalb_test_data): Likewise.
259 (scalbn_test_data): Likewise.
260 (scalbln_test_data): Likewise.
261 * math/gen-libm-test.pl (parse_args): Transform
262 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
263 on the rounding mode.
264
265 2017-01-09 Joseph Myers <joseph@codesourcery.com>
266
267 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
268 xfail-rounding:ibm128-libgcc automatically to tests overflowing
269 and those that can underflow to zero.
270 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
271 add others.
272 * math/auto-libm-test-out: Regenerated.
273
274 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
275 supported.
276 (feholdexcept_tests): Skip tests requiring exceptions or rounding
277 modes support if not supported.
278
279 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
280 Add libc.so PLT entry.
281 (__tls_get_addr): Make ld.so PLT entry optional.
282
283 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
284
285 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
286 * string/bits/string3.h: ... here.
287
288 2017-01-05 Joseph Myers <joseph@codesourcery.com>
289
290 [BZ #21028]
291 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
292 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
293 if EXCEPTION_TESTS returns false.
294
295 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
296
297 [BZ #20558]
298 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
299 strings_fortified.h.
300 [__USE_MISC] (bzero): Likewise.
301 [__USE_MISC] (explicit_bzero): Likewise.
302 * string/strings.h: Include strings_fortified.h.
303 * string/Makefile (headers): Add strings_fortified.h.
304 * string/bits/strings_fortified.h: New file.
305 * include/bits/strings_fortified.h: Likewise.
306
307 2017-01-05 Joseph Myers <joseph@codesourcery.com>
308
309 * elf/tst-tls13.c (TIMEOUT): Remove.
310 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
311 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
312 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
313 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
314 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
315
316 [BZ #21026]
317 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
318 (readahead): New syscall entry.
319
320 2017-01-04 Joseph Myers <joseph@codesourcery.com>
321
322 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
323 around tests of strncat with large sizes.
324
325 * malloc/tst-malloc.c: Include <libc-internal.h>.
326 (do_test): Disable -Walloc-size-larger-than= around tests of
327 malloc with negative sizes.
328 * malloc/tst-mcheck.c: Include <libc-internal.h>.
329 (do_test): Disable -Walloc-size-larger-than= around tests of
330 malloc and realloc with negative sizes.
331 * malloc/tst-realloc.c: Include <libc-internal.h>.
332 (do_test): Disable -Walloc-size-larger-than= around tests of
333 realloc with negative sizes.
334
335 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
336 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
337 allowed to 16 ulps.
338 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
339 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
340 * math/auto-libm-test-out: Regenerated.
341
342 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
343
344 * math/Makefile (libm-calls): Move wrappers...
345 (libm-compat-call-auto): Here.
346 (libm-routines): Add items in libm-compat-calls-auto.
347 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
348 the filenames of the wrappers that have been renamed.
349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
351
352 * math/w_acos.c: Add _compat suffix to filename.
353 * math/w_acosf.c: Likewise.
354 * math/w_acosh.c: Likewise.
355 * math/w_acoshf.c: Likewise.
356 * math/w_acoshl.c: Likewise.
357 * math/w_acosl.c: Likewise.
358 * math/w_asin.c: Likewise.
359 * math/w_asinf.c: Likewise.
360 * math/w_asinl.c: Likewise.
361 * math/w_atan2.c: Likewise.
362 * math/w_atan2f.c: Likewise.
363 * math/w_atan2l.c: Likewise.
364 * math/w_atanh.c: Likewise.
365 * math/w_atanhf.c: Likewise.
366 * math/w_atanhl.c: Likewise.
367 * math/w_cosh.c: Likewise.
368 * math/w_coshf.c: Likewise.
369 * math/w_coshl.c: Likewise.
370 * math/w_exp10.c: Likewise.
371 * math/w_exp10f.c: Likewise.
372 * math/w_exp10l.c: Likewise.
373 * math/w_exp2.c: Likewise.
374 * math/w_exp2f.c: Likewise.
375 * math/w_exp2l.c: Likewise.
376 * math/w_fmod.c: Likewise.
377 * math/w_fmodf.c: Likewise.
378 * math/w_fmodl.c: Likewise.
379 * math/w_hypot.c: Likewise.
380 * math/w_hypotf.c: Likewise.
381 * math/w_hypotl.c: Likewise.
382 * math/w_j0.c: Likewise.
383 * math/w_j0f.c: Likewise.
384 * math/w_j0l.c: Likewise.
385 * math/w_j1.c: Likewise.
386 * math/w_j1f.c: Likewise.
387 * math/w_j1l.c: Likewise.
388 * math/w_jn.c: Likewise.
389 * math/w_jnf.c: Likewise.
390 * math/w_jnl.c: Likewise.
391 * math/w_log10.c: Likewise.
392 * math/w_log10f.c: Likewise.
393 * math/w_log10l.c: Likewise.
394 * math/w_log2.c: Likewise.
395 * math/w_log2f.c: Likewise.
396 * math/w_log2l.c: Likewise.
397 * math/w_log.c: Likewise.
398 * math/w_logf.c: Likewise.
399 * math/w_logl.c: Likewise.
400 * math/w_pow.c: Likewise.
401 * math/w_powf.c: Likewise.
402 * math/w_powl.c: Likewise.
403 * math/w_remainder.c: Likewise.
404 * math/w_remainderf.c: Likewise.
405 * math/w_remainderl.c: Likewise.
406 * math/w_scalb.c: Likewise.
407 * math/w_scalbf.c: Likewise.
408 * math/w_scalbl.c: Likewise.
409 * math/w_sinh.c: Likewise.
410 * math/w_sinhf.c: Likewise.
411 * math/w_sinhl.c: Likewise.
412 * math/w_sqrt.c: Likewise.
413 * math/w_sqrtf.c: Likewise.
414 * math/w_sqrtl.c: Likewise.
415 * math/w_tgamma.c: Likewise.
416 * math/w_tgammaf.c: Likewise.
417 * math/w_tgammal.c: Likewise.
418
419 * math/w_acos_compat.c: New file copied from above and
420 adjusted for new #includes path
421 * math/w_acosf_compat.c: Likewise.
422 * math/w_acosh_compat.c: Likewise.
423 * math/w_acoshf_compat.c: Likewise.
424 * math/w_acoshl_compat.c: Likewise.
425 * math/w_acosl_compat.c: Likewise.
426 * math/w_asin_compat.c: Likewise.
427 * math/w_asinf_compat.c: Likewise.
428 * math/w_asinl_compat.c: Likewise.
429 * math/w_atan2_compat.c: Likewise.
430 * math/w_atan2f_compat.c: Likewise.
431 * math/w_atan2l_compat.c: Likewise.
432 * math/w_atanh_compat.c: Likewise.
433 * math/w_atanhf_compat.c: Likewise.
434 * math/w_atanhl_compat.c: Likewise.
435 * math/w_cosh_compat.c: Likewise.
436 * math/w_coshf_compat.c: Likewise.
437 * math/w_coshl_compat.c: Likewise.
438 * math/w_exp10_compat.c: Likewise.
439 * math/w_exp10f_compat.c: Likewise.
440 * math/w_exp10l_compat.c: Likewise.
441 * math/w_exp2_compat.c: Likewise.
442 * math/w_exp2f_compat.c: Likewise.
443 * math/w_exp2l_compat.c: Likewise.
444 * math/w_fmod_compat.c: Likewise.
445 * math/w_fmodf_compat.c: Likewise.
446 * math/w_fmodl_compat.c: Likewise.
447 * math/w_hypot_compat.c: Likewise.
448 * math/w_hypotf_compat.c: Likewise.
449 * math/w_hypotl_compat.c: Likewise.
450 * math/w_j0_compat.c: Likewise.
451 * math/w_j0f_compat.c: Likewise.
452 * math/w_j0l_compat.c: Likewise.
453 * math/w_j1_compat.c: Likewise.
454 * math/w_j1f_compat.c: Likewise.
455 * math/w_j1l_compat.c: Likewise.
456 * math/w_jn_compat.c: Likewise.
457 * math/w_jnf_compat.c: Likewise.
458 * math/w_jnl_compat.c: Likewise.
459 * math/w_log10_compat.c: Likewise.
460 * math/w_log10f_compat.c: Likewise.
461 * math/w_log10l_compat.c: Likewise.
462 * math/w_log2_compat.c: Likewise.
463 * math/w_log2f_compat.c: Likewise.
464 * math/w_log2l_compat.c: Likewise.
465 * math/w_log_compat.c: Likewise.
466 * math/w_logf_compat.c: Likewise.
467 * math/w_logl_compat.c: Likewise.
468 * math/w_pow_compat.c: Likewise.
469 * math/w_powf_compat.c: Likewise.
470 * math/w_powl_compat.c: Likewise.
471 * math/w_remainder_compat.c: Likewise.
472 * math/w_remainderf_compat.c: Likewise.
473 * math/w_remainderl_compat.c: Likewise.
474 * math/w_scalb_compat.c: Likewise.
475 * math/w_scalbf_compat.c: Likewise.
476 * math/w_scalbl_compat.c: Likewise.
477 * math/w_sinh_compat.c: Likewise.
478 * math/w_sinhf_compat.c: Likewise.
479 * math/w_sinhl_compat.c: Likewise.
480 * math/w_sqrt_compat.c: Likewise.
481 * math/w_sqrtf_compat.c: Likewise.
482 * math/w_sqrtl_compat.c: Likewise.
483 * math/w_tgamma_compat.c: Likewise.
484 * math/w_tgammaf_compat.c: Likewise.
485 * math/w_tgammal_compat.c: Likewise.
486
487 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
488 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
489 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
490 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
491 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
492 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
493 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
494 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
495 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
496 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
497 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
498 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
499 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
500 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
501 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
502 * sysdeps/ia64/fpu/w_powl.c: Likewise.
503 * sysdeps/ia64/fpu/w_powf.c: Likewise.
504 * sysdeps/ia64/fpu/w_pow.c: Likewise.
505 * sysdeps/ia64/fpu/w_logl.c: Likewise.
506 * sysdeps/ia64/fpu/w_logf.c: Likewise.
507 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
508 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
509 * sysdeps/ia64/fpu/w_log2.c: Likewise.
510 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
511 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
512 * sysdeps/ia64/fpu/w_log10.c: Likewise.
513 * sysdeps/ia64/fpu/w_log.c: Likewise.
514 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
515 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
516 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
517 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
518 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
519 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
520 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
521 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
522 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
523 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
524 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
525 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
526 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
527 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
528 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
529 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
530 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
531 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
532 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
533 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
534 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
535 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
536 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
537 * sysdeps/ia64/fpu/w_asin.c: Likewise.
538 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
539 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
540 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
541 * sysdeps/ia64/fpu/w_acos.c: Likewise.
542 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
543 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
544 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
545 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
546 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
547 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
548 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
549 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
550 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
551 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
552 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
553 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
554 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
555 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
556 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
557 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
558 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
559 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
560 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
561 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
562 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
563 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
564 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
565 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
566 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
567 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
568 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
569 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
570 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
571 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
572 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
573 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
574 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
575 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
576 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
577 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
578 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
579 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
580 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
581 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
582 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
583 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
584 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
585 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
586 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
588 Likewise.
589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
590 Likewise.
591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
593 Likewise.
594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
595 Likewise.
596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
598 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
600 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
601 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
602 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
609 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
610 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
611
612 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
613 and adjusted for new #includes path
614 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
615 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
616 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
617 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
618 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
619 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
620 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
621 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
622 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
623 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
624 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
625 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
626 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
627 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
628 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
629 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
630 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
631 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
632 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
633 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
634 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
635 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
636 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
637 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
638 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
639 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
640 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
641 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
642 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
643 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
644 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
645 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
646 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
647 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
648 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
649 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
650 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
651 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
652 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
653 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
654 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
655 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
656 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
657 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
658 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
659 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
660 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
661 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
662 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
663 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
664 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
665 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
666 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
667 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
668 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
669 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
670 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
671 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
672 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
673 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
674 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
675 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
676 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
677 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
678 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
679 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
680 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
681 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
682 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
683 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
684 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
685 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
686 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
687 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
688 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
689 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
690 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
691 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
692 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
693 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
694 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
695 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
696 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
697 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
698 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
699 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
700 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
701 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
702 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
703 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
704 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
705 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
706 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
707 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
708 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
709 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
710 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
711 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
712 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
714 Likewise.
715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
716 Likewise.
717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
718 Likewise.
719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
720 Likewise.
721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
722 Likewise.
723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
724 Likewise.
725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
726 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
727 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
728 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
729 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
730 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
732 Likewise.
733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
734 Likewise.
735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
736 Likewise.
737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
738 Likewise.
739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
740 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
741 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
742 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
743
744 2017-01-04 Joseph Myers <joseph@codesourcery.com>
745
746 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
747 __jmp_buf_internal_tag.
748
749 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
750 preserve NaN payload if [__mips_nan2008].
751 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
752
753 [BZ #21022]
754 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
755
756 2017-01-03 Joseph Myers <joseph@codesourcery.com>
757
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759
760 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
761
762 * sysdeps/ia64/strcat.c: Remove file.
763 * sysdeps/powerpc/strcat.c: Likewise.
764 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
765 C implementation.
766 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
767 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
768
769 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
770 Steven Munroe <sjmunroe@us.ibm.com>
771 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
772
773 [BZ #20822]
774 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
775 (__lll_lock_elision): Access adapt_count via C11 atomics.
776 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
777 (__lll_trylock_elision): Likewise.
778 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
779 (__lll_unlock_elision): Update adapt_count variable inside the
780 critical section using C11 atomics.
781
782 2017-01-03 Joseph Myers <joseph@codesourcery.com>
783
784 * math/test-fenvinline.c (do_test): Disable tests of raised
785 exceptions if !EXCEPTION_TESTS (FLOAT).
786
787 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
788
789 [BZ #19390]
790 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
791 maximum string size.
792 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
793 in pointer addition.
794 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
795 Likewise.
796
797 2017-01-03 Joseph Myers <joseph@codesourcery.com>
798
799 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
800 passed to tst-ldconfig-X.sh.
801
802 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
803
804 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
805
806 2017-01-02 Joseph Myers <joseph@codesourcery.com>
807
808 [BZ #21019]
809 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
810 New syscall entry.
811 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
812 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
813 lseek.
814
815 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
816 power4 glibc for powerpc-linux-gnu.
817
818 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
819
820 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
821 semctl.
822
823 2017-01-02 Joseph Myers <joseph@codesourcery.com>
824
825 * math/test-nearbyint-except.c: Include <stdbool.h>.
826 (any_supported): New variable.
827 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
828 set any_supported.
829 (do_test): Return 77 if no floating-point type supported
830 exceptions.
831
832 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
833 condition on [__mips_hard_float].
834
835 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
836
837 [BZ #21014]
838 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
839 in pointer addition.
840 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
841
842 2017-01-02 Torvald Riegel <triegel@redhat.com>
843
844 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
845 new condvar.
846
847 2017-01-02 Joseph Myers <joseph@codesourcery.com>
848
849 * scripts/build-many-glibcs.py (Context.checkout): Default
850 binutils version to 2.28 branch.
851
852 2017-01-01 Florian Weimer <fweimer@redhat.com>
853
854 * support/support_format_netent.c (support_format_netent): Work
855 around alpha struct netent definition difference.
856
857 2017-01-01 Florian Weimer <fweimer@redhat.com>
858
859 * support/xwrite.c (xwrite): Use %td for pointer difference.
860
861 2017-01-01 Florian Weimer <fweimer@redhat.com>
862
863 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
864 have-tunables only.
865 (tests-static): Add tst-malloc-usable-static-tunables for
866 have-tunables only.
867
868 2017-01-01 Joseph Myers <joseph@codesourcery.com>
869
870 * scripts/config.guess: Update to version 2017-01-01.
871 * scripts/config.sub: Update to version 2017-01-01.
872
873 * NEWS: Update copyright dates.
874 * catgets/gencat.c (print_version): Likewise.
875 * csu/version.c (banner): Likewise.
876 * debug/catchsegv.sh: Likewise.
877 * debug/pcprofiledump.c (print_version): Likewise.
878 * debug/xtrace.sh (do_version): Likewise.
879 * elf/ldconfig.c (print_version): Likewise.
880 * elf/ldd.bash.in: Likewise.
881 * elf/pldd.c (print_version): Likewise.
882 * elf/sotruss.sh: Likewise.
883 * elf/sprof.c (print_version): Likewise.
884 * iconv/iconv_prog.c (print_version): Likewise.
885 * iconv/iconvconfig.c (print_version): Likewise.
886 * locale/programs/locale.c (print_version): Likewise.
887 * locale/programs/localedef.c (print_version): Likewise.
888 * login/programs/pt_chown.c (print_version): Likewise.
889 * malloc/memusage.sh (do_version): Likewise.
890 * malloc/memusagestat.c (print_version): Likewise.
891 * malloc/mtrace.pl: Likewise.
892 * manual/libc.texinfo: Likewise.
893 * nptl/version.c (banner): Likewise.
894 * nscd/nscd.c (print_version): Likewise.
895 * nss/getent.c (print_version): Likewise.
896 * nss/makedb.c (print_version): Likewise.
897 * posix/getconf.c (main): Likewise.
898 * scripts/test-installation.pl: Likewise.
899 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
900
901 * All files with FSF copyright notices: Update copyright dates
902 using scripts/update-copyrights.
903 * intl/plural.c: Regenerated.
904 * locale/programs/charmap-kw.h: Likewise.
905 * locale/programs/locfile-kw.h: Likewise.
906
907 2016-12-31 Florian Weimer <fweimer@redhat.com>
908
909 [BZ #20593]
910 Update DNS RR type definitions.
911 * scripts/gen-rrtypes.py: New file.
912 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
913 BIND-internal RR type not used on the Internet. Add ns_t_ds,
914 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
915 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
916 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
917 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
918 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
919 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
920 ns_t_ta, ns_t_dlv.
921 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
922 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
923 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
924 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
925 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
926 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
927 Define.
928 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
929 entry for ns_t_zxfr.
930
931 2016-12-31 Florian Weimer <fweimer@redhat.com>
932
933 [BZ #18784]
934 CVE-2015-5180
935 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
936 T_UNSPEC. Adjust value.
937 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
938 * resolv/res_query.c (__libc_res_nquery): Likewise.
939 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
940 QTYPEs.
941 * resolv/tst-resolv-qtypes.c: New file.
942 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
943 (tst-resolv-qtypes): Link against libresolv and libpthread.
944
945 2016-12-31 Florian Weimer <fweimer@redhat.com>
946
947 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
948
949 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
950
951 * manual/tunables.texi: New chapter.
952 * manual/Makefile (chapters): Add it.
953 * manual/probes.texi (@node): Point to the Tunables chapter.
954
955 * Makeconfig (have-tunables): Check for non-negative instead
956 of positive.
957 * configure.ac: Add 'valstring' as a valid value for
958 --enable-tunables.
959 * configure: Regenerate.
960 * elf/Makefile (have-tunables): Check for non-negative instead
961 of positive.
962 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
963 dl-tunables.c.
964 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
965 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
966 (tunables_strdup): Likewise.
967 (disable_tunables): Likewise.
968 (parse_tunables): Likewise.
969 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
970 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
971 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
972 (TUNABLES_FRONTEND_yes): New macro, define as
973 TUNABLES_FRONTEND_valstring by default.
974 * manual/install.texi: Document new acceptable values for
975 --enable-tunables.
976 * INSTALL: Regenerate.
977
978 * config.make.in (have-loop-to-function): Define.
979 * elf/Makefile (CFLAGS-dl-tunables.c): Add
980 -fno-tree-loop-distribute-patterns.
981 * elf/dl-tunables.c: Include libc-internals.h.
982 (GLIBC_TUNABLES): New macro.
983 (tunables_strdup): New function.
984 (parse_tunables): New function.
985 (min_strlen): New function.
986 (__tunables_init): Use the new functions and macro.
987 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
988 * malloc/tst-malloc-usable-tunables.c: New test case.
989 * malloc/tst-malloc-usable-static-tunables.c: New test case.
990 * malloc/Makefile (tests, tests-static): Add tests.
991
992 * manual/install.texi: Add --enable-tunables option.
993 * INSTALL: Regenerate.
994 * README.tunables: New file.
995 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
996 (before-compile): Generate dl-tunable-list.h early.
997 * config.h.in: Add HAVE_TUNABLES.
998 * config.make.in: Add have-tunables.
999 * configure.ac: Add --enable-tunables option.
1000 * configure: Regenerate.
1001 * csu/init-first.c (__libc_init_first): Move
1002 __libc_init_secure earlier...
1003 * csu/init-first.c (LIBC_START_MAIN):... to here.
1004 Include dl-tunables.h, libc-internal.h.
1005 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1006 binaries.
1007 * elf/Makefile (dl-routines): Add dl-tunables.
1008 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1009 namespace.
1010 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1011 only when !HAVE_TUNABLES.
1012 * elf/rtld.c (process_envvars): Likewise.
1013 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1014 (_dl_sysdep_start): Call __tunables_init.
1015 * elf/dl-tunable-types.h: New file.
1016 * elf/dl-tunables.c: New file.
1017 * elf/dl-tunables.h: New file.
1018 * elf/dl-tunables.list: New file.
1019 * malloc/tst-malloc-usable-static.c: New test case.
1020 * malloc/Makefile (tests-static): Add it.
1021 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1022 Define TUNABLE_NAMESPACE.
1023 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1024 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
1025 callback functions.
1026 (ptmalloc_init): Set tunable values.
1027 * scripts/gen-tunables.awk: New file.
1028 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1029 (_dl_sysdep_start): Call __tunables_init.
1030
1031 2016-12-31 Florian Weimer <fweimer@redhat.com>
1032
1033 * resolv/resolv.h (RES_BLAST): Deprecate.
1034 * resolv/res_debug.c (p_option): Remove RES_BLAST.
1035 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1036 to RES_BLAST.
1037
1038 2016-12-27 Florian Weimer <fweimer@redhat.com>
1039
1040 [BZ #19582]
1041 Deprecate RES_USE_INET6.
1042 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1043 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1044 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1045 RES_USE_INET6.
1046 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1047 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1048 (_nss_nisplus_gethostbyaddr_r): Likewise.
1049 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1050 of res_use_inet6.
1051 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1052 instead of RES_USE_INET6.
1053 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1054 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1055 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1056 Likewise.
1057 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1058 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1059 Likewise.
1060 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1061 (_nss_dns_gethostbyname_r): Likewise.
1062 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1063 alternate RES_USE_INET6 handling.
1064 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1065 instead of RES_USE_INET6.
1066 * resolv/res_init.c (res_setoptions): Likewise.
1067 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1068 * resolv/resolv-internal.h: New file.
1069 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1070 make the deprecation warning non-fatal.
1071 * resolv/README (Using the resolver in multi-threaded code): Drop
1072 reference to RES_USE_INET6.
1073 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1074 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1075
1076 2016-12-31 Florian Weimer <fweimer@redhat.com>
1077
1078 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1079 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1080 tst-resolv-search.
1081 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1082 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1083 with libresolv and libpthread.
1084 * resolv/tst-bug18665.c: New file.
1085 * resolv/tst-bug18665-tcp: Likewise.
1086 * resolv/tst-res_use_inet6: Likewise.
1087 * resolv/tst-resolv-basic: Likewise.
1088 * resolv/tst-resolv-network: Likewise.
1089 * resolv/tst-resolv-search: Likewise.
1090 * support/Makefile (libsupport-routines): Add check_addrinfo,
1091 check_dns_packet, check_hostent, check_netent, resolv_test,
1092 support_format_address_family, support_format_addrinfo,
1093 support_format_dns_packet, support_format_herrno,
1094 support_format_hostent, support_format_netent, support_run_diff,
1095 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1096 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1097 xstrdup, xwrite.
1098 * support/check_addrinfo.c: New file.
1099 * support/check_dns_packet.c: Likewise.
1100 * support/check_hostent.c: Likewise.
1101 * support/check_netent.c: Likewise.
1102 * support/check_nss.h: Likewise.
1103 * support/format_nss.h: Likewise.
1104 * support/resolv_test.c: Likewise.
1105 * support/resolv_test.h: Likewise.
1106 * support/run_diff.h: Likewise.
1107 * support/support_format_address_family.c: Likewise.
1108 * support/support_format_addrinfo.c: Likewise.
1109 * support/support_format_dns_packet.c: Likewise.
1110 * support/support_format_herrno.c: Likewise.
1111 * support/support_format_hostent.c: Likewise.
1112 * support/support_format_netent.c: Likewise.
1113 * support/support_run_diff.c: Likewise.
1114 * support/xaccept.c: Likewise.
1115 * support/xbind.c: Likewise.
1116 * support/xconnect.c: Likewise.
1117 * support/xfclose.c: Likewise.
1118 * support/xfopen.c: Likewise.
1119 * support/xgetsockname.c: Likewise.
1120 * support/xlisten.c: Likewise.
1121 * support/xmemstream.c: Likewise.
1122 * support/xmemstream.h: Likewise.
1123 * support/xpoll.c: Likewise.
1124 * support/xpthread_once.c: Likewise.
1125 * support/xrecvfrom.c: Likewise.
1126 * support/xsendto.c: Likewise.
1127 * support/xsetsockopt.c: Likewise.
1128 * support/xstdio.h: Likewise.
1129 * support/xstrdup.c: Likewise.
1130 * support/support.h (xstrdup): Declare.
1131 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1132 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1133 * support/xthread.h (xpthread_once): Likwise.
1134 * support/xunistd.h (xwrite): Declare.
1135
1136 2016-12-31 Florian Weimer <fweimer@redhat.com>
1137
1138 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1139 (test_verbose): Declare.
1140 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1141 * support/support_test_main.c (default_options): Likewise.
1142 (usage, support_test_main): Handle 'v'.
1143 (test_verbose): Define.
1144 * support/tst-support_record_failure.c (do_test): Use
1145 test_verbose.
1146 * support/tst-support_record_failure-2.sh (different_status): Add
1147 --verbose test.
1148
1149 2016-12-31 Florian Weimer <fweimer@redhat.com>
1150
1151 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1152 test failures are recorded.
1153 * support/check.c (support_print_failure_impl): Call
1154 support_record_failure.
1155 (support_exit_failure_impl): Call support_record_failure if status
1156 indicates failure.
1157 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1158 * support/xasprintf.c (xasprintf): Likewise.
1159 * support/xfork.c (xfork): Likewise.
1160 * support/xpthread_check_return.c (xpthread_check_return):
1161 Likewise.
1162 * support/xsocket.c (xsocket): Likeweise.
1163 * support/xwaitpid.c (xwaitpid): Likewise.
1164 * support/support_record_failure.c (struct test_failures): Adjust
1165 to coding style.
1166 * support/support_test_verify_impl.c (support_test_verify_impl):
1167 Adjust error messages.
1168 * support/tst-support_record_failure-2.sh (different_status):
1169 Adjust error messages.
1170
1171 2016-12-31 Florian Weimer <fweimer@redhat.com>
1172
1173 * support/namespace.h: New file.
1174 * support/support_become_root.c: Likewise.
1175 * support/support_enter_network_namespace.c: Likewise.
1176 * support/tst-support-namespace.c: Likewise.
1177 * support/xsocket.c: Likewise.
1178 * support/xsocket.h: Likewise.
1179 * support/Makefile (libsupport-routines): Add support_become_root,
1180 support_enter_network_namespace, xsocket.
1181 (tests): Add tst-support-namespace.
1182
1183 2016-12-31 Florian Weimer <fweimer@redhat.com>
1184
1185 [BZ #17252]
1186 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1187 __USE_GNU.
1188
1189 2016-12-31 Torvald Riegel <triegel@redhat.com>
1190
1191 [BZ #13165]
1192 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1193 use new algorithm.
1194 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1195 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1196 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1197 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1198 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1199 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1200 __condvar_cleanup_waiting, __condvar_dec_grefs,
1201 __pthread_cond_wait_common): New.
1202 (__condvar_cleanup): Remove.
1203 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1204 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1205 Likewise.
1206 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1207 Likewise.
1208 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1209 * nptl/tst-cond1.c: Add comment.
1210 * nptl/tst-cond20.c (do_test): Adapt.
1211 * nptl/tst-cond22.c (do_test): Likewise.
1212 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1213 structure.
1214 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1215 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1216 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1217 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1218 Likewise.
1219 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1220 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1221 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1222 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1223 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1224 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1225 Likewise.
1226 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1227 Likewise.
1228 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1229 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1230 (COND_CLOCK_BITS): Adapt.
1231 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1232 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1233 __PTHREAD_COND_SHARED_MASK): New.
1234 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1235 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1236 * nptl/nptl_lock_constants.pysym: Adapt.
1237 * nptl/test-cond-printers.py: Adapt.
1238 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1239 cond_compat_check_and_clear): Adapt.
1240 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1241 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1242 (__pthread_cond_timedwait): ... and move here.
1243 * nptl/DESIGN-condvar.txt: Remove file.
1244 * nptl/lowlevelcond.sym: Likewise.
1245 * nptl/pthread_cond_timedwait.c: Likewise.
1246 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1247 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1248 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1249 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1250 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1251 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1252 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1253 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1254 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1255 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1256 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1257 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1258 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1259 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1260 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1261 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1262
1263 2016-12-31 Joseph Myers <joseph@codesourcery.com>
1264
1265 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1266 (fromfp): New declaration.
1267 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1268 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1269 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1270 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1271 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1272 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1273 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1274 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1275 * math/math.h: Include <bits/types.h>.
1276 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1277 constant and macro.
1278 (FP_INT_DOWNWARD): Likewise.
1279 (FP_INT_TOWARDZERO): Likewise.
1280 (FP_INT_TONEARESTFROMZERO): Likewise.
1281 (FP_INT_TONEAREST): Likewise.
1282 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1283 (fromfpf): Likewise.
1284 (fromfpl): Likewise.
1285 (ufromfp): Likewise.
1286 (ufromfpf): Likewise.
1287 (ufromfpl): Likewise.
1288 (fromfpx): Likewise.
1289 (fromfpxf): Likewise.
1290 (fromfpxl): Likewise.
1291 (ufromfpx): Likewise.
1292 (ufromfpxf): Likewise.
1293 (ufromfpxl): Likewise.
1294 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1295 s_fromfpxF and s_ufromfpxF.
1296 * math/gen-fromfp-tests.py: New file.
1297 * math/gen-fromfp-tests-inputs: Likewise.
1298 * math/libm-test.inc: Include <stdint.h>
1299 (check_intmax_t): New function.
1300 (check_uintmax_t): Likewise.
1301 (struct test_fiu_M_data): New type.
1302 (struct test_fiu_U_data): Likewise.
1303 (RUN_TEST_fiu_M): New macro.
1304 (RUN_TEST_LOOP_fiu_M): Likewise.
1305 (RUN_TEST_fiu_U): Likewise.
1306 (RUN_TEST_LOOP_fiu_U): Likewise.
1307 (fromfp_test_data): New array.
1308 (fromfp_test): New function.
1309 (fromfpx_test_data): New array.
1310 (fromfpx_test): New function.
1311 (ufromfp_test_data): New array.
1312 (ufromfp_test): New function.
1313 (ufromfpx_test_data): New array.
1314 (ufromfpx_test): New function.
1315 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1316 ufromfpx_test.
1317 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1318 characters.
1319 * math/test-tgmath-ret.c: Include <stdint.h>.
1320 (rm): New variable.
1321 (width): Likewise.
1322 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1323 called function.
1324 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1325 CHECK_RET_CONST_TYPE.
1326 (CHECK_RET_CONST_DOUBLE): Likewise.
1327 (CHECK_RET_CONST_LDOUBLE): Likewise.
1328 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1329 macros.
1330 (fromfp): New CHECK_RET_CONST call.
1331 (ufromfp): Likewise.
1332 (fromfpx): Likewise.
1333 (ufromfpx): Likewise.
1334 (do_test): Call check_return_fromfp, check_return_ufromfp,
1335 check_return_fromfpx and check_return_ufromfpx.
1336 * math/test-tgmath.c: Include <stdint.h>
1337 (NCALLS): Increase to 138.
1338 (F(compile_test)): Initialize i. Call fromfp functions.
1339 (F(fromfp)): New function.
1340 (F(fromfpx)): Likewise.
1341 (F(ufromfp)): Likewise.
1342 (F(ufromfpx)): Likewise.
1343 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1344 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1345 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1346 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1347 ufromfpxl.
1348 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1349 ufromfp and ufromfpx.
1350 * math/fromfp.h: New file.
1351 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1352 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1353 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1354 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1355 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1356 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1357 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1358 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1359 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1360 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1373 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1375 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1377 ufromfp, fromfpx and ufromfpx.
1378 (CFLAGS-nldbl-fromfp.c): New variable.
1379 (CFLAGS-nldbl-fromfpx.c): Likewise.
1380 (CFLAGS-nldbl-ufromfp.c): Likewise.
1381 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1382 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1383 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1384 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1385 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1386 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1387 * sysdeps/nacl/libm.abilist: Update.
1388 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1389 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1390 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1391 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1392 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1393 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1394 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1395 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1396 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1397 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1398 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1399 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1401 Likewise.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1405 Likewise.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1409 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1410 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1416 Likewise.
1417 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1418 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1420
1421 2016-12-30 Florian Weimer <fweimer@redhat.com>
1422
1423 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1424 compat-gethnamaddr.
1425 (CPPFLAGS): Remove.
1426 * resolv/gethnamaddr.c: Rename ...
1427 * resolv/compat-gethnamaddr.c: ... to this file.
1428 (_endhtent): Make static.
1429 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1430 symbol.
1431 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1432 compat symbol.
1433 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1434 symbol.
1435 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1436 Turn into compat symbol.
1437 * include/resolv.h (_endhtent): Remove declaration.
1438
1439 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1440
1441 * bits/types.h (__intmax_t): New typedef.
1442 (__uintmax_t): Likewise.
1443 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1444 (intmax_t): Define using __intmax_t.
1445 (uintmax_t): Define using __uintmax_t.
1446
1447 * support/Makefile (tests-special): Make definition conditional on
1448 [$(run-built-tests) = yes].
1449 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1450 on [$(run-built-tests) = yes].
1451
1452 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1453
1454 * Rules (tests): Add tests-printers-programs to tests to be
1455 built.
1456
1457 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1458
1459 * sysvipc/Makefile (tests): Add test-sysvshm.
1460 * sysvipc/test-sysvshm.c: New file.
1461
1462 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1463 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1464 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1465 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1466 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1467 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1468 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1469 Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1471 Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1473 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1474 is defined.
1475
1476 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1477 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1478 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1479 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1480 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1481 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1482 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1483 Likewise.
1484 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1485 Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1487 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1488 defined.
1489
1490 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1491 oldshmctl.
1492 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1493 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1494 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1495 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1496 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1497 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1498 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1499 Likewise.
1500 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1501 Likewise.
1502 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1503 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1504 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1505 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1506 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1507 implementation.
1508 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1509 if it is defined.
1510
1511 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1512 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1513 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1514 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1515 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1516 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1517 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1518 Likewise.
1519 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1520 Likewise.
1521 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1522 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1523 Define to __NR_osf_shmat.
1524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1525 defined.
1526
1527 * sysvipc/Makefile (tests): Add test-sysvsem.
1528 * sysvipc/test-sysvsem.c: New file.
1529
1530 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1531 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1532 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1533 Likewise.
1534 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1535 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1536 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1537 Likewise.
1538 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1539 Likewise.
1540 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1541 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1542 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1543 add a comment about s390 syscall difference from default one.
1544 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1545 syscall if it is defined.
1546
1547 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1548 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1549 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1550 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1551 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1552 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1553 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1554 Likewise.
1555 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1556 Likewise.
1557 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1558 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1559 defined.
1560
1561 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1562 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1563 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1564 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1565 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1566 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1567 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1568 Likewise.
1569 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1570 Likewise.
1571 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1572 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1573 if it is defined.
1574
1575 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1576 oldsemctl.
1577 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1578 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1579 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1580 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1581 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1582 implementation.
1583 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1584 syscall if it is defined.
1585 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1586 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1587 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1588 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1589 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1590 Likewise.
1591 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1592
1593 * sysvipc/Makefile (tests): Add test-sysvmsg.
1594 * sysvipc/test-sysvmsg.c: New file.
1595 * support/check.h (FAIL_UNSUPPORTED): New define.
1596
1597 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1598 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1599 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1600 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1601 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1602 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1603 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1604 Likewise.
1605 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1606 Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1608 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1609 define.
1610
1611 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1612 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1613 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1614 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1615 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1616 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1617 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1618 Likewise.
1619 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1620 Likewise.
1621 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1622 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1623 if defined.
1624
1625 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1626 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1627 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1628 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1629 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1630 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1631 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1632 Likewise.
1633 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1634 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1635 Likewise.
1636 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1637 if defined.
1638 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1639
1640 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1641 oldmsgctl.
1642 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1643 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1644 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1645 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1646 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1647 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1648 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1649 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1650 Likewise.
1651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1652 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1653 implementation.
1654 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1655 if defined.
1656
1657 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1658 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1659 definition and define its own.
1660 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1661 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1662 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1663 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1664 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1665 definitions to common header.
1666 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1667 operation from ipc_ops.h.
1668
1669 * sysdeps/unix/sysv/linux/kernel-features.h
1670 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1671 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1672 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1673 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1674 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1676 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1678 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1679 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1680 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1681 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1682 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1683 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1684 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1685
1686 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1687
1688 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1689 overflow in pointer addition.
1690
1691 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1692
1693 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1694 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1696 (strchr): Add __strchr_power8 to list of strchr functions.
1697 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1698 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1699 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1700 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1701 (strchr): Add __strchr_power8 to ifunc list.
1702 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1703 (__strchrnul): Add __strchrnul_power8 to ifunc list.
1704 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1705 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1706
1707 2016-12-28 Florian Weimer <fweimer@redhat.com>
1708
1709 * support/Makefile (libsupport-routines): Add
1710 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1711 (tests): Add tst-support_record_failure.
1712 (tests-special): tst-support_record_failure-2.
1713 (tst-support_record_failure-2.out): Depend on
1714 tst-support_record_failure-2.sh and tst-support_record_failure.
1715 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1716 (support_test_verify_impl, support_record_failure)
1717 (support_report_failure, support_report_failure_reset): Declare.
1718 * support/support_test_main.c (adjust_exit_status): New function.
1719 (support_test_main): Call it to incorporate record test failures.
1720 * support/support_test_verify_impl.c: New file.
1721 * support/support_record_failure.c: Likewise.
1722 * support/tst-support_record_failure.c: Likewise.
1723 * support/tst-support_record_failure-2.sh: Likewise.
1724 * support/xunistd.h: Likewise.
1725 * support/xfork.c: Likewise.
1726 * support/xwaitpid.c: Likewise.
1727
1728 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
1729
1730 * scripts/check-c++-types.sh: Add comments.
1731
1732 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
1733
1734 [BZ #19514]
1735 * resolv/res_send.c: Fix typo in comment.
1736 * sysdeps/i386/i386-mcount.S: Likewise.
1737 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1738 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1739 * sysdeps/sparc/sparc-mcount.S: Likewise.
1740
1741 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1742
1743 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1744 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1745 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1746 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1747 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1748 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1749 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1750 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1751
1752 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1753
1754 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1755
1756 2016-12-27 Florian Weimer <fweimer@redhat.com>
1757
1758 [BZ #17252]
1759 * posix/unistd.h (getentropy): Declare.
1760
1761 2016-12-27 Florian Weimer <fweimer@redhat.com>
1762
1763 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1764 Remove.
1765 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1766 (cmd): Remove spoof, nospoof, spoofalert.
1767 (parse_line): Ignore spoof-related lines.
1768 (do_init): Do not process RESOLV_SPOOF_CHECK.
1769
1770 2016-12-27 Florian Weimer <fweimer@redhat.com>
1771
1772 [BZ #20964]
1773 sunrpc: Always obtain AF_INET addresses from NSS.
1774 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1775 * sunrpc/rpc_gethostbyname.c: New file.
1776 * sunrpc/Makefile (routines): Add it.
1777 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1778 * sunrpc/clnt_simp.c (callrpc): Likewise.
1779 * sunrpc/getrpcport.c (getrpcport): Likewise.
1780
1781 2016-12-27 Florian Weimer <fweimer@redhat.com>
1782
1783 * sunrpc/rpcinfo.c: Remove.
1784 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1785
1786 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1787
1788 [BZ# 19387]
1789 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1790 addition.
1791 * string/test-memchr.c (do_test): Remove alignment limitation.
1792 (test_main): Add test that trigger BZ# 19387.
1793
1794 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1795
1796 [BZ #7065]
1797 Enable stack protectore if requested by ./configure.
1798 * Makeconfig (+stack-protector): New variable.
1799 (+cflags): Use it.
1800
1801 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1802
1803 [BZ #7065]
1804 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1806 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1808 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1809
1810 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1811
1812 [BZ #7065]
1813 * login/Makefile (pt_chown-cflags): Remove.
1814 * nscd/Makefile (CFLAGS-nscd): Likewise.
1815 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1816
1817 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1818
1819 [BZ #7065]
1820 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1821 non-libc-linking testcase.
1822
1823 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1824 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1825 Florian Weimer <fweimer@redhat.com>
1826
1827 [BZ #7065]
1828 PLT avoidance for __stack_chk_fail*.
1829 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1830 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1831 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1832 __stack_chk_fail_local alias.
1833 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1834 (__stack_chk_fail): Turn into hidden reference to
1835 __stack_chk_fail_local.
1836
1837 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1838
1839 [BZ #7065]
1840 * configure.ac: Add check for unsupported stack-protection level.
1841 (libc_cv_predef_stack_protector): Remove.
1842 (no_ssp): New variable.
1843 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1844 (stack_protector): Set to -fno-stack-protector similarly.
1845 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1846 (libc_cv_asm_set_directive): Likewise.
1847 (libc_cv_protected_data): Likewise.
1848 (libc_cv_z_combreloc): Likewise.
1849 (libc_cv_hashstyle): Likewise.
1850 (libc_cv_has_glob_dat): Likewise.
1851 (libc_cv_output_format): Likewise.
1852 (libc_cv_output_format): Likewise.
1853 (libc_cv_ehdr_start): Likewise.
1854 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1855 (LIBC_LINKER_FEATURE): Likewise.
1856 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1857
1858 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1859
1860 [BZ #7065]
1861 * elf/Makefile (dummy-stack-chk-fail): New.
1862 (librtld.map): Use it.
1863
1864 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1865
1866 [BZ #7065]
1867 Compile the dynamic linker without stack protection.
1868 * elf/Makefile (elide-stack-protector): New.
1869 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1870 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1871 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1872 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1873
1874 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1875
1876 [BZ #7065]
1877 * config.make.in (have-ssp, no-stack-protector): New.
1878 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1879 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1880 (CFLAGS-sbrk.op): Likewise.
1881 (CFLAGS-brk.o): Likewise.
1882 (CFLAGS-brk.op): Likewise.
1883 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1884 (CFLAGS-wordcopy.c): Likewise.
1885
1886 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1887
1888 [BZ #7065]
1889 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1890 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1891 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1892 (__ifunc_resolver): Use it.
1893 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1894 inhibit_stack_protector.
1895 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1896 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1897 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1898 (foo_protected_ifunc): Likewise.
1899 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1900 (foo_protected_ifunc): Likewise.
1901 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1902 * sysdeps/nacl/nacl_interface_query.c
1903 (nacl_interface_query_ifunc): Likewise.
1904 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1905 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1906 Likewise.
1907 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1908 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1909 the generated vDSO syscall resolver.
1910
1911 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1912 Florian Weimer <fweimer@redhat.com>
1913
1914 [BZ #7065]
1915 Initialize the stack guard earlier when linking statically.
1916 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1917 (__pthread_initialize_minimal): Declare.
1918 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1919 declaration.
1920 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1921 stack canary and apply_irel initialization up. Call
1922 __pthread_initialize_minimal only if linked in.
1923 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1924 constant values.
1925 (__pthread_initialize_minimal): Remove.
1926 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1927 (__pthread_initialize_minimal_internal): Do not call
1928 __libc_setup_tls.
1929
1930 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1931
1932 [BZ #7065]
1933 * configure.ac (libc_cv_ssp): Move up.
1934 (libc_cv_ssp_strong): Likewise.
1935 (libc_cv_ssp_all): New.
1936 (stack_protector): Augment, adding -fstack-protector-all.
1937 (no_stack_protector): New.
1938 (STACK_PROTECTOR_LEVEL): New.
1939 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1940 * manual/install.texi (--enable-stack-protector): Document it.
1941 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1942
1943 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1944
1945 * README.pretty-printers: Must specify CPPFLAGS-* also.
1946 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1947 (CPPFLAGS-test-mutex-printers.c): Define.
1948 (CPPFLAGS-test-condattr-printers.c): Define.
1949 (CPPFLAGS-test-cond-printers.c): Define.
1950 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1951 (CPPFLAGS-test-rwlock-printers.c): Define.
1952
1953 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1954 (tests): Add tst-cancel-getpwuid_r.
1955 * nss/tst-cancel-getpwuid_r.c: New file.
1956
1957 [BZ #11941]
1958 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1959 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1960 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1961 tst-nodelete-dlclose.
1962 (modules-names): Add tst-nodelete-dlclose-dso and
1963 tst-nodelete-dlclose-plugin.
1964 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1965 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1966 ($(objpfx)tst-nodelete-dlclose): Define.
1967 ($(objpfx)tst-nodelete-dlclose.out): Define.
1968
1969 2016-12-23 Florian Weimer <fweimer@redhat.com>
1970
1971 * scripts/test_printers_common.py: Log GDB output in case of
1972 Python detection failure.
1973
1974 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1975
1976 * configure.ac: Check for python3 or python.
1977 * configure: Regenerated.
1978 * config.make.in (PYTHON): New variable.
1979 * benchtests/Makefile: Don't define PYTHON.
1980 (bench): Define target only if PYTHON was defined.
1981 * Rules: Don't define PYTHON.
1982 Define pretty printer targets only if PYTHON was defined.
1983 (tests-printers): Add to tests-unsupported if PYTHON is not
1984 found.
1985 (python-flags, python-invoke): Remove.
1986 (tests-printers-out): Use PYTHON instead of python-invoke.
1987
1988 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1989
1990 [BZ #20978]
1991 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1992 Compare name == NULL, not name != NULL.
1993
1994 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1995 trailing whitespace removed.
1996 * scripts/config.guess: Update to version 2016-10-02.
1997 * scripts/config.sub: Update to version 2016-11-19.
1998 * scripts/install-sh: Update to version 2016-01-11.22.
1999 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2000 * scripts/move-if-change: Update to version 2016-01-11 22:04.
2001
2002 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2003
2004 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2005 (do_one_test) Restore original string so iteration works.
2006 * string/string-inlines.c (do_test): Create better input strings.
2007 (test_main) Reduce number of testruns.
2008 * string/string-inlines.c (__old_strsep_1c): New function.
2009 (__old_strsep_2c): Likewise.
2010 (__old_strsep_3c): Likewise.
2011 * string/strsep.c (__strsep): Remove case of small delim string.
2012 Call strcspn directly rather than strpbrk.
2013 * string/bits/string2.h (__strsep): Remove define.
2014 (__strsep_1c): Remove.
2015 (__strsep_2c): Remove.
2016 (__strsep_3c): Remove.
2017 (strsep): Remove.
2018 * sysdeps/unix/sysv/linux/internal_statvfs.c
2019 (__statvfs_getflags): Rename to __strsep.
2020
2021 2016-12-21 Florian Weimer <fweimer@redhat.com>
2022
2023 * csu/libc-tls.c (_dl_tls_setup): Remove.
2024 * elf/dl-tls.c (_dl_tls_setup): Likewise.
2025 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2026 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2027
2028 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2029
2030 [BZ #7065]
2031 * sysdeps/x86_64/Makefile [$(subdir) = elf]
2032 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2033
2034 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2035 Florian Weimer <fweimer@redhat.com>
2036
2037 [BZ #7065]
2038 * csu/Makefile (tests): Empty assignment and document it.
2039 (tests-static): Remove.
2040 * csu/tst-empty.c: Move to...
2041 * misc/tst-empty.c: ... here. Switch to new test driver.
2042 * csu/tst-atomic.c: Move to...
2043 * misc/tst-atomic.c: ... here. Switch to new test driver.
2044 * csu/tst-atomic-long.c: Move to...
2045 * misc/tst-atomic-long.c: ... here.
2046 * misc/Makefile (tests): Add tst-empty, tst-atomic,
2047 tst-atomic-long.
2048 (tests-static): Add tst-empty.
2049
2050 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
2051
2052 * manual/nss.texi: Change incorrect @vtable to @table.
2053 * manual/arith.texi: Convert @tables of variables to @vtables
2054 and remove unnecessary indexing.
2055 * manual/filesys.texi: Likewise.
2056 * manual/llio.texi: Likewise.
2057 * manual/memory.texi: Likewise.
2058 * manual/process.texi: Likewise.
2059 * manual/resource.texi: Likewise.
2060 * manual/search.texi: Likewise.
2061 * manual/signal.texi: Likewise.
2062 * manual/socket.texi: Likewise.
2063 * manual/stdio.texi: Likewise.
2064 * manual/sysinfo.texi: Likewise.
2065 * manual/syslog.texi: Likewise.
2066 * manual/terminal.texi: Likewise.
2067 * manual/time.texi: Likewise.
2068 * manual/users.texi: Likewise.
2069
2070 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2071
2072 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2073 (roundeven): New declaration.
2074 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2075 macro.
2076 * math/Versions (roundeven): New libm symbol at version
2077 GLIBC_2.25.
2078 (roundevenf): Likewise.
2079 (roundevenl): Likewise.
2080 * math/Makefile (libm-calls): Add s_roundevenF.
2081 * math/libm-test.inc (roundeven_test_data): New array.
2082 (roundeven_test): New function.
2083 (main): Call roundeven_test.
2084 * math/test-tgmath.c (NCALLS): Increase to 134.
2085 (F(compile_test)): Call roundeven.
2086 (F(roundeven)): New function.
2087 * manual/arith.texi (Rounding Functions): Document roundeven,
2088 roundevenf and roundevenl.
2089 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2090 * include/math.h (roundeven): Use libm_hidden_proto.
2091 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2092 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2093 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2098 roundeven.
2099 (CFLAGS-nldbl-roundeven.c): New variable.
2100 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2101 * sysdeps/nacl/libm.abilist: Update.
2102 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2103 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2104 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2105 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2106 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2107 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2108 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2109 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2110 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2111 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2112 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2113 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2115 Likewise.
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2117 Likewise.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2121 Likewise.
2122 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2123 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2124 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2128 Likewise.
2129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2132 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2133 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2134
2135 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2136
2137 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2138 preprocessor indentation inside #if.
2139
2140 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2141
2142 * math/libm-test.inc (fmt_ftostr): New function.
2143 (print_float, check_float_internal): Replace some uses of
2144 FTOSTR with uses of fmt_ftostr.
2145 (print_max_error, print_complex_max_error, print_function_ulps)
2146 (print_complex_function_ulps): Remove uses of the macros
2147 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2148 * math/test-double.h (FTOSTR): Define to strfromd.
2149 (PRINTF_EXPR): Delete.
2150 (PRINTF_XEXPR): Likewise.
2151 (PRINTF_NEXPR): Likewise.
2152 * math/test-float.h (FTOSTR): Define to strfromf.
2153 (PRINTF_EXPR): Delete.
2154 (PRINTF_XEXPR): Likewise.
2155 (PRINTF_NEXPR): Likewise.
2156 * math/test-ldouble.h (FTOSTR): Define to strfroml.
2157 (PRINTF_EXPR): Delete.
2158 (PRINTF_XEXPR): Likewise.
2159 (PRINTF_NEXPR): Likewise.
2160
2161 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2162
2163 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2164 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2165 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2166 (__lll_lock_elision): Decrement adapt_count while unlocking
2167 instead of before locking.
2168 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2169 (__lll_trylock_elision): Likewise.
2170 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2171 (__lll_unlock_elision): Likewise.
2172
2173 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2174
2175 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2176 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2177 Use __libc_tbegin_retry macro.
2178
2179 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2180
2181 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2182 Add -msoft-float.
2183 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2184 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2185 Use __libc_t* transaction macros instead of __builtin_t*.
2186 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2187 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2188
2189 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2190
2191 * sysdeps/unix/sysv/linux/s390/elision-lock.c
2192 (__lll_lock_elision): Use atomics to load / store adapt_count.
2193 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2194 (__lll_trylock_elision): Likewise.
2195
2196 2016-12-20 Florian Weimer <fweimer@redhat.com>
2197
2198 Do not require memset elimination in explicit_bzero test.
2199 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2200 (enum test_expectation): Add NO_EXPECTATIONS.
2201 (subtests): NO_EXPECTATIONS for ordinary clear.
2202 (check_test_buffer): Handle NO_EXPECTATIONS.
2203 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2204
2205 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2206
2207 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2208 (fmaxmag): New declaration.
2209 (fminmag): Likewise.
2210 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2211 macro.
2212 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2213 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2214 (fmaxmagf): Likewise.
2215 (fmaxmagl): Likewise.
2216 (fminmag): Likewise.
2217 (fminmagf): Likewise.
2218 (fminmagl): Likewise.
2219 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2220 * math/s_fmaxmag_template.c: New file.
2221 * math/s_fminmag_template.c: Likewise.
2222 * math/libm-test.inc (fmaxmag_test_data): New array.
2223 (fmaxmag_test): New function.
2224 (fminmag_test_data): New array.
2225 (fminmag_test): New function.
2226 (main): Call fmaxmag_test and fminmag_test.
2227 * math/test-tgmath.c (NCALLS): Increase to 132.
2228 (F(compile_test)): Call fmaxmag and fminmag.
2229 (F(fminmag)): New function.
2230 (F(fmaxmag)): Likewise.
2231 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2232 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2233 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2234 fminmag.
2235 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2236 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2237 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2240 and fminmag.
2241 (CFLAGS-nldbl-fmaxmag.c): New variable.
2242 (CFLAGS-nldbl-fminmag.c): Likewise.
2243 * sysdeps/nacl/libm.abilist: Update.
2244 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2245 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2246 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2247 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2248 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2249 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2250 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2251 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2252 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2253 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2254 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2255 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2257 Likewise.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2259 Likewise.
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2261 Likewise.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2263 Likewise.
2264 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2265 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2266 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2267 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2268 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2270 Likewise.
2271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2272 Likewise.
2273 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2274 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2275 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2276
2277 2016-12-19 Torvald Riegel <triegel@redhat.com>
2278
2279 [BZ #20973]
2280 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2281 wake-up in robust mutexes.
2282 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2283
2284 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2285
2286 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2287 (CFLAGS-bench-fmaxf.c): New rule.
2288 (CFLAGS-bench-fminf.c): Likewise.
2289 * benchtests/fmaxf-inputs: New file.
2290 * benchtests/fminf-inputs: Likewise.
2291
2292 * benchtests/Makefile (bench-math): Add fmin and fmax.
2293 (CFLAGS-bench-fmax.c): New rule.
2294 (CFLAGS-bench-fmin.c): Likewise.
2295 * benchtests/fmax-inputs: New file.
2296 * benchtests/fmin-inputs: Likewise.
2297
2298 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2299 parenthesis.
2300 (CMDLINE_PROCESS): Define using function instead of macro.
2301 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2302 of test-skeleton.
2303 * benchtests/bench-memchr.c: Likewise.
2304 * benchtests/bench-memcmp.c: Likewise.
2305 * benchtests/bench-memcpy-large.c: Likewise.
2306 * benchtests/bench-memcpy.c: Likewise.
2307 * benchtests/bench-memmem.c: Likewise.
2308 * benchtests/bench-memmove-large.c: Likewise.
2309 * benchtests/bench-memmove.c: Likewise.
2310 * benchtests/bench-memset-large.c: Likewise.
2311 * benchtests/bench-memset.c: Likewise.
2312 * benchtests/bench-rawmemchr.c: Likewise.
2313 * benchtests/bench-strcasecmp.c: Likewise.
2314 * benchtests/bench-strcasestr.c: Likewise.
2315 * benchtests/bench-strcat.c: Likewise.
2316 * benchtests/bench-strchr.c: Likewise.
2317 * benchtests/bench-strcmp.c: Likewise.
2318 * benchtests/bench-strcpy.c: Likewise.
2319 * benchtests/bench-strcpy_chk.c: Likewise.
2320 * benchtests/bench-strlen.c: Likewise.
2321 * benchtests/bench-strncasecmp.c: Likewise.
2322 * benchtests/bench-strncmp.c: Likewise.
2323 * benchtests/bench-strncpy.c: Likewise.
2324 * benchtests/bench-strnlen.c: Likewise.
2325 * benchtests/bench-strpbrk.c: Likewise.
2326 * benchtests/bench-strrchr.c: Likewise.
2327 * benchtests/bench-strsep.c: Likewise.
2328 * benchtests/bench-strspn.c: Likewise.
2329 * benchtests/bench-strstr.c: Likewise.
2330 * benchtests/bench-strtok.c: Likewise.
2331
2332 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2333
2334 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2335 stepping identification.
2336 (init_cpu_features): Add handle of Haswell.
2337
2338 2016-11-25 Jim Meyering <meyering@fb.com>
2339
2340 [BZ #20386]
2341 Let gcc detect assert(a = 1) errors.
2342 * assert/assert.h (assert): Rewrite, retaining the old definintion
2343 when required, but otherwise putting the expression as-is in an "if"
2344 expression (hence, with no added parentheses) within a statement
2345 expression.
2346
2347 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2348
2349 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2350 DSO.
2351
2352 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2353
2354 * Rules (python-flags, python-invoke): New.
2355 ($(test-printers-out)): Use $(python-flags).
2356
2357 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2358
2359 * manual/arith.texi (Math Error Reporting): Document that sNaN
2360 arguments are not considered domain errors.
2361
2362 2016-12-16 Zack Weinberg <zackw@panix.com>
2363 Florian Weimer <fweimer@redhat.com>
2364 Nick Mathewson <nickm@torproject.org>
2365
2366 * string/explicit_bzero.c: New routine.
2367 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2368 * string/Makefile (routines, strop-tests, tests): Add them.
2369 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2370 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2371
2372 * debug/explicit_bzero_chk.c: New routine.
2373 * debug/Makefile (routines): Add it.
2374 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2375 * string/bits/string3.h: Fortify explicit_bzero.
2376
2377 * manual/string.texi: Document explicit_bzero.
2378 * NEWS: Mention addition of explicit_bzero.
2379
2380 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2381 data before returning, using explicit_bzero.
2382 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2383 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2384 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2385
2386 * include/string.h: Redirect internal uses of explicit_bzero
2387 to __explicit_bzero_chk[_internal].
2388 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2389 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2390 * sysdeps/arm/nacl/libc.abilist
2391 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2392 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2393 * sysdeps/unix/sysv/linux/arm/libc.abilist
2394 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2395 * sysdeps/unix/sysv/linux/i386/libc.abilist
2396 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2397 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2398 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2399 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2400 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2401 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2402 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2403 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2404 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2410 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2411 * sysdeps/unix/sysv/linux/sh/libc.abilist
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2413 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2416 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2417 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2418 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2419 Add entries for explicit_bzero and __explicit_bzero_chk.
2420
2421 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2422
2423 * math/fenv.h
2424 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2425 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2426 * math/test-fe-snans-always-signal.c: New file.
2427 * math/Makefile (tests): Add test-fe-snans-always-signal.
2428 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2429 * manual/arith.texi (Infinity and NaN): Document
2430 FE_SNANS_ALWAYS_SIGNAL.
2431
2432 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2433
2434 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2435 bracket.
2436
2437 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2438
2439 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2440 before calling execv.
2441
2442 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2443
2444 [BZ# 20971]
2445 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2446 overflow in pointer addition.
2447 * string/test-memchr.c (do_test): Add an argument to pass as
2448 the size on memchr.
2449 (test_main): Add check for SIZE_MAX.
2450
2451 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2452
2453 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2454 (libm-calls): Add w_scalblnF.
2455 * math/w_scalbln.c: Remove.
2456 * math/w_scalblnf.c: Likewise.
2457 * math/w_scalblnl.c: Likewise.
2458 * math/w_scalbln_template.c: New file with type-generic
2459 implementation based on math/w_scalbln.c.
2460 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2461 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2462
2463 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2464
2465 [BZ #20947]
2466 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2467 either is a signaling NaN.
2468 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2469 follow fmaxl more closely.
2470 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2471 when either is a signaling NaN.
2472 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2473 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2474 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2475 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2476 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2477 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2478 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2479 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2480 (fmin_test_data): Likewise.
2481
2482 2016-12-15 Andreas Schwab <schwab@suse.de>
2483
2484 * support/support_test_main.c (support_test_main): Don't shadow
2485 file-local variable test_pid.
2486
2487 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2488
2489 [BZ #20947]
2490 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2491 either is a signaling NaN.
2492 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2493
2494 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2495
2496 [BZ #20947]
2497 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2498 when either is a signaling NaN.
2499 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2500
2501 * bits/long-double.h: New file.
2502 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2503 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2504 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2505 * sysdeps/mips/bits/long-double.h: Likewise.
2506 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2507 * math/Makefile (headers): Add bits/long-double.h.
2508 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2509 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2510 <bits/wordsize.h>.
2511 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2512 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2513 * math/math.h: Do not include <bits/mathdef.h>.
2514 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2515 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2516 inclusion.
2517 * sysdeps/ia64/bits/mathdef.h: Remove file.
2518 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2519 * sysdeps/mips/bits/mathdef.h: Likewise.
2520 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2521 * sysdeps/s390/bits/mathdef.h: Likewise.
2522 * sysdeps/sparc/bits/mathdef.h: Likewise.
2523 * sysdeps/x86/bits/mathdef.h: Likewise.
2524 * sysdeps/s390/s390-32/bits/wordsize.h
2525 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2526 conditional code.
2527 * sysdeps/s390/s390-64/bits/wordsize.h
2528 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2529 Likewise.
2530 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2531 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2532 Likewise.
2533 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2534 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2535 Likewise.
2536 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2537 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2538 Likewise.
2539
2540 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2541 <linux/falloc.h>.
2542 (FALLOC_FL_KEEP_SIZE): Remove.
2543 (FALLOC_FL_PUNCH_HOLE): Likewise.
2544 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2545 (FALLOC_FL_ZERO_RANGE): Likewise.
2546
2547 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2548
2549 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2550
2551 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2552
2553 * sysdeps/unix/sysv/linux/renameat.c: New file.
2554 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2555
2556 * sysdeps/unix/sysv/linux/rename.c: New file.
2557 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2558
2559 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2560
2561 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2562 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2563 * string/strtok_r.c (__strtok_r): Optimize for performance.
2564 * string/string-inlines.c (__old_strtok_r_1c): New function.
2565 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2566
2567 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2568
2569 * math/Makefile (gen-libm-calls): Add w_log1pF.
2570 (libm-calls): Remove w_log1pF.
2571 * math/w_log1p.c: Remove.
2572 * math/w_log1pf.c: Likewise.
2573 * math/w_log1pl.c: Likewise.
2574 * math/w_log1p_template.c: New file with type-generic
2575 implementation based on math/w_log1p.c.
2576 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2577 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2578
2579 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2580
2581 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2582
2583 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2584
2585 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2586 kernel version to 4.9.
2587
2588 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2589
2590 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2591 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2592
2593 2016-12-13 Andreas Schwab <schwab@suse.de>
2594
2595 * sysdeps/powerpc/dl-procinfo.c: Don't define
2596 _dl_powerpc_platforms.
2597 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2598 constants instead of referencing _dl_powerpc_platforms.
2599 (_dl_platform_string): Remove.
2600
2601 2016-12-13 Florian Weimer <fweimer@redhat.com>
2602
2603 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2604
2605 2016-12-13 Florian Weimer <fweimer@redhat.com>
2606
2607 * Rules (binaries-shared-tests, binaries-pie-tests)
2608 (binaries-static-tests): Link with $(link-extra-libs-tests).
2609 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2610 Remove $(link-extra-libs-tests).
2611
2612 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2613
2614 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2615 (sysdep_routines): Add strncmp_power9.
2616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2617 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2618 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2619 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2620 (strncmp): Add __strncmp_power9 to ifunc list.
2621 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2622
2623 2016-12-12 Florian Weimer <fweimer@redhat.com>
2624
2625 [BZ #17252]
2626 Add getentropy, getrandom.
2627 * stdlib/sys/random.h: New file.
2628 (headers): Add it.
2629 * stdlib/Makefile (routines): Add getentropy, getrandom.
2630 (tests): Add tst-getrandom.
2631 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2632 * stdlib/getentropy.c: New file.
2633 * stdlib/getrandom.c: Likewise.
2634 * stdlib/tst-getrandom.c: Likewise.
2635 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2636 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2637 * manual/crypt.texi (Unpredictable Bytes): New section.
2638 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2639 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2640 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2641 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2642 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2643 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2644 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2645 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2646 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2647 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2648 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2649 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2650 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2651 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2652 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2653 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2655 Likewise.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2657 Likewise.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2662 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2663 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2664 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2667 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2668 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2669 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2670
2671 2016-12-10 Florian Weimer <fweimer@redhat.com>
2672
2673 [BZ #20956]
2674 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2675 as additional compiler barriers.
2676 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2677 (fn2, do_test): Declare with external linkage.
2678 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2679 (do_test): Declare with external linkage.
2680 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2681 (do_test): Declare with external linkage.
2682 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2683 (do_test): Declare with external linkage.
2684
2685 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2686
2687 * support/support_test_main.c (support_test_main): Use correct
2688 timeout.
2689
2690 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2691 Florian Weimer <fweimer@redhat.com>
2692
2693 [BZ #16421]
2694 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2695 and __u6_addr32 members.
2696 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2697 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2698 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2699 Use __u6_addr32.
2700 * inet/tst-checks.c: Use <support/test-driver.c>
2701 * inet/tst-checks-posix.c: New file.
2702 * inet/Makefile (tests): Add it.
2703 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2704
2705 2016-12-09 Florian Weimer <fweimer@redhat.com>
2706
2707 New subdirectory support for build and test infrastructure.
2708 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
2709 setting install-lib.
2710 * Makeconfig (link-extra-libs-tests): Define.
2711 (+link-pie-tests, +link-static-tests, +link-tests): Use
2712 link-extra-libs-tests.
2713 (rpath-dirs, all-subdirs): Add support.
2714 (built-modules): Add libsupport.
2715 (libsupport): Define.
2716 * support: New directory.
2717 * support/Makefile: New file.
2718 * support/check.c: Likewise.
2719 * support/check.h: Likewise.
2720 * support/delayed_exit.c: Likewise.
2721 * support/ignore_stderr.c: Likewise.
2722 * support/oom_error.c: Likewise.
2723 * support/set_fortify_handler.c: Likewise.
2724 * support/support.h: Likewise.
2725 * support/temp_file-internal.h: Likewise.
2726 * support/temp_file.c: Likewise.
2727 * support/test-driver.c: Likewise.
2728 * support/test-driver.h: Likewise.
2729 * support/test_main.c: Likewise.
2730 * support/write_message.c: Likewise.
2731 * support/xasprintf.c: Likewise.
2732 * support/xcalloc.c: Likewise.
2733 * support/xmalloc.c: Likewise.
2734 * support/xpthread_barrier_destroy.c: Likewise.
2735 * support/xpthread_barrier_init.c: Likewise.
2736 * support/xpthread_barrier_wait.c: Likewise.
2737 * support/xpthread_cancel.c: Likewise.
2738 * support/xpthread_check_return.c: Likewise.
2739 * support/xpthread_cond_wait.c: Likewise.
2740 * support/xpthread_create.c: Likewise.
2741 * support/xpthread_detach.c: Likewise.
2742 * support/xpthread_join.c: Likewise.
2743 * support/xpthread_mutex_lock.c: Likewise.
2744 * support/xpthread_mutex_unlock.c: Likewise.
2745 * support/xpthread_sigmask.c: Likewise.
2746 * support/xpthread_spin_lock.c: Likewise.
2747 * support/xpthread_spin_unlock.c: Likewise.
2748 * support/xrealloc.c: Likewise.
2749 * support/xsignal.h: Likewise.
2750 * support/xthread.h: Likewise.
2751 * support_tempfile.h: Likewise.
2752 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2753 (TEST_DATA_LIMIT): Remove unused macro.
2754 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2755 <support/check.h>.
2756 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2757 (ignore_stderr, set_fortify_handler): Remove. Now in
2758 <support/support.h>.
2759 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2760 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2761 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2762 (xpthread_join): Remove. Now in <support/xthread.h>.
2763 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2764 Introduce legacy wrappers.
2765 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2766 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2767 (write_message): Remove.
2768 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2769 test-skeleton.c.
2770 * io/test-open-tmpfile: Likewise.
2771 * io/tst-posix_fallocate-common.c: Likewise.
2772 * libio/tst-fseek.c: Likewise.
2773 * malloc/tst-malloc-backtrace.c: Likewise.
2774 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2775 * malloc/tst-malloc-thread-exit.c: Likewise.
2776 * nptl/tst-cancel7.c: Likewise.
2777 * nptl/tst-cleanup0.c: Likewise.
2778 * posix/tst-posix_fadvise-common.c: Likewise.
2779 * rt/tst-shm.c: Likewise.
2780 * time/bug-getdate1.c: Likewise.
2781 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2782 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2783 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2784
2785 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2786
2787 * Rules [$(run-built-tests) != no] (tests-expected): Add
2788 $(tests-printers).
2789 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2790
2791 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2792
2793 [BZ #20539]
2794 * math/Makefile (install-lib-ldscripts): Add libm.a.
2795 (install_subdir): Remove.
2796 (install-others): Add.
2797 ($(inst_libdir)/libm.a): Add rule for installation as
2798 linker script.
2799 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2800
2801 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2802
2803 * INSTALL: Regenerated.
2804 * Makeconfig: Add comments and whitespace to make the control flow
2805 clearer.
2806 (+link-printers-tests, +link-pie-printers-tests,
2807 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2808 built-rtld-LDFLAGS, link-libc-rpath,
2809 link-libc-tests-after-rpath-link,
2810 link-libc-printers-tests): New.
2811 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2812 link-libc-tests): Use the new variables as required.
2813 * Makerules ($(py-const)): New rule.
2814 generated: Add $(py-const).
2815 * README.pretty-printers: New file.
2816 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2817 (others): Depend on $(py-const).
2818 (tests): Depend on $(tests-printers-programs) or
2819 $(tests-printers-out),
2820 as required. Pass $(tests-printers) to merge-test-results.sh.
2821 * manual/install.texi: Add requirements for testing the pretty
2822 printers.
2823 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2824 tests-printers, CFLAGS-test-mutexattr-printers.c
2825 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2826 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2827 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2828 * nptl/nptl-printers.py: New file.
2829 * nptl/nptl_lock_constants.pysym: Likewise.
2830 * nptl/test-cond-printers.c: Likewise.
2831 * nptl/test-cond-printers.py: Likewise.
2832 * nptl/test-condattr-printers.c: Likewise.
2833 * nptl/test-condattr-printers.py: Likewise.
2834 * nptl/test-mutex-printers.c: Likewise.
2835 * nptl/test-mutex-printers.py: Likewise.
2836 * nptl/test-mutexattr-printers.c: Likewise.
2837 * nptl/test-mutexattr-printers.py: Likewise.
2838 * nptl/test-rwlock-printers.c: Likewise.
2839 * nptl/test-rwlock-printers.py: Likewise.
2840 * nptl/test-rwlockattr-printers.c: Likewise.
2841 * nptl/test-rwlockattr-printers.py: Likewise.
2842 * scripts/gen-py-const.awk: Likewise.
2843 * scripts/test_printers_common.py: Likewise.
2844 * scripts/test_printers_exceptions.py: Likewise.
2845
2846 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2847
2848 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2849 argument.
2850 (Glibc.build_glibc): Strip installed shared libraries if
2851 requested.
2852 (get_parser): Add --strip option.
2853 (main): Update Context call.
2854
2855 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2856 Dominik Vogt <vogt@linux.vnet.ibm.com>
2857
2858 [BZ #20847]
2859 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2860 array bounds for else branch.
2861 (__execvpe): Style fixes.
2862 * posix/tst-vfork3.c (run_script): New function.
2863 (create_script): Likewise.
2864 (do_test): Use run_script internal function.
2865 (do_prepare): Use create_script internal function.
2866
2867 2016-12-07 Andreas Schwab <schwab@suse.de>
2868
2869 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2870 (__elision_available): Don't declare.
2871 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2872 (__elision_available): Don't define.
2873 (elision_init): Don't set __elision_available.
2874
2875 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2876
2877 [BZ #20940]
2878 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2879 return Inf for arguments Inf and sNaN.
2880 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2881 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2882 Likewise.
2883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2884 Likewise.
2885 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2886 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2887 for arguments Inf and sNaN. When returning a NaN, compute it by
2888 arithmetic on the arguments.
2889 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2890 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2891 arguments.
2892
2893 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2894
2895 [BZ #20916]
2896 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2897 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2898 to compute result.
2899 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2900 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2901
2902 2016-12-05 Torvald Riegel <triegel@redhat.com>
2903
2904 * include/atomic.h (__atomic_check_size_ls): New.
2905 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2906 atomic_store_release): Use it.
2907 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2908 (elision_adapt, ELIDE_LOCK): Use atomics.
2909 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2910 atomics and improve code comments.
2911 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2912 (__lll_trylock_elision): Likewise.
2913
2914 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2915
2916 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2917 programs.
2918
2919 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #20916]
2922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2923 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2924 arguments to compute result.
2925 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2926 1 for arguments (sNaN, 0) or (1, sNaN).
2927 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2929
2930 [BZ #20919]
2931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2932 NaN first argument when raised to power 0.
2933 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2934 raising to power zero.
2935 * math/w_powf.c (__powf): Likewise.
2936 * math/w_powl.c (__powl): Likewise.
2937 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2938 pow (0, 0) or pow (NaN, 0).
2939
2940 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2941
2942 [BZ #20918]
2943 * configure.ac: Test for static NSS cryptographic libraries and set
2944 libc_cv_static_nss_crypt.
2945 * configure: Regenerate.
2946 * config.make.in (static-nss-crypt): Define.
2947 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2948 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2949 (CFLAGS-tst-linkall-static.c): Define.
2950 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2951 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2952 ($(objpfx)tst-linkall-static): Define.
2953 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2954 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2955
2956 2016-12-02 Florian Weimer <fweimer@redhat.com>
2957
2958 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2959 (one-hundred, tst-tls-many-dynamic-modules): Define.
2960 (modules-names): Add $(tst-tls-many-dynamic-modules).
2961 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2962 macros.
2963 (tst-tls-manydynamic): Link against libdl, libpthread.
2964 (tst-tls-manydynamic.out): The test needs the test modules at run
2965 time.
2966 * elf/tst-tls-manydynamic.c: New file.
2967 * elf/tst-tls-manydynamic.h: Likewise.
2968 * elf/tst-tls-manydynamicmod.c: Likewise.
2969
2970 2016-12-02 Florian Weimer <fweimer@redhat.com>
2971
2972 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2973 (TLS_DTV_UNALLOCATED): Add.
2974 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2975 offsets.
2976
2977 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2978
2979 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2980
2981 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2982
2983 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2984 Add -fno-optimize-sibling-calls.
2985
2986 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2987
2988 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2989 New declaration.
2990 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2991 macro.
2992 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2993 New macro.
2994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2995 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2996 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2997 (llogbf): Likewise.
2998 (llogbl): Likewise.
2999 * math/Makefile (gen-libm-calls): Add w_llogbF.
3000 (tests): Add test-fp-llogb-constants.
3001 * math/w_llogb_template.c: New file. Based on
3002 math/w_ilogb_template.c.
3003 * math/libm-test.inc (llogb_test_data): New array.
3004 (llogb_test): New function.
3005 (main): Call llogb_test.
3006 * math/test-fp-llogb-constants.c: New file. Based on
3007 math/test-fp-ilogb-constants.c.
3008 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3009 (do_test): Call check_return_llogb.
3010 * math/test-tgmath.c (NCALLS): Increase to 126.
3011 (F(compile_test)): Call llogb.
3012 (F(llogb)): New function.
3013 * manual/math.texi (Exponents and Logarithms): Document llogb,
3014 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3015 * manual/libm-err-tab.pl (@all_functions): Add llogb.
3016 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3017 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3018 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3019 (CFLAGS-nldbl-llogb.c): New variable.
3020 * sysdeps/nacl/libm.abilist: Update.
3021 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3022 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3023 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3024 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3025 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3026 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3027 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3028 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3029 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3030 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3031 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3032 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3036 Likewise.
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3038 Likewise.
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3040 Likewise.
3041 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3042 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3044 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3047 Likewise.
3048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3049 Likewise.
3050 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3051 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3052 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3053
3054 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3055
3056 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3057 _Float128 instead of long double.
3058 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3059
3060 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3061 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3062 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3063 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3064 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3065 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3066 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3067 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3069 Likewise.
3070
3071 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3072
3073 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3074 Remove redirection to __strrchr_ppc.
3075
3076 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3077
3078 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3079 (sysdep_routines): Add strcmp_power9.
3080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3081 (strcmp): Add __strcmp_power9 to list of strcmp functions.
3082 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3083 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3084 (strcmp): Add __strcmp_power9 to ifunc list.
3085 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3086
3087 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3088
3089 * bits/fp-logb.h: New file.
3090 * sysdeps/ia64/bits/fp-logb.h: Likewise.
3091 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3092 * sysdeps/x86/bits/fp-logb.h: Likewise.
3093 * math/Makefile (headers): Add bits/fp-logb.h.
3094 * math/math.h: Include <bits/fp-logb.h>.
3095 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3096 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3097 * bits/mathdef.h (FP_ILOGB0): Remove.
3098 (FP_ILOGBNAN): Likewise.
3099 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3100 (FP_ILOGBNAN): Likewise.
3101 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3102 (FP_ILOGBNAN): Likewise.
3103 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3104 (FP_ILOGBNAN): Likewise.
3105 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3106 (FP_ILOGBNAN): Likewise.
3107 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3108 (FP_ILOGBNAN): Likewise.
3109 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3110 (FP_ILOGBNAN): Likewise.
3111 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3112 (FP_ILOGBNAN): Likewise.
3113 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3114 (FP_ILOGBNAN): Likewise.
3115 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3116 (FP_ILOGBNAN): Likewise.
3117
3118 * scripts/build-many-glibcs.py: Add bot to usage message. Import
3119 time module.
3120 (Context.__init__): Initialize self.logsdir_old.
3121 (Context.run_builds): Handle bot action.
3122 (Context.bot_cycle): Copy logs directory before running builds.
3123 (Context.bot_run_self): Take argument for whether to check
3124 subprocess result. Flush stdout before running subprocess.
3125 (Context.bot): New function.
3126 (get_parser): Allow bot action.
3127
3128 2016-11-30 Joseph Myers <joseph@codesourcery.com>
3129
3130 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3131 Import email.mime.text, email.utils and smtplib modules.
3132 (Context.__init__): Initialize self.bot_config_json.
3133 (Context.run_builds): Handle bot-cycle action.
3134 (Context.load_bot_config_json): New function.
3135 (Context.part_build_old): Likewise.
3136 (Context.bot_cycle): Likewise.
3137 (Context.bot_build_mail): Likewise.
3138 (Context.bot_run_self): Likewise.
3139 (get_parser): Allow bot-cycle action.
3140
3141 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3142
3143 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3144 Remove redirection to __stpcpy_ppc.
3145
3146 2016-11-30 Florian Weimer <fweimer@redhat.com>
3147
3148 Remove __libc_memalign from ld.so because it is unused.
3149 * elf/dl-minimal.c: Update comment on the malloc implementation.
3150 (malloc): Renamed from __libc_memalign, replacing the original
3151 malloc implementation. Replace the align parameter with
3152 MALLOC_ALIGNMENT.
3153 * elf/Versions (ld): Update comment and remove __libc_memalign.
3154 * sysdeps/nacl/ld.abilist: Likewise.
3155 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3156 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3157 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3158 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3159 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3160 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3161 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3162 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3163 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3164 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3165 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3166 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3167 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3171 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3172 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3173 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3174 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3175 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3178 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3179 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3180 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3181 * sysdeps/generic/localplt.data (ld.so): Likewise.
3182 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3183 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3184 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3185 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3186 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3187 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3188 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3189 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3190 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3192 (ld.so): Likewise.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3194 (ld.so): Likewise.
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3196 Likewise.
3197 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3198 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3199 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3200 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3201 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3202
3203 2016-11-30 Florian Weimer <fweimer@redhat.com>
3204
3205 [BZ #16628]
3206 Implement _dl_catch_error, _dl_signal_error in libc.so.
3207 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3208 (catch_hook): Define as thread-local or regular variable,
3209 depending on DL_ERROR_BOOTSTRAP.
3210 (CATCH_HOOK): Remove.
3211 (dl_signal_error, _dl_catch_error): Use
3212 catch_hook. Add hidden definition for libc.
3213 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
3214 for DL_ERROR_BOOTSTRAP only.
3215 * elf/dl-error.c: New file.
3216 * elf/dl-error-minimal.c: Likewise.
3217 * elf/tst-latepthread.c: Likewise.
3218 * elf/tst-latepthreadmod.c: Likewise.
3219 * elf/Makefile (routines): Add dl-error.
3220 (dl-routines): Remove dl-error.
3221 (rtld-routines): Add dl-error-minimal.
3222 [build-shared] (tests): Add tst-latepthread.
3223 (module-names): Add tst-latepthreadmod.
3224 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3225 symbol.
3226 (tst-latepthreadmod.so): Link against libpthread.
3227 (tst-latepthread): Link against libdbl.
3228 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3229 _dl_catch_error.
3230 [ld] (GLIBC_PRIVATE): Likewise.
3231 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3232 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3233 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3234 directly.
3235 * elf/dl-tsd.c: Remove file.
3236 * elf/rtld.c (_rtld_global_ro): Remove initializers for
3237 _dl_catch_error, _dl_signal_error.
3238 (_dl_initial_error_catch_tsd): Remove definition.
3239 (do_preload): Remove initialization of dl_error_catch_tsd.
3240 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3241 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3242 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3243 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3244 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3245 set dl_error_catch_tsd.
3246 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3247 _dl_error_catch_tsd member.
3248 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3249 members.
3250 (_dl_initial_error_catch_tsd): Remove declaration.
3251 (_dl_dprintf): Provide definition for use outside of ld.so.
3252 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3253 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
3254 prototype for libc.
3255 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3256 _dl_catch_error.
3257 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3258 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3259 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3260 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3261 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3262 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3263 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3264 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3265 Likewise.
3266 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3268 (ld.so): Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3270 (ld.so): Likewise.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3272 Likewise.
3273 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3274 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3275 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3276 Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3278 Likewise.
3279 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3280
3281 2016-11-30 Florian Weimer <fweimer@redhat.com>
3282
3283 [BZ #4099]
3284 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3285 _IO_BUFSIZ (8192).
3286
3287 2016-11-30 Carlos O'Donell <carlos@redhat.com>
3288
3289 * PROJECTS: Remove file.
3290
3291 2016-11-29 Florian Weimer <fweimer@redhat.com>
3292
3293 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3294
3295 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
3296 Steve Ellcey <sellcey@caviumnetworks.com>
3297
3298 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3299 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3300 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3301 fxstatat.
3302 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3303 lxstat.
3304 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3305 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3306 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3307 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3308 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3309 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3310 __xstat.
3311
3312 2016-11-29 Florian Weimer <fweimer@redhat.com>
3313
3314 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3315 Define.
3316 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3317 definition.
3318
3319 2016-11-29 Florian Weimer <fweimer@redhat.com>
3320
3321 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3322 version and turn into strong alias. Remove compat symbol.
3323
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3325 (__longjmp): Remove.
3326
3327 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3328
3329 * bits/fp-fast.h: New file.
3330 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3331 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3332 * math/Makefile (headers): Add bits/fp-fast.h.
3333 * math/math.h: Include <bits/fp-fast.h>.
3334 * bits/mathdef.h (FP_FAST_FMA): Remove.
3335 (FP_FAST_FMAF): Likewise.
3336 (FP_FAST_FMAL): Likewise.
3337 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3338 (FP_FAST_FMAF): Likewise.
3339 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3340 (FP_FAST_FMAF): Likewise.
3341 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3342 (FP_FAST_FMAF): Likewise.
3343 (FP_FAST_FMAL): Likewise.
3344 * sysdeps/arm/bits/mathdef.h: Remove file.
3345 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3346 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3347 * sysdeps/tile/bits/mathdef.h: Likewise.
3348
3349 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3350
3351 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3352 * math/w_ilogb.c: Remove.
3353 * math/w_ilogbf.c: Likewise.
3354 * math/w_ilogbl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3356 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3357 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3358 (libm-calls): Remove w_ilogbF.
3359 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3360 (LDOUBLE_ilogbl_libm_version): New macro.
3361
3362 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3363
3364 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3365 [!__STRICT_ANSI__ && !__cplusplus].
3366
3367 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 [BZ #20750]
3370 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3371 of PIC.
3372
3373 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3374 Yury Norov <ynorov@caviumnetworks.com>
3375 Steve Ellcey <sellcey@caviumnetworks.com>
3376
3377 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3378 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3379 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3380 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3381 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3382 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3383 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3384 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3385 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3386 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3387 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3388 to get correct reg name for ILP32.
3389 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3390 (RELA_SIZE): New Macro.
3391 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3392 to support ILP32.
3393 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3394 cast for ILP32 mode.
3395 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3396 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3397 * sysdeps/aarch64/memset.S (__memset): Ditto.
3398 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3399 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3400 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3401 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3402 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3403 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3404 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3405 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3406 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3407 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3408 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3409 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3410 change PTR_MANGLE call to use register numbers instead of names.
3411 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3412 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3413 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3414 * sysdeps/aarch64/start.S (_start): Ditto.
3415 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3416 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3417 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3418 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3419 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3420 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3421 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3422 Make defined values dependent on __ILP32__.
3423 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3424 (sem_t): Change __align type.
3425 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3426 PTR_SIZE): New Macros.
3427 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3428 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3429 Set when in ILP32 mode.
3430 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3431 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3432 Set elf flags for ILP32.
3433 (add_system_dir): Set ILP32 library directories.
3434 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3435 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3436 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3437 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3438 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3439 New Macros.
3440 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3441
3442 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3443
3444 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3445 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3446 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3447
3448 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3449
3450 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3451 <asm/cachectl.h>.
3452
3453 2016-11-27 Zack Weinberg <zackw@panix.com>
3454
3455 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3456 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3457
3458 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3459
3460 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3461 error_t to fix usage in C++ programs.
3462
3463 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3464
3465 * scripts/build-many-glibcs.py: Import datetime module.
3466 (Context.__init__): Load JSON build state. Initialize list of
3467 status logs.
3468 (Context.run_builds): Update saved build state.
3469 (Context.add_makefile_cmdlist): Update list of status logs.
3470 (Context.load_build_state_json): New function.
3471 (Context.store_build_state_json): Likewise.
3472 (Context.clear_last_build_state): Likewise.
3473 (Context.update_build_state): Likewise.
3474 (CommandList.status_logs): Likewise.
3475
3476 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3477
3478 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3479 script being executed.
3480 (Context.get_script_text): New function.
3481 (Context.exec_self): Likewise.
3482 (Context.checkout): Re-exec script if changed by checkout process.
3483
3484 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3485
3486 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3487 (setpayloadsig): New declaration.
3488 * math/Versions (setpayloadsig): New libm symbol at version
3489 GLIBC_2.25.
3490 (setpayloadsigf): Likewise.
3491 (setpayloadsigl): Likewise.
3492 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3493 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3494 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3495 (setpayloadsig_test_data): New array.
3496 (setpayloadsig_test): New function.
3497 (main): Call setpayloadsig_test.
3498 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3499 setpayloadsigf and setpayloadsigl.
3500 * manual/libm-err-tab.pl: Update comment on interfaces without
3501 ulps tabulated.
3502 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3503 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3504 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3505 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3507 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3508 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3509 setpayloadsig.
3510 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3511 * sysdeps/nacl/libm.abilist: Update.
3512 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3513 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3514 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3515 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3516 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3517 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3518 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3519 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3520 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3521 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3522 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3523 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3525 Likewise.
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3527 Likewise.
3528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3529 Likewise.
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3531 Likewise.
3532 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3533 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3534 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3536 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3538 Likewise.
3539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3540 Likewise.
3541 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3542 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3543 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3544
3545 * scripts/build-many-glibcs.py: Import json module.
3546 (Context.__init__): Take replace_sources argument. Load
3547 versions.json.
3548 (Context.load_versions_json): New function.
3549 (Context.store_json): Likewise.
3550 (Context.store_versions_json): Likewise.
3551 (Context.set_component_version): Likewise.
3552 (Context.checkout): Update versions.json. Check for and handle
3553 changes of version. Prefer previously explicitly specified
3554 version to default version.
3555 (Context.checkout_vcs): Return a revision identifier.
3556 (Context.git_checkout): Likewise.
3557 (Context.gcc_checkout): Likewise.
3558 (get_parser): Add --replace-sources option.
3559 (main): Pass replace_sources argument to Context call.
3560
3561 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3562
3563 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3564 * nptl/allocatestack.c (allocate_stack): Likewise.
3565 (__reclaim_stacks): Likewise.
3566 (setxid_signal_thread): Obtain pid through syscall.
3567 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3568 (sighandle_setxid): Likewise.
3569 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3570 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3571 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3572 Likewise.
3573 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3574 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3575 comment.
3576 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3577 * nptl/descr.h (struct pthread): Change comment about pid value.
3578 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3579 pid assert.
3580 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3581 Do not set pid value.
3582 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3583 pid cache check.
3584 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3585 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3586 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3587 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3588 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3589 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3590 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3591 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3592 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3593 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3594 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3595 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3596 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3597 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3598 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3599 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3600 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3601 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3602 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3603 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3604 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3605 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3606 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3607 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3608 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3611 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3612 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3613 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3614 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3616 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3617 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3618 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3619 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3620 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3621 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3622 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3623 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3624 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3625 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3626 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3629 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3630 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3631 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3632 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3633 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3634 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3635 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3636 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3637 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3638 struct access.
3639 (clone_test): Remove function.
3640 (do_test): Rewrite to take in consideration pid is not cached anymore.
3641
3642 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3643
3644 * bits/flt-eval-method.h: New file.
3645 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3646 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3647 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3648 * math/Makefile (headers): Add bits/flt-eval-method.h.
3649 * math/math.h: Include <bits/flt-eval-method.h>.
3650 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3651 [__USE_ISOC99] (double_t): Likewise.
3652 * bits/mathdef.h (float_t): Remove.
3653 (double_t): Likewise.
3654 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3655 (double_t): Likewise.
3656 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3657 (double_t): Likewise.
3658 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3659 (double_t): Likewise.
3660 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3661 (double_t): Likewise.
3662 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3663 (double_t): Likewise.
3664 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3665 (double_t): Likewise.
3666 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3667 (double_t): Likewise.
3668 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3669 (double_t): Likewise.
3670 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3671 (double_t): Likewise.
3672 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3673 (double_t): Likewise.
3674 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3675 (double_t): Likewise.
3676 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3677 (double_t): Likewise.
3678 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3679 (double_t): Likewise.
3680
3681 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3682
3683 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3684 instead of PIC.
3685
3686 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3687
3688 [BZ #20859]
3689 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3690 (-0x7fffffff) instead of 0x80000001.
3691 * math/test-fp-ilogb-constants.c: New file.
3692 * math/Makefile (tests): Add test-fp-ilogb-constants.
3693
3694 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3695
3696 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3697 (_init): Use it in place of hardcoded R_MIPS_JALR.
3698 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3699 (_init): Use it in place of hardcoded R_MIPS_JALR.
3700 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3701 (_init): Use it in place of hardcoded R_MIPS_JALR.
3702
3703 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3704
3705 [BZ #20787]
3706 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3707 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3708 (double_t): Do not define to double if [__x86_64__] when
3709 __FLT_EVAL_METHOD__ is nonzero.
3710 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3711 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3712 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3713 test-flt-eval-method-387 and test-flt-eval-method-sse.
3714 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3715 variable.
3716 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3717
3718 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
3719
3720 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3721 use of -fno-isolate-erroneous-paths options for tilepro.
3722
3723 2016-11-23 Florian Weimer <fweimer@redhat.com>
3724
3725 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3726 structure initialization is no longer needed.
3727
3728 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3729
3730 [BZ #20855]
3731 * bits/mathdef.h (float_t): Define to float.
3732 * math/test-flt-eval-method.c: New file.
3733 * math/Makefile (tests): Add test-flt-eval-method.
3734 (CFLAGS-test-flt-eval-method.c): New variable.
3735
3736 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
3737
3738 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3739 and __fstatfs. Make them aliases of __fstatfs64 if
3740 STATFS_IS_STATFS64 is set to non-zero.
3741 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3742 and __statfs64.
3743 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3744 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3745 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3746 for __statfs and statfs.
3747 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3748 to 0.
3749 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3750 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3751 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3752 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3753 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3754 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3757 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3758 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3759 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3760 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3761
3762 2016-11-22 Andreas Schwab <schwab@suse.de>
3763
3764 * misc/mkstemp.c: Include <fcntl.h>.
3765 * misc/mkstemps.c: Likewise.
3766 * misc/mkostemp.c: Likewise.
3767 * misc/mkostemps.c: Likewise.
3768
3769 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3770
3771 [BZ #20847]
3772 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3773 array bounds.
3774 (__execvpe): Likewise.
3775
3776 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3777
3778 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3779 -fno-isolate-erroneous-paths options for tilepro.
3780
3781 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3782
3783 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3784 to 0 when in 32 bit mode.
3785 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3786 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3787 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3788 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3790 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3791 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3792 XSTAT_IS_XSTAT64 test.
3793 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3794 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3795 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3796 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3797 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3798 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3799 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3800 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3801 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3802 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3803 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3804
3805 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3806
3807 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3808 (setpayload): New declaration.
3809 * math/Versions (setpayload): New libm symbol at version
3810 GLIBC_2.25.
3811 (setpayloadf): Likewise.
3812 (setpayloadl): Likewise.
3813 * math/Makefile (libm-calls): Add s_setpayloadF.
3814 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3815 test_Ff_b1_data.
3816 (RUN_TEST_Ff_b1): New macro.
3817 (RUN_TEST_LOOP_Ff_b1): Likewise.
3818 (canonicalize_test_data): Update type.
3819 (setpayload_test_data): New array.
3820 (setpayload_test): New function.
3821 (main): Call setpayload_test.
3822 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3823 setpayloadf and setpayloadl.
3824 * manual/libm-err-tab.pl: Update comment on interfaces without
3825 ulps tabulated.
3826 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3827 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3829 Likewise.
3830 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3831 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3836 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3838 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3839 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3840 setpayload.
3841 (CFLAGS-nldbl-setpayload.c): New variable.
3842 * sysdeps/nacl/libm.abilist: Update.
3843 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3844 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3848 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3849 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3850 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3851 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3852 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3853 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3854 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3856 Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3858 Likewise.
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3860 Likewise.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3862 Likewise.
3863 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3864 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3865 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3866 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3867 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3869 Likewise.
3870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3871 Likewise.
3872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3873 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3874 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3875
3876 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3877
3878 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3879 * include/unistd.h: Extend comment about __access_noerrno return
3880 semantics.
3881 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3882 (access_common): Correct typo for EACCES.
3883
3884 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3885
3886 * sysdeps/tile/math-tests.h: New file.
3887
3888 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3889 (__old_set_dataplane): Rename from set_dataplane and make a
3890 compatibility symbol.
3891 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3892 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3893 sys/dataplane.h.
3894
3895 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3896
3897 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3898 script quote words in command output to log suitably for input to
3899 the shell.
3900
3901 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3902 Maciej W. Rozycki <macro@imgtec.com>
3903
3904 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3905 `.Lno_weak_fn' label.
3906 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3907 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3908
3909 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3910 Yury Norov <ynorov@caviumnetworks.com>
3911
3912 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3913 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3914 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3915 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3916 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3917 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3918 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3920 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3921 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3922 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3923 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3924 (sysdep_routines): Remove oldgetrlimit64.
3925 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3926 (sysdep_routines): Likewise.
3927 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3928 (sysdep_routines): Likewise.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3930 [$(subdir) = resource] (sysdep_routines): Likewise.
3931 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3932 [$(subdir) = resource] (sysdep_routines): Likewise.
3933 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3934 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3935 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3936 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3937 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3938 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3939 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3940 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3941 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3944 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3945 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3946 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3947 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3948 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3949 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3950 setrlimit and getrlimit.
3951 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3953 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3958 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3959 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3960 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3961 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3962 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3963 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3964 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3965 (__old_getrlimit64): Add compatibility symbol.
3966 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3967
3968 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3969
3970 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3971 newly built gmp, mpfr and mpc.
3972
3973 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3974
3975 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3976
3977 * conform/Makefile (linknamespace-libs): Rename to
3978 linknamespace-libs-thr.
3979 (linknamespace-libs-posix): New variable.
3980 (linknamespace-libs-xsi): Likewise.
3981 (linknamespace-libs-XPG3): Include libcrypt.a.
3982 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3983 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3984 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3985 (linknamespace-libs-XOPEN2K): Likewise.
3986 (linknamespace-libs-XOPEN2K8): Likewise.
3987 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3988
3989 [BZ #20829]
3990 * stdio-common/Versions (__snprintf): Add to version
3991 GLIBC_PRIVATE.
3992 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3993 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3994 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3995 of snprintf.
3996 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3997
3998 2016-11-16 Zack Weinberg <zackw@panix.com>
3999
4000 * string/string.h: Remove obsolete comment stating that
4001 strcoll_l and strxfrm_l have not yet been standardized.
4002
4003 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4004
4005 * hurd/hurd.h (__hurd_fail_noerrno): New function.
4006 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4007 __access_noerrno.
4008 * io/access.c (__access_noerrno): New function.
4009 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4010 (hurd_fail_seterrno): Likewise.
4011 (access_common): Likewise.
4012 (__access_noerrno): Likewise.
4013 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4014 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4015 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4016 macro.
4017
4018 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4019
4020 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4021 Only declare fpregs if [__SH_FPU_ANY__].
4022
4023 2016-11-15 Joseph Myers <joseph@codesourcery.com>
4024
4025 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4026 Make code unconditional.
4027 [!(__SH4__ || __SH4A__)]: Remove conditional code.
4028
4029 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
4030
4031 * manual/sysinfo.texi (S_APPEND): Delete.
4032 (S_IMMUTABLE): Likewise.
4033
4034 2016-11-15 Denis Kaganovich <mahatma@eu.by>
4035 Magnus Granberg <zorry@gentoo.org>
4036 Mike Frysinger <vapier@gentoo.org>
4037
4038 [BZ #20662]
4039 * configure.ac (libc_cv_predef_stack_protector): Also check for
4040 __stack_chk_fail_local symbols.
4041 * configure: Regenerated.
4042
4043 2016-11-15 Florian Weimer <fweimer@redhat.com>
4044
4045 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4046 (libc_hidden_def): Remove redefinition.
4047 (__sigsetjmp): Add hidden definition.
4048 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4049 (libc_hidden_def): Remove redefinition.
4050 (__sigsetjmp): Add hidden definition.
4051
4052 2016-11-14 Joseph Myers <joseph@codesourcery.com>
4053
4054 * scripts/build-many-glibcs.py (os.path): Do not import.
4055 (Context): Inherit explicitly from object. Remove blank line
4056 between class and docstring.
4057 (Config): Likewise.
4058 (Glibc): Likewise.
4059 (Command): Likewise.
4060 (CommandList): Likewise.
4061 (Context.write_files): Store chmod mode in a variable.
4062
4063 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4064 LIBC_SLIBDIR_RTLDDIR for tilegx32.
4065 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4066
4067 2016-11-14 Zack Weinberg <zackw@panix.com>
4068
4069 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4070 creating or re-creating it.
4071
4072 * string/bits/string2.h: Fix typo in comment.
4073
4074 2016-11-14 Zack Weinberg <zackw@panix.com>
4075
4076 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4077 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4078 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4079 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4080 of redirected function names.
4081
4082 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4083 as well. Document that MESSAGE must be a single string literal.
4084
4085 2016-11-11 Joseph Myers <joseph@codesourcery.com>
4086
4087 * scripts/build-many-glibcs.py: New file.
4088
4089 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4090 (do_test): Disable -Wmaybe-uninitialized around uses of
4091 except_mask.
4092
4093 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4094
4095 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
4096
4097 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4098 (atomic_store_release): Provide tilepro-specific implementations.
4099
4100 2016-11-10 Joseph Myers <joseph@codesourcery.com>
4101
4102 * math/math.h (__MATH_TG): New macro.
4103 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4104 [__USE_ISOC99] (signbit): Likewise.
4105 [__USE_ISOC99] (isfinite): Likewise.
4106 [__USE_ISOC99] (isnan): Likewise.
4107 [__USE_ISOC99] (isinf): Likewise.
4108 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4109 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4110 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4111 __MATH_TG and __MATH_EVAL_FMT2.
4112 * sysdeps/generic/math_private.h (fabs_tg): Define using
4113 __MATH_TG.
4114 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4115 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4116 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4117 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4118 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4119 macro.
4120 (__iscanonical): Likewise.
4121 (iscanonical): Define using __MATH_TG.
4122
4123 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4124
4125 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4126 guards.
4127
4128 * sysdeps/unix/sysv/linux/access.c: New file.
4129 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4130
4131 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
4132
4133 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4134 and __WORDSIZE32_PTRDIFF_LONG.
4135
4136 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
4137
4138 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4139
4140 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4141
4142 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4143 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4144 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4145 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4146 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4148 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4149 * sysdeps/unix/sysv/linux/truncate.c: New file.
4150 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4151 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4152 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4153 Remove.
4154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4155 Likewise.
4156
4157 * posix/tst-truncate-common.c: New file.
4158 * posix/tst-truncate.c: Use tst-truncate-common.c.
4159 * posix/tst-truncate64.c: Likewise and add LFS tests.
4160 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4161 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4162 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4163 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4164 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4166 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4167 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4168 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4169 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4170 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4171 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4172 Remove.
4173 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4174 Likewise.
4175
4176 2016-11-08 Joseph Myers <joseph@codesourcery.com>
4177
4178 [BZ #20790]
4179 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4180 to MAXLINESIZE.
4181 * sunrpc/bug20790.x: New file.
4182 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4183 variable.
4184 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4185 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4186
4187 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4188
4189 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4190
4191 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4192 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
4193 calloc, realloc, free, memalign and __libc_memalign rather than
4194 making them optional.
4195
4196 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4197 for libc.so.
4198
4199 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4200
4201 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4202 ptw-lseek64.
4203 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4204 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
4205 Likewise.
4206 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4207 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4208 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4209 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4210 * sysdeps/unix/sysv/linux/lseek.c: New file.
4211 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4212 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4213 __libc_lseek64 from auto-generation.
4214 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4216
4217 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4218
4219 * nptl/tst-basic1.c (tf, do_test): Use write_message.
4220 * nptl/tst-cleanup1.c (do_test): Likewise.
4221 * nptl/tst-cleanup3.c (do_test): Likewise.
4222 * nptl/tst-key1.c (do_test): Likewise.
4223 * nptl/tst-key2.c (tf, do_test): Likewise.
4224 * nptl/tst-key3.c (tf, do_test): Likewise.
4225 * nptl/tst-stdio1.c (do_test): Likewise.
4226 * nptl/tst-stdio2.c (do_test): Likewise.
4227
4228 * nptl/tst-kill3.c (handler): Use write_message in place of write.
4229 * nptl/tst-kill6.c (handler): Likewise.
4230 * nptl/tst-tls2.c (CB): Likewise.
4231 * nptl/tst-tls3.c (CB): Likewise.
4232
4233 2016-11-07 Joseph Myers <joseph@codesourcery.com>
4234
4235 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4236
4237 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
4238 Steve Ellcey <sellcey@caviumnetworks.com>
4239
4240 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4241 __ASSUME_ST_INO_64_BIT as 0
4242 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4243 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4244 over the code where __ASSUME_ST_INO_64_BIT is used.
4245 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4246 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4247 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4248
4249 2016-11-07 Florian Weimer <fweimer@redhat.com>
4250
4251 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4252 Document ABI exposure of the __kind offset.
4253 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4254 Mention reason for the __kind offset exposure in the ABI.
4255 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4256 Likewise.
4257 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4258 Likewise.
4259 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4260 Likewise.
4261 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4262 (struct __pthread_mutex_s): Likewise.
4263 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4264 Likewise.
4265 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4266 Likewise.
4267 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4268 Likewise.
4269 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4270 Likewise.
4271 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4272 Likewise.
4273 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4274 Likewise.
4275 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4276 (struct __pthread_mutex_s): Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4278 (struct __pthread_mutex_s): Likewise.
4279 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4280 Likewise.
4281
4282 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
4283
4284 * test-skeleton.c: Document do_test usage.
4285
4286 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
4287
4288 * iconv/gconv.h (__gconv_info): Define __data element using a
4289 zero-length array.
4290
4291 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
4292
4293 * math/test-tgmath2.c: Split up test function.
4294
4295 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4296
4297 * Rules (tests-expected): New variable, depending on
4298 $(run-built-tests).
4299 (tests): Pass $(tests-expected) to merge-test-results.sh, not
4300 $(tests).
4301
4302 * Rules [$(run-built-tests) = no] (tests): Do not depend on
4303 $(tests-unsupported).
4304
4305 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4306
4307 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4308 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
4309
4310 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4311
4312 [BZ #20768]
4313 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4314 __fegetenv instead of fegetenv.
4315
4316 [BZ #14139]
4317 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4318 (find_files): Obtain platform name from libm-test-ulps-name and
4319 store in %pplatforms.
4320 (canonicalize_platform): Remove.
4321 (print_platforms): Use $pplatforms directly.
4322 (by_platforms): Do not allow for platforms missing from
4323 %pplatforms.
4324 * sysdeps/aarch64/libm-test-ulps-name: New file.
4325 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4326 * sysdeps/arm/libm-test-ulps-name: Likewise.
4327 * sysdeps/generic/libm-test-ulps-name: Likewise.
4328 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4329 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4330 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4331 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4332 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4333 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4334 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4335 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4336 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4337 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4338 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4339 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4340 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4341 * sysdeps/sh/libm-test-ulps-name: Likewise.
4342 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4343 * sysdeps/tile/libm-test-ulps-name: Likewise.
4344 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4345
4346 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4347
4348 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4349 (test-xfail-check-execstack): New variable.
4350
4351 * sysdeps/mips/localplt.data: New file.
4352
4353 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4354 Steve Ellcey <sellcey@caviumnetworks.com>
4355
4356 * bits/wordsize.h: Add documentation.
4357 * sysdeps/aarch64/bits/wordsize.h : New file
4358 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4359 definitions.
4360 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4361 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4362 with #if instead of #ifdef.
4363 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4364 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4365 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4366 Add or change defines.
4367 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4368 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4369 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4370 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4371 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4372 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4373 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4374 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4375 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4376 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4377 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4378 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4379 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4380 * sysdeps/x86/bits/wordsize.h: Likewise.
4381
4382 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4383 Kevin Petit <kevin.petit@arm.com>
4384
4385 * sysdeps/aarch64/memchr.S (__memchr): New file.
4386
4387 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4388
4389 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4390
4391 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4392
4393 [BZ #19398]
4394 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4395 $(linknamespace-symlists-tests).
4396
4397 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4398
4399 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4400
4401 2016-11-02 Florian Weimer <fweimer@redhat.com>
4402 Carlos O'Donell <carlos@redhat.com>
4403
4404 [Bug #20729]
4405 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4406 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4407 for -Os related change.
4408
4409 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4410
4411 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4412
4413 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4414
4415 [BZ #19673]
4416 * manual/math.texi (Exponents and Logarithms): Correct description
4417 of clog10.
4418
4419 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4420
4421 [Bz #20729]
4422 * locale/weight.h: Include libc-internal.h.
4423 * locale/weightwc.h: Likewise.
4424 * nptl/nptl_dbP.h: Likewise.
4425
4426 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4427
4428 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4429 when it is MACH_PORT_NULL.
4430
4431 2016-10-31 Andreas Schwab <schwab@suse.de>
4432
4433 [BZ #20707]
4434 * posix/glob.c (glob): Initialize pglob before checking for
4435 GLOB_BRACE. Don't call glob recursively if pattern contains no
4436 valid brace expression despite GLOB_BRACE.
4437 * posix/globtest.sh: Test it.
4438
4439 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4440
4441 [BZ #20729]
4442 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4443 Define.
4444 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4445 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4446 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4447 for seq2.back_us and seq1.back_us only for -Os compiles.
4448 * locale/weightwc.h (findix): Likewise.
4449 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4450 DB_GET_FIELD_ADDRESS only for -Os compiles.
4451 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4452 for slen only for -Os compiles.
4453 * string/strcoll_l.c (get_next_seq): Ignore
4454 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4455 for -Os compiles.
4456
4457 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4458 * include/crypt.h: New file.
4459
4460 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4461
4462 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4463 from test-skeleton.c.
4464 (statclass): Replace calls to write with calls to write_message.
4465
4466 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4467
4468 * math/math.h
4469 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4470 New macro.
4471 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4472 Likewise.
4473 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4474 Likewise.
4475 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4476 SNANL.
4477 * math/test-double.h (snan_value_MACRO): New macro.
4478 * math/test-float.h (snan_value_MACRO): Likewise.
4479 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4480 * math/libm-test.inc (issignaling_test_data): Add tests of
4481 snan_value_MACRO.
4482
4483 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4484
4485 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4486 behavior when eliding a lock not held by the current thread.
4487 * sysdeps/powerpc/nptl/elide.h: Likewise.
4488
4489 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4490
4491 [BZ #20728]
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4493 branch to _exit() by a function call.
4494
4495 2016-10-28 Florian Weimer <fweimer@redhat.com>
4496
4497 * malloc/malloc.c: Update chunk layout comments.
4498 (chunk_main_arena): Update comment.
4499
4500 2016-10-28 Florian Weimer <fweimer@redhat.com>
4501
4502 * crypt/sha256.c, crypt/sha256-block.c,
4503 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4504 sha256_process_block to __sha256_process_block.
4505 * crypt/sha512.c, crypt/sha512-block.c,
4506 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4507 sha512_process_block to __sha512_process_block.
4508
4509 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4510
4511 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4512
4513 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4514
4515 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 [BZ #20019]
4518 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4519 definition in unrelocated shared library.
4520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4521
4522 2016-10-28 Florian Weimer <fweimer@redhat.com>
4523
4524 [BZ #20729]
4525 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4526 * sysdeps/unix/sysv/linux/i386/Makefile
4527 (uses-6-syscall-arguments): Define.
4528 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4529 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4530 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4531 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4532 Likewise.
4533 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4534 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4535 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4536 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4537 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4538 (CFLAGS-fallocate64.os): Likewise.
4539 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4540 (CFLAGS-pthread_rwlock_timedrdlock.os)
4541 (CFLAGS-pthread_rwlock_timedwrlock.o)
4542 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4543 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4544 (CFLAGS-sem_timedwait.os): Likewise.
4545
4546 2016-10-28 Florian Weimer <fweimer@redhat.com>
4547
4548 * elf/tst-linkall-static.c: New file.
4549 * elf/Makefile (tests-static): Add tst-linkall-static.
4550 (tst-linkall-static): Link against static libraries.
4551
4552 2016-10-27 Florian Weimer <fweimer@redhat.com>
4553
4554 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4555 mmaped chunks.
4556
4557 2016-10-28 Florian Weimer <fweimer@redhat.com>
4558
4559 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4560 members to mchunk_prev_size, mchunk_size.
4561 (chunk_main_arena): Reverse sense and rename from
4562 chunk_non_main_arena.
4563 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4564 mchunk_size instead of size.
4565 (set_non_main_arena): Define.
4566 (chunksize): Use chunksize_nomask instead of direct member access.
4567 (chunksize_nomask): Define.
4568 (next_chunk): Use chunksize instead of direct member access.
4569 (prev_size, set_prev_size): Define.
4570 (prev_chunk): Use prev_size instead of direct member access.
4571 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4572 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4573 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4574 (mchunk_prev_size, mchunk_size): Poison tokens.
4575 (unlink): Use chunksize_nomask, prev_size accessors.
4576 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4577 (do_check_free_chunk): Use prev_size accessor.
4578 (sysmalloc): Use set_prev_size, set_head accessors.
4579 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4580 (__libc_free): Use chunksize_nomask accessor.
4581 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4582 chunk_main_arena accessors.
4583 (_int_free): Use chunksize_nomask, prev_size accessors.
4584 (malloc_consolidate): Use chunksize, prev_size accessors.
4585 (_int_realloc): Use chunksize_nomask accessor.
4586 (_int_memalign): Use set_prev_size accessor.
4587 (__malloc_info): Use chunksize_nomask accessor.
4588 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4589 accessors.
4590 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4591 (heap_trim): Use chunksize_nomask, prev_size accessors.
4592
4593 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4594
4595 [BZ #19380]
4596 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4597 for inexact results.
4598 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4599 of inexact result where mpfr_subnormalize is the only inexact
4600 step.
4601 * stdlib/tst-strtod-round-data.h: Regenerated.
4602 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4603 Define to 0.
4604 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4605
4606 2016-10-27 David S. Miller <davem@davemloft.net>
4607
4608 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4609
4610 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4611
4612 * malloc/malloc.c (do_set_mallopt_check): New function.
4613 (do_set_mmap_threshold): Likewise.
4614 (do_set_mmaps_max): Likewise.
4615 (do_set_top_pad): Likewise.
4616 (do_set_perturb_byte): Likewise.
4617 (do_set_trim_threshold): Likewise.
4618 (do_set_arena_max): Likewise.
4619 (do_set_arena_test): Likewise.
4620 (__libc_mallopt): Use them.
4621
4622 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4623
4624 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4625 (canonicalize): New declaration.
4626 * math/Versions (canonicalize): New libm symbol at version
4627 GLIBC_2.25.
4628 (canonicalizef): Likewise.
4629 (canonicalizel): Likewise.
4630 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4631 * math/s_canonicalize_template.c: New file.
4632 * math/libm-test.inc: Update comment on functions tested and
4633 testing of NaN payloads.
4634 (TEST_NAN_PAYLOAD): New macro.
4635 (NO_TEST_INLINE): Update value.
4636 (XFAIL_TEST): Likewise.
4637 (ERRNO_UNCHANGED): Likewise.
4638 (ERRNO_EDOM): Likewise.
4639 (ERRNO_ERANGE): Likewise.
4640 (IGNORE_RESULT): Likewise.
4641 (NON_FINITE): Likewise.
4642 (TEST_SNAN): Likewise.
4643 (NO_TEST_MATHVEC): Likewise.
4644 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4645 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4646 (struct test_Ffp_b1_data): New type.
4647 (RUN_TEST_Ffp_b1): New macro.
4648 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4649 (canonicalize_test_data): New array.
4650 (canonicalize_test): New function.
4651 (main): Call canonicalize_test.
4652 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4653 canonicalizef and canonicalizel.
4654 * manual/libm-err-tab.pl: Update comment on interfaces without
4655 ulps tabulated.
4656 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4657 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4658 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4659 canonicalize.
4660 (CFLAGS-nldbl-canonicalize.c): New variable.
4661 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4662 to ...
4663 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4664 ... here.
4665 (do_test): Also test canonicalizel.
4666 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4667 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4668 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4669 file.
4670 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4671 Use libm_hidden_def.
4672 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4673 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4674 (do_test): Also test canonicalizel.
4675 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4676 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4677 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4678 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4679 libm_hidden_def.
4680 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4681 macro.
4682 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4683 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4684 * sysdeps/nacl/libm.abilist: Update.
4685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4686 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4687 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4688 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4689 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4690 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4691 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4692 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4693 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4694 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4695 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4696 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4698 Likewise.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4700 Likewise.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4702 Likewise.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4704 Likewise.
4705 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4706 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4707 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4709 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4711 Likewise.
4712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4713 Likewise.
4714 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4715 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4716 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4717
4718 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4719 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4720 getpayload.
4721 (CFLAGS-nldbl-getpayload.c): New variable.
4722
4723 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4724
4725 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4726 integer from the format string.
4727
4728 2016-10-26 Florian Weimer <fweimer@redhat.com>
4729
4730 [BZ #19473]
4731 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4732 declarations.
4733 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4734 weak aliases.
4735 * malloc/hooks.c (__malloc_get_state): Remove definition.
4736 (malloc_get_state): New stub implementation as
4737 compatibility symbol.
4738 (malloc_set_state): Rename from __malloc_set_state. Turn into
4739 compat symbol.
4740 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4741 malloc_set_state.
4742 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4743
4744 2016-10-26 Florian Weimer <fweimer@redhat.com>
4745
4746 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4747 (names): Turn into concatenation of strings.
4748 (gconv_init): Adapt iteration over names.
4749
4750 2016-10-26 Florian Weimer <fweimer@redhat.com>
4751
4752 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4753 make const.
4754 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4755 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4756 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4757 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4758 character in sbconv.
4759 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4760 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4761 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4762
4763 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4764
4765 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4766
4767 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4768 (M_TRIM_THRESHOLD): Likewise.
4769
4770 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4771 (M_ARENA_MAX): Likewise.
4772 * malloc/malloc.c: Remove obsolete comment.
4773
4774 * manual/memory.texi: Add environment variable alternatives to
4775 setting mallopt parameters.
4776
4777 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4778
4779 * include/atomic.h
4780 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4781 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4782
4783 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4784
4785 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4786 * stdlib/tst-strfrom.h: New file.
4787 * stdlib/tst-strfrom.c: New file.
4788 * stdlib/tst-strfrom-locale.c: New file.
4789
4790 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4791 * stdlib/bug-strtod2.c: Likewise.
4792 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4793 * stdlib/tst-strtod6.c: Likewise.
4794 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4795
4796 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4797
4798 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4799 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4800 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4801 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4802 * stdlib/stdlib.h (strfromd): New declaration.
4803 (strfromf): Likewise.
4804 (strfroml): Likewise.
4805 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4806 strfrom.
4807 * stdlib/strfromd.c: New file.
4808 * stdlib/strfromf.c: Likewise.
4809 * stdlib/strfroml.c: Likewise.
4810 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4811 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4812 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4813 * sysdeps/arm/nacl/libc.abilist: Update.
4814 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4815 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4816 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4817 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4818 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4819 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4821 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4822 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4823 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4824 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4825 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4826 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4827 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4832 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4833 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4834 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4835 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4836 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4839 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4840 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4841 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4842
4843 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4844
4845 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4846 instead of cmpli.
4847 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4848 instead of cmpli.
4849
4850 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4851
4852 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4853 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4854 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4855 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4856 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4857 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4858
4859 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4860
4861 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4862 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4863 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4864 SYSCALL_LL64_PRW.
4865 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4866 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4867 __ASSUME_PRW_DUMMY_ARG.
4868 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4869 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4870 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4871 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4872 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4873 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4874
4875 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4876
4877 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4878
4879 2016-10-22 Florian Weimer <fweimer@redhat.com>
4880
4881 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4882 "C++", to override a potential extern "C" directive around the
4883 header file inclusion.
4884
4885 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4886
4887 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4888
4889 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4890
4891 * sysdeps/powerpc/fpu/fenv_private.h:
4892 (_FPU_MASK_ALL): Rename to...
4893 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4894 XE FPSCR bits.
4895
4896 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4897
4898 (_FPU_MASK_ROUNDING): Rename to...
4899 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4900 NI bits.
4901
4902 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4903 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4904 bits and rounding bits.
4905
4906 (__libc_feholdbits_ppc): New inline function to mask, set,
4907 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4908 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4909 (libc_feholdexcept_setround_ppc): Likewise.
4910
4911 (__libc_femergeenv_ppc): New function to dynamically mask both
4912 old and new FP environments and merge.
4913 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4914 (libc_feresetround_ppc): Likewise.
4915 (libc_feupdateenv_test_ppc): Likewise.
4916 (libc_feupdateenv_ppc): Likewise.
4917
4918 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4919 of ISA RN bits, and update macro names.
4920 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4921 effectively the same as the previously mentioned function.
4922
4923 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4924 usage with fe_resetround_ppc.
4925
4926 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4927 to be used.
4928 (libc_feholdexcept_setround_ctxf): Likewise.
4929 (libc_feholdexcept_setround_ctxl): Likewise.
4930
4931 2016-10-21 Florian Weimer <fweimer@redhat.com>
4932
4933 [BZ #20715]
4934 * math/math.h [__cplusplus] (iszero): Define as function template.
4935 * math/Makefile [CXX] (tests): Add test-math-iszero.
4936 (CFLAGS-test-math-iszero.cc): Set.
4937 * math/test-math-iszero.cc: New file.
4938
4939 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4940
4941 [BZ #20660]
4942 * sysdeps/arm/e_sqrt.c: New file.
4943 * sysdeps/arm/e_sqrtf.c: Likewise.
4944
4945 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4946
4947 [BZ #20718]
4948 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4949 not use floating-point comparisons to test sign.
4950 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4951 Likewise.
4952
4953 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4954 (getpayload): New declaration.
4955 * math/Versions (getpayload): New libm symbol at version
4956 GLIBC_2.25.
4957 (getpayloadf): Likewise.
4958 (getpayloadl): Likewise.
4959 * math/Makefile (libm-calls): Add s_getpayloadF.
4960 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4961 (struct test_f_f_data): Add comment.
4962 (RUN_TEST_fp_f): New macro.
4963 (RUN_TEST_LOOP_fp_f): Likewise.
4964 (getpayload_test_data): New array.
4965 (getpayload_test): New function.
4966 (main): Call getpayload_test.
4967 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4968 descriptor.
4969 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4970 getpayloadf and getpayloadl.
4971 * manual/libm-err-tab.pl: Update comment on interfaces without
4972 ulps tabulated.
4973 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4974 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4975 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4976 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4978 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4979 * sysdeps/nacl/libm.abilist: Update.
4980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4984 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4987 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4988 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4989 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4993 Likewise.
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4995 Likewise.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4997 Likewise.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4999 Likewise.
5000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5006 Likewise.
5007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5008 Likewise.
5009 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5012
5013 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5014
5015 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5016 tst-fallocate{64}.
5017 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5018 on syscall return.
5019
5020 2016-10-17 Carlos O'Donell <carlos@redhat.com>
5021
5022 [BZ #20689]
5023 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5024 usable.
5025
5026 2016-10-17 Joseph Myers <joseph@codesourcery.com>
5027
5028 * sysdeps/generic/nan-high-order-bit.h: New file.
5029 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5030 * sysdeps/mips/nan-high-order-bit.h: Likewise.
5031 * sysdeps/hppa/math_private.h: Remove file.
5032 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5033 not define here.
5034 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5035 <nan-high-order-bit.h>.
5036 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5037 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5038 <nan-high-order-bit.h>.
5039 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5040 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5041 <nan-high-order-bit.h>.
5042 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5043 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5044 <nan-high-order-bit.h>.
5045 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5046 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5047 <nan-high-order-bit.h>.
5048 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5049 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5050 <nan-high-order-bit.h>.
5051 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5052 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5053 <nan-high-order-bit.h>.
5054 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5055 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5056 <nan-high-order-bit.h>.
5057 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5058 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5059 <nan-high-order-bit.h>.
5060 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5061 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5062 <nan-high-order-bit.h>.
5063 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5064 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5065 <nan-high-order-bit.h>.
5066 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5067 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5068 <nan-high-order-bit.h>.
5069 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5070 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5071 <nan-high-order-bit.h>.
5072 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5073 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5074 <nan-high-order-bit.h>.
5075 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5076 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5077 <nan-high-order-bit.h>.
5078 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5079 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5080 <nan-high-order-bit.h>.
5081 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5082 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5083 <nan-high-order-bit.h>.
5084 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5085 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5086 <nan-high-order-bit.h>.
5087 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5088
5089 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5090
5091 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5092
5093 2016-09-22 John David Anglin <dave.anglin@bell.net>
5094
5095 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5096 abort-instr.h.
5097 (EFAULT): Remove conditional define.
5098 (ENOSYS): Likewise.
5099 (atomic_compare_and_exchange_val_acq): Use instruction nullification
5100 instead of conditional branch instructions.
5101
5102 2016-10-15 Joseph Myers <joseph@codesourcery.com>
5103
5104 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5105 (totalordermag): New declaration.
5106 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5107 New macro.
5108 * math/Versions (totalordermag): New libm symbol at version
5109 GLIBC_2.25.
5110 (totalordermagf): Likewise.
5111 (totalordermagl): Likewise.
5112 * math/Makefile (libm-calls): Add s_totalordermagF.
5113 * math/libm-test.inc (totalordermag_test_data): New array.
5114 (totalordermag_test): New function.
5115 (main): Call totalordermag_test.
5116 * math/test-tgmath.c (NCALLS): Increase to 125.
5117 (F(compile_test)): Call totalordermag.
5118 (F(totalordermag)): New function.
5119 * manual/arith.texi (FP Comparison Functions): Document
5120 totalordermag, totalordermagf and totalordermagl.
5121 * manual/libm-err-tab.pl: Update comment on interfaces without
5122 ulps tabulated.
5123 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5124 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5125 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5130 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5131 totalordermag.
5132 (CFLAGS-nldbl-totalordermag.c): New variable.
5133 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5134 (do_test): Also test totalordermagl.
5135 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5136 Likewise.
5137 * sysdeps/nacl/libm.abilist: Update.
5138 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5139 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5140 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5141 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5142 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5143 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5144 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5145 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5146 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5147 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5149 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5151 Likewise.
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5153 Likewise.
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5155 Likewise.
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5157 Likewise.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5159 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5160 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5161 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5164 Likewise.
5165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5166 Likewise.
5167 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5168 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5169 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5170
5171 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
5172
5173 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5174 boolean.
5175
5176 2016-10-13 Joseph Myers <joseph@codesourcery.com>
5177
5178 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5179 raising FE_INVALID with feraisexcept in case where part of
5180 argument is infinite, subtract that part of argument from itself.
5181 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5182 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5183 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5184
5185 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5186
5187 * math/libm-test.inc (totalorder_test_data): Add more tests.
5188
5189 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
5190
5191 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5192 Undefine weak_alias and add a comment why mips64 require
5193 versioning.
5194
5195 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
5196
5197 [BZ #20647]
5198 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5199 maximum CPUID level is less than 2.
5200
5201 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5202
5203 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5204 (totalorder): New declaration.
5205 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5206 New macro.
5207 * math/Versions (totalorder): New libm symbol at version
5208 GLIBC_2.25.
5209 (totalorderf): Likewise.
5210 (totalorderl): Likewise.
5211 * math/Makefile (libm-calls): Add s_totalorderF.
5212 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5213 string.
5214 * math/libm-test.inc (PAYLOAD_DIG): New macro.
5215 (qnan_value_pl): Likewise.
5216 (snan_value_pl): Likewise.
5217 (qnan_value): Define using qnan_value_pl.
5218 (snan_value): Define using snan_value_pl.
5219 (struct test_ff_i_data): Add comment about which tests use this
5220 structure.
5221 (RUN_TEST_ff_b): New macro.
5222 (RUN_TEST_LOOP_ff_b): Likewise.
5223 (totalorder_test_data): New array.
5224 (totalorder_test): New function.
5225 (main): Call totalorder_test.
5226 * math/test-tgmath.c (NCALLS): Increase to 122.
5227 (F(compile_test)): Call totalorder.
5228 (F(totalorder)): New function.
5229 * manual/arith.texi (FP Comparison Functions): Document
5230 totalorder, totalorderf and totalorderl.
5231 * manual/libm-err-tab.pl: Update comment on interfaces without
5232 ulps tabulated.
5233 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5234 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5235 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5238 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5240 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5241 totalorder.
5242 (CFLAGS-nldbl-totalorder.c): New variable.
5243 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5244 file.
5245 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5246 Add test-totalorderl-ldbl-128ibm.
5247 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5248 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5249 test-totalorderl-ldbl-96.
5250 * sysdeps/nacl/libm.abilist: Update.
5251 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5252 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5253 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5254 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5255 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5256 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5257 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5258 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5259 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5260 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5261 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5262 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5264 Likewise.
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5266 Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5268 Likewise.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5270 Likewise.
5271 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5272 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5273 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5274 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5277 Likewise.
5278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5279 Likewise.
5280 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5281 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5282 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5283
5284 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5285
5286 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5287 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5288 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5289 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5290 remove ENOSYS implementation.
5291 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5292 Consolidate all Linux implementations.
5293
5294 2016-10-11 Florian Weimer <fweimer@redhat.com>
5295
5296 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5297 * resolv/herror.c (herror): Cast away const-ness.
5298 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5299 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5300
5301 2016-10-11 Joseph Myers <joseph@codesourcery.com>
5302
5303 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5304 instead of M_NAN + M_NAN.
5305 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5306
5307 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5308
5309 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5310 unused variable 'p'.
5311
5312 2016-10-09 Alan Modra <amodra@gmail.com>
5313 Andreas Schwab <schwab@linux-m68k.org>
5314
5315 [BZ #20554]
5316 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5317 [PIC && !SHARED]: Set up PIC register for PLT call.
5318
5319 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5320
5321 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5322 conditional on value of [__FLT_EVAL_METHOD__].
5323 * math/test-iseqsig-excess-precision.c: New file.
5324 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5325
5326 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5327
5328 * math/s_iseqsig_template.c: Include math-private.h.
5329
5330 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5331 * posix/tst-posix_fadvise.c: New file.
5332 * posix/tst-posix_fadvise64.c: Likewise.
5333 * posix/tst-posix_fadvise-common.c: Likewise.
5334 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5335 (__ASSUME_FADVISE64_64_6ARG): Define.
5336 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5337 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5338 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5339 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5340 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5341 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5342 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5343 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5344 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5345 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5346 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5347 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5350 Likewise.
5351 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5352 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5353 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5354 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5355 Alias to __posix_fadvise64_l32.
5356 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5357 Add compat definition to posix_fadvise64.
5358 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5359 Add versioned definition to posix_fadvise64.
5360 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5361 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5362 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5363 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5364 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5365
5366 * io/Makefile (tests): Add tst-posix_fallocate and
5367 tst-posix_fallocate64.
5368 * io/tst-posix_fallocate-common.c: New file.
5369 * io/tst-posix_fallocate.c: Likewise.
5370 * io/tst-posix_fallocate64.c: Likewise.
5371 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5372 file.
5373 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5374 Likewise.
5375 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5376 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5377 Likewise.
5378 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5379 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5380 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5381 SYSCALL_LL to pass both offset and len arguments.
5382 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5383 Likewise.
5384 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5385 __libc_pwrite64 alias used by posix_fallocate64.
5386
5387 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5388 tst-fallocate64.
5389 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5390 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5391 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5392 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5393 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5394 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5395 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5396 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5397 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5398 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5399 macro on offset argument.
5400 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5401 SYSCALL_LL64 on offset argument.
5402
5403 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5404 tst-fallocate64.
5405 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5406 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5407 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5408 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5409 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5410 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5411 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5412 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5413 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5414 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5415 macro on offset argument.
5416 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5417 SYSCALL_LL64 on offset argument.
5418 * test-skeleton.c (FAIL_RET): Add macro.
5419 (FAIL_EXIT): Likewise.
5420 (FAIL_EXIT1): Likewise.
5421 (_FAIL): Likewise.
5422
5423 2016-10-07 Florian Weimer <fweimer@redhat.com>
5424
5425 [BZ #20629]
5426 resolv: Remove RES_USEBSTRING and its implementation.
5427 * resolv/resolv.h (RES_USEBSTRING): Remove.
5428 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5429 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5430 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5431 (labellen): Remove extended label types support.
5432 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5433 * resolv/res_init.c (res_setoptions): Likewise.
5434 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5435
5436 2016-10-07 Florian Weimer <fweimer@redhat.com>
5437
5438 resolv: Remove RES_NOIP6DOTINT and its implementation.
5439 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5440 (RES_NOIP6DOTINT): Remove.
5441 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5442 handling.
5443 * resolv/res_debug.c (p_option): Likewise.
5444 * resolv/res_init.c (res_setoptions): Likewise.
5445 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5446
5447 2016-10-07 Florian Weimer <fweimer@redhat.com>
5448
5449 resolv: Deprecate unimplemented flags.
5450 * misc/sys/cdefs.h (__glibc_macro_warning1)
5451 (__glibc_macro_warning): Define.
5452 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5453 (RES_KEEPTSIG): Mark as deprecated.
5454 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5455 RES_NOCHECKNAME, RES_KEEPTSIG.
5456 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5457
5458 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5459
5460 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5461 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5462 Use strong_alias to create symbols for glibc verison 2.19.
5463
5464 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5465
5466 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5467
5468 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5469
5470 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5471
5472 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5473
5474 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5475
5476 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5477
5478 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5479 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5480 in header for using it as type for ifunc function because __GI_* symbols
5481 for ppc32 do not target the ifunc symbols.
5482 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5483
5484 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5485
5486 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5487 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5488 libc_ifunc_hidden_def.
5489 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5490 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5491 Redirect ifunced function in header for using it as type of ifunc'ed
5492 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5493 function for __GI_* symbol.
5494 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5495 * include/libc-symbols.h
5496 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5497
5498 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5499
5500 [BZ #20478]
5501 * sysdeps/s390/multiarch/ifunc-resolve.h
5502 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5503 to create ifunc symbols.
5504 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5505 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5506 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5507 for using it as type for ifunc function.
5508 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5509 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5510 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5511 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5512 * sysdeps/s390/multiarch/strcat.c: Likewise.
5513 * sysdeps/s390/multiarch/strchr.c: Likewise.
5514 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5515 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5516 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5517 * sysdeps/s390/multiarch/strlen.c: Likewise.
5518 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5519 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5520 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5521 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5522 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5523 * sysdeps/s390/multiarch/strspn.c: Likewise.
5524 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5525 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5526 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5527 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5528 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5529 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5530 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5531 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5532 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5533 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5534 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5535 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5536
5537 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5538
5539 * include/libc-symbols.h (__ifunc_resolver):
5540 New macro is used by __ifunc* macros.
5541 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5542 depending on HAVE_GCC_IFUNC.
5543 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5544 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5546 Redirect ifunced function in header for using as type for ifunc function.
5547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5551 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5553 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5554 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5555 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5556 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5557 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5558 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5560 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5566 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5567 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5569 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5570 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5571 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5572 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5573 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5574 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5575 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5576 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5577 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5578 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5579 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5581 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5582 instead of libc_ifunc() macro.
5583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5584 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5585
5586 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5587
5588 * config.h.in (HAVE_GCC_IFUNC): New undef.
5589 * configure.ac: Add check if gcc supports attribute ifunc feature.
5590 * configure: Regenerated.
5591 * manual/install.texi: Add recommendation for gcc with
5592 indirect-function support.
5593 * INSTALL: Regenerated.
5594
5595 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5596
5597 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5598 macro.
5599 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5600 (__iseqsig): New declaration.
5601 * math/s_iseqsig_template.c: New file.
5602 * math/Versions (__iseqsigf): New libm symbol at version
5603 GLIBC_2.25.
5604 (__iseqsig): Likewise.
5605 (__iseqsigl): Likewise.
5606 * math/libm-test.inc (iseqsig_test_data): New array.
5607 (iseqsig_test): New function.
5608 (main): Call iseqsig_test.
5609 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5610 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5611 * manual/libm-err-tab.pl: Update comment on interfaces without
5612 ulps tabulated.
5613 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5614 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5615 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5616 * sysdeps/nacl/libm.abilist: Update.
5617 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5618 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5619 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5620 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5621 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5622 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5623 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5624 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5625 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5626 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5627 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5628 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5630 Likewise.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5632 Likewise.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5634 Likewise.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5636 Likewise.
5637 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5638 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5639 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5640 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5643 Likewise.
5644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5645 Likewise.
5646 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5647 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5648 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5649
5650 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5651
5652 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5653 do_sincos_2, sloww, sloww1): Update comments.
5654
5655 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5656 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5657
5658 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5659 K boolean and rename it.
5660 (__sin): Adjust.
5661 (__cos): Adjust.
5662
5663 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5664 Siddhesh Poyarekar <siddhesh@sourceware.org>
5665
5666 * manual/nss.texi: Fix typos in the manual.
5667
5668 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5669
5670 * manual/contrib.texi: Fix typos in the manual.
5671
5672 * manual/maint.texi: Fix typos in the manual.
5673
5674 * manual/install.texi: Fix typos in the manual.
5675 * INSTALL: Regenerated.
5676
5677 * manual/lang.texi: Fix typos in the manual.
5678
5679 * manual/probes.texi: Fix typos in the manual.
5680
5681 * manual/threads.texi: Fix typos in the manual.
5682
5683 * manual/debug.texi: Fix typos in the manual.
5684
5685 * manual/crypt.texi: Fix typos in the manual.
5686
5687 * manual/conf.texi: Fix typos in the manual.
5688
5689 * manual/sysinfo.texi: Fix typos in the manual.
5690
5691 * manual/users.texi: Fix typos in the manual.
5692
5693 * manual/job.texi: Fix typos in the manual.
5694
5695 * manual/process.texi: Fix typos in the manual.
5696
5697 * manual/argp.texi: Fix typos in the manual.
5698 * manual/getopt.texi: Likewise.
5699 * manual/startup.texi: Likewise.
5700
5701 * manual/signal.texi: Fix typos in the manual.
5702
5703 * manual/setjmp.texi: Fix typos in the manual.
5704
5705 * manual/resource.texi: Fix typos in the manual.
5706
5707 * manual/time.texi: Fix typos in the manual.
5708
5709 * manual/arith.texi: Fix typos in the manual.
5710
5711 * manual/math.texi: Fix typos in the manual.
5712
5713 * manual/syslog.texi: Fix typos in the manual.
5714
5715 * manual/terminal.texi: Fix typos in the manual.
5716
5717 * manual/socket.texi: Fix typos in the manual.
5718
5719 * manual/filesys.texi: Fix typos in the manual.
5720
5721 * manual/llio.texi: Fix typos in the manual.
5722
5723 * manual/stdio.text: Fix typos in the manual.
5724
5725 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
5726
5727 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5728 instead of K1.
5729
5730 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5731 SHIFT_QUADRANT and make it bool.
5732 (do_sincos_2): Likewise.
5733 (sloww): Likewise.
5734 (sloww1): Likewise.
5735 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5736 (__cos): Likewise.
5737
5738 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5739
5740 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5741
5742 2016-10-04 Joseph Myers <joseph@codesourcery.com>
5743
5744 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5745 Define to __WORDSIZE, not conditional on [LONG_MAX ==
5746 0x7fffffffL].
5747 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5748
5749 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5750
5751 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5752 inline by __inline__.
5753 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5754 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5755 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5756 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5757 sigset_t from signal.h.
5758 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5759 which is already required.
5760
5761 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5762
5763 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5764
5765 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5766
5767 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5768 (struct tcp_repair_window): New type.
5769
5770 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5771
5772 * libio/tst-memstream3.c: Include string.h.
5773
5774 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5775
5776 [BZ #18241]
5777 [BZ #20181]
5778 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5779 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5780 write position is at the end the buffer.
5781 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5782 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5783 (_IO_str_seekoff): Set correct offset from negative displacement and
5784 set EINVAL for invalid ones.
5785 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5786 buffer length.
5787 (_IO_wstr_switch_to_get_mode): New function.
5788 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5789 set EINVAL for invalid ones.
5790 * libio/tst-memstream3.c: New file.
5791 * libio/tst-wmemstream3.c: Likewise.
5792 * manual/examples/memstrm.c: Remove warning when priting size_t.
5793
5794 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5795
5796 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5797 macro to use __builtin_fma.
5798 * sysdeps/x86_64/fpu/dla.h: Remove file.
5799
5800 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5801 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5802 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5803
5804 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5805
5806 [BZ #20292]
5807 * elf/Makefile (routines): Add dl-addr-obj.
5808 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5809 tst-_dl_addr_inside_object.
5810 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5811 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5812 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5813 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5814 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5815 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5816 * elf/dl-open.c: Likewise.
5817 * elf/dl-addr-obj.c: New file.
5818 * elf/tst-_dl_addr_inside_object.c: New file.
5819
5820 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5821
5822 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5823 <bits/iscanonical.h>.
5824 * bits/iscanonical.h: New file.
5825 * math/s_iscanonicall.c: Likewise.
5826 * math/Versions (__iscanonicall): New libm symbol at version
5827 GLIBC_2.25.
5828 * math/libm-test.inc (iscanonical_test_data): New array.
5829 (iscanonical_test): New function.
5830 (main): Call iscanonical_test.
5831 * math/Makefile (headers): Add bits/iscanonical.h.
5832 (type-ldouble-routines): Add s_iscanonicall.
5833 * manual/arith.texi (Floating Point Classes): Document
5834 iscanonical.
5835 * manual/libm-err-tab.pl: Update comment on interfaces without
5836 ulps tabulated.
5837 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5838 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5840 Likewise.
5841 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5842 test-iscanonical-ldbl-128ibm.
5843 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5844 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5845 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5846 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5847 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5848 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5849 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5851 Likewise.
5852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5853 Likewise.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5855 Likewise.
5856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5857 Likewise.
5858 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5859 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5860
5861 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5862
5863 * string/bits/string3.h: Remove C++ style comments.
5864
5865 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5866
5867 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5868 instead of ternary condition.
5869 (do_sincos_2): Likewise.
5870 (__sin): Likewise.
5871 (__cos): Likewise.
5872 (slow): Likewise.
5873 (sloww): Likewise.
5874 (sloww1): Likewise.
5875 (bsloww): Likewise.
5876 (bsloww1): Likewise.
5877
5878 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5879 instead of ternary condition.
5880 (do_sin_slow): Likewise.
5881 (do_sincos_1): Likewise.
5882 (do_sincos_2): Likewise.
5883 (__cos): Likewise.
5884 (sloww): Likewise.
5885 (sloww1): Likewise.
5886 (sloww2): Likewise.
5887 (bsloww): Likewise.
5888 (bsloww1): Likewise.
5889 (bsloww2): Likewise.
5890
5891 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5892 check from here...
5893 (slow2): ... and here...
5894 (__sin): ... to here.
5895
5896 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5897
5898 * math/math.h
5899 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5900 Cast argument to its own type.
5901 * math/test-iszero-excess-precision.c: New file.
5902 * math/Makefile (tests): Add test-iszero-excess-precision.
5903 (CFLAGS-test-iszero-excess-precision.c): New variable.
5904
5905 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5906
5907 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5908 field, add err field.
5909 (__spawni_child): Report error through err member instead of pipe.
5910 (__spawnix): Likewise.
5911
5912 2016-09-28 Zack Weinberg <zackw@panix.com>
5913
5914 * scripts/check-installed-headers.sh: Generalize treatment of
5915 sys/elf.h to all target architectures.
5916
5917 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5918 deleted typedef ucontext_t.
5919
5920 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5921
5922 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5923 (__INTERNAL_SYSCALL1): Likewise.
5924 (__INTERNAL_SYSCALL2): Likewise.
5925 (__INTERNAL_SYSCALL3): Likewise.
5926 (__INTERNAL_SYSCALL4): Likewise.
5927 (__INTERNAL_SYSCALL5): Likewise.
5928 (__INTERNAL_SYSCALL6): Likewise.
5929 (__INTERNAL_SYSCALL7): Likewise.
5930 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5931 (__INTERNAL_SYSCALL_NARGS): Likewise.
5932 (__INTERNAL_SYSCALL_DISP): Likewise.
5933 (INTERNAL_SYSCALL_CALL): Likewise.
5934 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5935 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5936 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5937 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5938 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5939 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5940 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5941 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5942 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5943 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5944 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5945 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5946 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5947
5948 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5949
5950 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5951 macro.
5952 * math/libm-test.inc (iszero_test_data): New array.
5953 (iszero_test): New function.
5954 (main): Call iszero_test.
5955 * manual/arith.texi (Floating Point Classes): Document iszero.
5956 * manual/libm-err-tab.pl: Update comment on interfaces without
5957 ulps tabulated.
5958
5959 2016-09-23 Zack Weinberg <zackw@panix.com>
5960
5961 * scripts/check-installed-headers.sh: New script.
5962 * Rules: In each directory that defines header files to be installed,
5963 run check-installed-headers.sh on them as a special test.
5964 * Makefile: Likewise for the headers installed at top level.
5965
5966 * include/aliases.h, include/alloca.h, include/argz.h
5967 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5968 * include/elf.h, include/envz.h, include/err.h
5969 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5970 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5971 * include/link.h, include/malloc.h, include/mcheck.h
5972 * include/mntent.h, include/netinet/ether.h
5973 * include/nss.h, include/obstack.h, include/printf.h
5974 * include/pty.h, include/resolv.h, include/rpc/auth.h
5975 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5976 * include/rpc/clnt.h, include/rpc/des_crypt.h
5977 * include/rpc/key_prot.h, include/rpc/netdb.h
5978 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5979 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5980 * include/rpc/rpc_msg.h, include/rpc/svc.h
5981 * include/rpc/svc_auth.h, include/rpc/xdr.h
5982 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5983 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5984 * include/rpcsvc/ypupd.h, include/shadow.h
5985 * include/stdio_ext.h, include/sys/epoll.h
5986 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5987 * include/sys/prctl.h, include/sys/profil.h
5988 * include/sys/statfs.h, include/sys/sysctl.h
5989 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5990 * sysdeps/arm/nacl/include/bits/setjmp.h
5991 * sysdeps/mips/include/sys/asm.h
5992 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5993 * sysdeps/unix/sysv/linux/include/sys/timex.h
5994 * sysdeps/x86/fpu/include/bits/fenv.h:
5995 Add #ifndef _ISOMAC guard around internal declarations.
5996 Add multiple-inclusion guard if not already present.
5997
5998 2016-09-23 Zack Weinberg <zackw@panix.com>
5999
6000 * sysdeps/generic/sys/ucontext.h
6001 * sysdeps/arm/sys/ucontext.h
6002 * sysdeps/i386/sys/ucontext.h
6003 * sysdeps/m68k/sys/ucontext.h
6004 * sysdeps/mips/sys/ucontext.h
6005 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6006 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6007 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6008 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6009 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6010 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6011 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6012 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6013 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6014 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6015 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6016 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6017 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6018 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6019 Include both bits/sigcontext.h and bits/sigstack.h.
6020 Fix grammar error in comment, if present.
6021
6022 * bits/sigstack.h
6023 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6024 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6025 * sysdeps/unix/sysv/linux/bits/sigstack.h
6026 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6027 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6028 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6029 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6030 * bits/sigcontext.h
6031 * sysdeps/mach/hurd/i386/bits/sigcontext.h
6032 * sysdeps/unix/sysv/linux/bits/sigcontext.h
6033 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6034 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6035 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
6036 as well as signal.h, if this was not already allowed. Request
6037 definition of size_t if necessary. Minimize semantically-null
6038 differences across files.
6039
6040 2016-09-23 Zack Weinberg <zackw@panix.com>
6041
6042 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6043 Remove all logic conditional on __need macros. Move all the
6044 conditionally defined types to their own headers...
6045 * time/bits/types/clock_t.h: Define clock_t here.
6046 * time/bits/types/clockid_t.h: Define clockid_t here.
6047 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6048 * time/bits/types/struct_timespec.h: Define struct timespec here.
6049 * time/bits/types/struct_timeval.h: Define struct timeval here.
6050 * time/bits/types/struct_tm.h: Define struct tm here.
6051 * time/bits/types/time_t.h: Define time_t here.
6052 * time/bits/types/timer_t.h: Define timer_t here.
6053 * time/Makefile: Install the new headers.
6054
6055 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6056 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6057 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6058 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6059 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6060 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6061 * sysdeps/unix/sysv/linux/bits/resource.h
6062 * sysdeps/unix/sysv/linux/bits/timex.h
6063 * sysdeps/unix/sysv/linux/mips/bits/resource.h
6064 * sysdeps/unix/sysv/linux/net/ppp_defs.h
6065 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6066 * sysdeps/unix/sysv/linux/sys/acct.h
6067 * sysdeps/unix/sysv/linux/sys/timerfd.h
6068 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6069 * time/sys/time.h, time/sys/timeb.h
6070 Use the new bits/types headers.
6071
6072 * include/time.h: Remove __need logic.
6073 * include/bits/time.h
6074 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6075 * include/bits/types/time_t.h, include/bits/types/timer_t.h
6076 * include/bits/types/struct_itimerspec.h
6077 * include/bits/types/struct_timespec.h
6078 * include/bits/types/struct_timeval.h
6079 * include/bits/types/struct_tm.h:
6080 New wrapper headers.
6081
6082 2016-09-23 Zack Weinberg <zackw@panix.com>
6083
6084 * sysdeps/mach/hurd/net/if_ppp.h
6085 * sysdeps/unix/sysv/linux/net/if_ppp.h:
6086 Only define struct ifpppstatsreq and struct ifpppcstatsreq
6087 if __USE_MISC is defined, to ensure struct ifreq is declared.
6088
6089 * inet/netinet/ether.h: Condition all function prototypes
6090 on __USE_MISC, to ensure struct ether_addr is declared.
6091
6092 * socket/bits/types/struct_osockaddr.h: New header.
6093 * include/bits/types/struct_osockaddr.h: New wrapper.
6094 * socket/Makefile: Install the new header.
6095 * socket/sys/socket.h, inet/protocols/talkd.h:
6096 Refer to bits/types/struct_osockaddr.h for the definition of
6097 struct osockaddr.
6098
6099 2016-09-23 Zack Weinberg <zackw@panix.com>
6100
6101 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6102 * inet/protocols/routed.h, inet/protocols/talkd.h
6103 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6104 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6105 * sysdeps/generic/netinet/if_ether.h
6106 * sysdeps/generic/netinet/in_systm.h
6107 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6108 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6109 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6110 * sysdeps/mach/hurd/net/if_arp.h
6111 * sysdeps/mach/hurd/net/if_ppp.h
6112 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6113 * sysdeps/unix/sysv/linux/bits/in.h
6114 * sysdeps/unix/sysv/linux/net/ethernet.h
6115 * sysdeps/unix/sysv/linux/net/if_arp.h
6116 * sysdeps/unix/sysv/linux/net/if_ppp.h
6117 * sysdeps/unix/sysv/linux/net/if_shaper.h
6118 * sysdeps/unix/sysv/linux/net/route.h
6119 * sysdeps/unix/sysv/linux/netinet/if_ether.h
6120 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6121 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6122 * sysdeps/unix/sysv/linux/netipx/ipx.h
6123 * sysdeps/unix/sysv/linux/sys/acct.h
6124 * include/arpa/nameser.h, include/resolv.h:
6125 Change all uses of u_char to unsigned char,
6126 u_short and ushort to unsigned short, u_int and uint to unsigned int,
6127 u_long and ulong to unsigned long, u_int8_t to uint8_t,
6128 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6129 and u_int64_t and u_quad_t to uint64_t.
6130
6131 * mach/sys/reboot.h: Remove two casts of integer literals
6132 to the types they already have.
6133
6134 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6135 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6136 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6137 from referring to 'unsigned char' to 'uint8_t' for consistency with
6138 the macro definition below.
6139
6140 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6141 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6142 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6143 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6144 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6145 * sysdeps/unix/sysv/linux/sys/acct.h
6146 * include/arpa/nameser.h, include/resolv.h:
6147 Fix indentation disrupted by mechanical edits.
6148
6149 * inet/protocols/talkd.h, resolv/arpa/nameser.h
6150 * sysdeps/generic/netinet/in_systm.h
6151 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6152 * sysdeps/gnu/netinet/udp.h
6153 * sysdeps/unix/sysv/linux/net/ethernet.h
6154 * sysdeps/unix/sysv/linux/net/if_arp.h
6155 * sysdeps/unix/sysv/linux/net/if_ppp.h
6156 * sysdeps/unix/sysv/linux/net/if_shaper.h
6157 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6158 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6159 * sysdeps/unix/sysv/linux/netipx/ipx.h
6160 * sysdeps/unix/sysv/linux/sys/acct.h
6161 Include stdint.h for uintNN_t definitions.
6162 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6163
6164 2016-09-23 Zack Weinberg <zackw@panix.com>
6165
6166 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6167 * sysdeps/unix/sysv/linux/netrose/rose.h:
6168 Include sys/socket.h and netax25/ax25.h.
6169
6170 * inet/netinet/icmp6.h, inet/netinet/ip6.h
6171 * resolv/arpa/nameser_compat.h:
6172 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6173
6174 * sysdeps/unix/sysv/linux/sys/quota.h:
6175 Use __caddr_t instead of caddr_t.
6176 * sysdeps/unix/sysv/linux/sys/timerfd.h:
6177 Use __clockid_t instead of clockid_t.
6178
6179 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6180
6181 * argp/argp.h: Check whether _LIBC is defined before expanding it.
6182 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6183 expanding it.
6184
6185 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6186 Define __glibc_c99_flexarr_available to 1 when the compiler
6187 supports C99-compatible flexible array members, 0 otherwise.
6188 * sysdeps/unix/sysv/linux/bits/socket.h
6189 * sysdeps/mach/hurd/bits/socket.h
6190 * bits/socket.h: Use __glibc_c99_flexarr_available in
6191 definitions of struct cmsghdr and CMSG_DATA.
6192
6193 2016-09-23 Florian Weimer <fweimer@redhat.com>
6194
6195 * manual/nss.texi (NSS Modules Interface): Adjust function return
6196 type to enum nss_status. Document errnop argument. Clarify
6197 h_errnop semantics. Fix cross-reference formatting.
6198 (NSS Module Function Internals): Mention that *errnop needs to be
6199 set on failure, but not to zero.
6200
6201 2016-09-23 Florian Weimer <fweimer@redhat.com>
6202
6203 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6204 (get_random_name): New functions.
6205 (check_wrapper_flags_mode): Use linkat to give the new file a name
6206 determined by get_random_name.
6207 (do_test): Add calls to test open64 and openat64.
6208
6209 2016-09-23 Florian Weimer <fweimer@redhat.com>
6210
6211 * test-skeleton.c: Remove #include <stdarg.h>.
6212
6213 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
6214
6215 [BZ #19826]
6216 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6217 initialization of static TLS entries.
6218 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6219 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6220
6221 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6222
6223 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6224 _hurd_malloc_fork_prepare.
6225 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6226 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6227 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6228 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6229 (_hurd_fork_child_hook): Drop malloc_fork_child.
6230 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6231 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6232 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6233 after locking locks (notably hurd_dtable_lock). Call
6234 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6235 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6236 __malloc_fork_unlock_child.
6237 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6238
6239 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
6240
6241 * soft-fp/extendhftf2.c: New.
6242 * soft-fp/fixhfti.c: Likewise.
6243 * soft-fp/fixunshfti.c: Likewise.
6244 * soft-fp/floattihf.c: Likewise.
6245 * soft-fp/floatuntihf.c: Likewise.
6246 * soft-fp/half.h: Likewise.
6247 * soft-fp/trunctfhf2.c: Likewise.
6248
6249 2016-09-21 Joseph Myers <joseph@codesourcery.com>
6250
6251 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6252 macro.
6253 * math/libm-test.inc (issubnormal_test_data): New array.
6254 (issubnormal_test): New function.
6255 * manual/arith.texi (Floating Point Classes): Document
6256 issubnormal.
6257 * manual/libm-err-tab.pl: Update comment on interfaces without
6258 ulps tabulated.
6259
6260 * sysdeps/generic/stdint.h: Define
6261 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6262 <bits/libc-header-start.h> instead of including <features.h>.
6263 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6264 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6265 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6266 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6267 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6268 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6269 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6270 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6271 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6272 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6273 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6274 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6275 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6276 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6277 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6278 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6279 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6280 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6281 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6282 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6283 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6284 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6285 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6286 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6287 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6288 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6289 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6290 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6291 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6292 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6293 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6294 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6295 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6296 * manual/arith.texi (Integers): Document these macros for types
6297 specified by width properties.
6298 * manual/lang.texi (Width of Type): Document these macros for
6299 other standard typedefs.
6300 * stdlib/tst-width-stdint.c: New file.
6301 * stdlib/Makefile (tests): Add tst-width-stdint.
6302
6303 2016-09-21 Florian Weimer <fweimer@redhat.com>
6304
6305 [BZ #20016]
6306 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6307 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6308 Move ...
6309 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6310 ... here, as compatibility symbols in a new file.
6311 * resolv/Makefile (libresolv-routines): Add compat-hooks.
6312 * resolv/res_init.c (__res_vinit): Adjust member names.
6313 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6314 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6315 (res_send_rhook): Remove.
6316 (struct __res_state): Rename qhook, rhook members.
6317
6318 2016-09-21 Florian Weimer <fweimer@redhat.com>
6319
6320 malloc: Use __libc_lock wrappers.
6321 * malloc/arena.c (list_lock, free_list_lock): Define using
6322 __libc_lock_define_initialized.
6323 (arena_lock): Adjust formatting.
6324 * malloc/malloc.c (struct malloc_state): Define mutex using
6325 __libc_lock_define.
6326 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6327 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6328 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6329 (mutex_unlock, mutex_trylock): Remove.
6330 (__pthread_initialize): Remove unused macro.
6331 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6332 (mutex_unlock, mutex_trylock): Remove.
6333
6334 2016-09-21 Florian Weimer <fweimer@redhat.com>
6335
6336 [BZ #20592]
6337 Remove RR type classification macros.
6338 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6339 (ns_t_udp_p, ns_t_xfr_p): Remove.
6340
6341 2016-09-21 Florian Weimer <fweimer@redhat.com>
6342
6343 Remove misleading version information.
6344 * resolv/arpa/nameser.h (__NAMESER): Remove.
6345 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6346
6347 2016-09-21 Florian Weimer <fweimer@redhat.com>
6348
6349 Remove the always-defined BIND_4_COMPAT macro.
6350 * resolv/arpa/nameser.h: Unconditionally include
6351 <arpa/nameser_compat.h>.
6352 (BIND_4_COMPAT): Remove.
6353 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6354
6355 2016-09-21 Florian Weimer <fweimer@redhat.com>
6356
6357 [BZ #20591]
6358 Remove obsolete DNSSEC support.
6359 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6360 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6361 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6362 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6363 (ns_cert_types): Add comment.
6364 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6365 separately.
6366 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6367 (dst_s_dns_key_id): Remove.
6368 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6369 variables.
6370
6371 2016-09-21 Florian Weimer <fweimer@redhat.com>
6372
6373 [BZ #20524]
6374 * manual/string.texi (String/Array Comparison): Clarify the
6375 strverscmp behavior.
6376
6377 2016-09-21 Florian Weimer <fweimer@redhat.com>
6378
6379 * test-skeleton.c (xasprintf): Add function.
6380 * io/tst-open-tmpfile.c: New test.
6381 * io/Makefile (tests): Add it.
6382
6383 2016-09-21 Florian Weimer <fweimer@redhat.com>
6384
6385 Avoid running $(CXX) during build to obtain header file paths.
6386 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6387 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6388 * Makerules (cstdlib, cmath): Remove variables. Use
6389 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6390 * configure: Regenerate.
6391
6392 2016-09-21 Florian Weimer <fweimer@redhat.com>
6393
6394 * Makeconfig (all-object-suffixes): Include .op only if
6395 $(build-profile).
6396
6397 2016-09-21 Florian Weimer <fweimer@redhat.com>
6398
6399 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6400 conditionals. Do not define PATH_MAX.
6401
6402 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6403
6404 * posix/Makefile (tests): Add tst-spawn3.
6405 * posix/tst-spawn3.c: New file.
6406 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6407 if it is already opened for open action.
6408
6409 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6410 all signals when executing the clone vfork child.
6411 (SIGALL_SET): Remove macro.
6412
6413 * nptl/Makefile (tests): Add tst-exec5.
6414 * nptl/tst-exec5.c: New file.
6415 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6416 asynchronous cancellation.
6417
6418 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6419
6420 * hurd/exc2signal.c: #include <hurd/signal.h>
6421 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6422 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6423 accordingly.
6424 * mach/mach_error.c (mach_error): Fix old-style function definition.
6425 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6426
6427 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6428
6429 * math/Makefile (libm-calls): Remove s_nanF.
6430 (gen-libm-calls): Add s_nanF.
6431
6432 * math/s_nan.c: Refactor into ...
6433 * math/s_nan_template.c: New file.
6434
6435 * math/s_nanf.c: Removed.
6436 * math/s_nanl.c: Removed.
6437 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6438 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6439
6440 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6441 (LDOUBLE_nanl_libm_version): New macro.
6442
6443 * sysdeps/generic/math-type-macros-double.h:
6444 (M_STRTO_NAN): New macro.
6445 * sysdeps/generic/math-type-macros-float.h: Likewise.
6446 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6447
6448 * sysdeps/generic/math-type-macros.h: Document
6449 M_STRTO_NAN.
6450
6451 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6452
6453 * math/s_nanf.c: Remove __nanf undef.
6454 * math/s_nan.c: Remove __nan undef.
6455 * math/s_nanl.c: Remove __nanl undef.
6456
6457 * sysdeps/generic/math_private.h (__nan): Remove macro
6458 override.
6459 (__nanf): Likewise.
6460 (__nanl): Likewise.
6461
6462 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6463
6464 * math/Makefile (gen-all-calls): New variable.
6465 (generated): Replace gen-libm-calls with gen-all-calls.
6466 (gen-libm-templates.stmp): Likewise. Also, ensure
6467 the output directory exists or is created and add
6468 dependency on the Makefile.
6469 (calls): Move s_ldexpF into gen-calls.
6470 (gen-calls): New variable.
6471
6472 * math/s_ldexpf.c: Removed.
6473 * math/s_ldexpl.c: Removed.
6474 * math/s_ldexp.c: Refactored into ...
6475 * math/s_ldexp_template.c: New file.
6476
6477 * sysdeps/generic/math-type-macros-double.h: Remove
6478 redundant fall-through definition of declare_mgen_alias.
6479 (declare_mgen_alias_2): New macro.
6480
6481 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6482 New macro for function aliased to two exported symbols.
6483
6484 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6485 new template file.
6486 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6487
6488 2016-09-20 Florian Weimer <fweimer@redhat.com>
6489
6490 * Makeconfig (all-object-suffixes): Remove .og.
6491 * Makerules (elide-routines.og): Remove.
6492 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6493 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6494 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6495
6496 2016-09-20 Florian Weimer <fweimer@redhat.com>
6497
6498 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6499 .os objects.
6500
6501 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6502
6503 [BZ #20615]
6504 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6505 fpu directory by non-fpu.
6506 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6507 on non-fpu directory from a fpu directory.
6508
6509 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6510
6511 * include/limits.h: Define
6512 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6513 <bits/libc-header-start.h> instead of including <features.h>.
6514 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6516 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6517 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6518 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6519 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6520 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6525 * manual/lang.texi (Width of Type): Document these macros.
6526 * stdlib/tst-width.c: New file.
6527 * stdlib/Makefile (tests): Add tst-width.
6528
6529 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6530
6531 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6532 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6533
6534 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6535
6536 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6537 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6538 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6539
6540 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6541
6542 [BZ #18243]
6543 * rt/Makefile (test): Add tst-shm-cancel.
6544 * rt/tst-shm-cancel.c: New file.
6545 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6546
6547 [BZ #18243]
6548 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6549 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6550 definition.
6551 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6552 uncontended case.
6553 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6554 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6555 (tf): Fix check for uncontended case.
6556 (do_test): Likewise.
6557 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6558 (tf): Fix check for uncontended case.
6559 (do_test): Likewise.
6560 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6561 (tf): Fix check for uncontended case.
6562 (do_test): Likewise.
6563 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6564 (tf): Fix check for uncontended case.
6565 (do_test): Likewise.
6566
6567 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6568 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6569
6570 [BZ #15765]
6571 * nptl/Makefile (tests): Add tst-sem16.
6572 * nptl/tst-sem16.c: New file.
6573 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6574
6575 * nptl/sem_open.c (sem_open): Init pad value to 0.
6576 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6577 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6578
6579 2016-09-15 Florian Weimer <fweimer@redhat.com>
6580
6581 [BZ #20611]
6582 * inet/Makefile (routines): Add inet6_scopeid_pton.
6583 (tests): Add tst-inet6_scopeid_pton.
6584 * inet/inet6_scopeid_pton.c: New file.
6585 * inet/net-internal.h: Likewise.
6586 * inet/tst-inet6_scopeid_pton.c: New test.
6587 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6588 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6590
6591 2016-09-14 Florian Weimer <fweimer@redhat.com>
6592
6593 Remove support for compiling wrappers with PTW.
6594 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6595 * nptl/Makefile (pthread-compat-wrappers): Define.
6596 (libpthread-routines): Use pthread-compat-wrappers.
6597 * sysdeps/unix/sysv/linux/alpha/Makefile
6598 (libpthread-routines, libpthread-shared-only-routines): Remove
6599 ptw- prefix.
6600 * sysdeps/s390/nptl/Makefile
6601 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6602 * sysdeps/ia64/nptl/Makefile
6603 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6604 * sysdeps/nacl/Makefile (libpthread-routines): Use
6605 pthread-compat-wrappers to filter the routines list instead of the
6606 ptw- prefix.
6607
6608 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6609
6610 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6611 with L() and remove explicit suffix, convert real literals
6612 which can be equivalentally substituted with integers, and
6613 transform -L(x) to L(-x).
6614
6615 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6663 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6665
6666 2016-09-13 Florian Weimer <fweimer@redhat.com>
6667
6668 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6669
6670 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6671
6672 * malloc/Makefile (tests): Remove individual static test names
6673 and just add all of tests-static.
6674
6675 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6676
6677 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6678
6679 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6680 file.
6681
6682 * sysdeps/sparc/fpu/fegetmode.c: New file.
6683 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6684
6685 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6686 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6687
6688 * sysdeps/s390/fpu/fegetmode.c: New file.
6689 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6690
6691 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6692 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6693 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6694 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6696 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6697
6698 * sysdeps/mips/fpu/fegetmode.c: New file.
6699 * sysdeps/mips/fpu/fesetmode.c: Likewise.
6700
6701 * sysdeps/m68k/fpu/fegetmode.c: New file.
6702 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6703
6704 * sysdeps/ia64/fpu/fegetmode.c: New file.
6705 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6706
6707 * sysdeps/hppa/fpu/fegetmode.c: New file.
6708 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6709
6710 * sysdeps/arm/fegetmode.c: New file.
6711 * sysdeps/arm/fesetmode.c: Likewise.
6712
6713 * sysdeps/alpha/fpu/fegetmode.c: New file.
6714 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6715
6716 * sysdeps/aarch64/fpu/fegetmode.c: New file.
6717 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6718
6719 * math/fegetmode.c: New file.
6720 * math/fesetmode.c: Likewise.
6721 * sysdeps/i386/fpu/fegetmode.c: Likewise.
6722 * sysdeps/i386/fpu/fesetmode.c: Likewise.
6723 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6724 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6725 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6726 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6727 declaration.
6728 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6729 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6730 typedef.
6731 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6732 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6733 (femode_t): New typedef.
6734 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6735 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6736 (femode_t): New typedef.
6737 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6738 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6739 (femode_t): New typedef.
6740 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6741 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6742 (femode_t): New typedef.
6743 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6744 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6745 (femode_t): New typedef.
6746 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6747 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6748 (femode_t): New typedef.
6749 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6750 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6751 (femode_t): New typedef.
6752 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6753 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6754 (femode_t): New typedef.
6755 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6756 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6757 (femode_t): New typedef.
6758 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6759 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6760 (femode_t): New typedef.
6761 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6762 declaration.
6763 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6764 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6765 (femode_t): New typedef.
6766 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6767 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6768 (femode_t): New typedef.
6769 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6770 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6771 (femode_t): New typedef.
6772 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6773 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6774 (femode_t): New typedef.
6775 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6776 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6777 (femode_t): New typedef.
6778 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6779 * manual/arith.texi (FE_DFL_MODE): Document macro.
6780 (fegetmode): Document function.
6781 (fesetmode): Likewise.
6782 * math/Versions (fegetmode): New libm symbol at version
6783 GLIBC_2.25.
6784 (fesetmode): Likewise.
6785 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6786 (tests): Add test-femode and test-femode-traps.
6787 * math/test-femode-traps.c: New file.
6788 * math/test-femode.c: Likewise.
6789 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6790 alias for __fe_dfl_env.
6791 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6792 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6793 (__fe_dfl_mode): Likewise.
6794 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6795 version GLIBC_2.25.
6796 * sysdeps/nacl/libm.abilist: Update.
6797 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6798 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6799 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6800 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6801 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6802 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6803 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6804 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6805 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6806 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6807 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6808 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6810 Likewise.
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6812 Likewise.
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6814 Likewise.
6815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6816 Likewise.
6817 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6818 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6819 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6820 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6821 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6823 Likewise.
6824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6825 Likewise.
6826 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6827 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6828 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6829
6830 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6831
6832 [BZ #20495]
6833 [BZ #20508]
6834 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6835 processors, set Use_dl_runtime_resolve_slow and set
6836 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6837 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6838 New.
6839 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6840 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6841 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6842 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6843 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6844 if Use_dl_runtime_resolve_opt is set. Use
6845 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6846 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6847 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6848 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6849 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6850 New.
6851 (_dl_runtime_resolve_opt): Likewise.
6852 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6853 defined.
6854
6855 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6856
6857 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6858 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6859
6860 2016-09-06 Florian Weimer <fweimer@redhat.com>
6861
6862 Convert malloc to __libc_lock. Automated part, using this Perl
6863 s/// command:
6864 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6865 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6866 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6867 conversion.
6868
6869 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6870
6871 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6872 (linknamespace-symlists-tests): Likewise.
6873 (linknamespace-header-tests): Likewise.
6874
6875 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6876
6877 [BZ #19810]
6878 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6879 * elf/tst-noload.c: New test case.
6880 * elf/Makefile (tests): Add tst-noload.
6881
6882 2016-09-02 Roland McGrath <roland@hack.frob.com>
6883
6884 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6885
6886 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6887 not any more.
6888
6889 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6890
6891 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6892
6893 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6894 (do_cos_slow): Likewise.
6895 (do_sin): Likewise.
6896 (do_sin_slow): Likewise.
6897 (slow): Likewise.
6898 (slow1): Likewise.
6899 (slow2): Likewise.
6900 (sloww): Likewise.
6901 (sloww1): Likewise.
6902 (sloww2): Likewise.
6903 (bsloww): Likewise.
6904 (bsloww1): Likewise.
6905 (bsloww2): Likewise.
6906 (cslow2): Likewise.
6907
6908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6909
6910 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6911 arguments. Consolidate input partitioning from callers here.
6912 (do_cos_slow): Likewise.
6913 (do_sin): Likewise.
6914 (do_sin_slow): Likewise.
6915 (do_sincos_1): Remove the no longer necessary input partitioning.
6916 (do_sincos_2): Likewise.
6917 (__sin): Likewise.
6918 (__cos): Likewise.
6919 (slow1): Likewise.
6920 (slow2): Likewise.
6921 (sloww1): Likewise.
6922 (sloww2): Likewise.
6923 (bsloww1): Likewise.
6924 (bsloww2): Likewise.
6925 (cslow2): Likewise.
6926
6927 2016-09-02 Florian Weimer <fweimer@redhat.com>
6928
6929 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6930 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6931 outside of allocated array.
6932
6933 2016-09-02 Florian Weimer <fweimer@redhat.com>
6934
6935 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6936 instead of MB_CUR_MAX to avoid variable-length array.
6937
6938 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6939
6940 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6941 (type-double-routines): Add k_rem_pio2.
6942 (type-float-routines): Add k_rem_pio2f.
6943
6944 * sysdeps/generic/math_private.h:
6945 (__kernel_rem_pio2l): Removed.
6946
6947 * math/k_rem_pio2l.c: Removed.
6948 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6949 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6950 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6951 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6952
6953 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6954
6955 * math/Makefile (gen-libm-calls): Add s_fmin
6956 (libm-calls): Remove above.
6957
6958 * math/s_fmin.c: Refactor into ...
6959 * math/s_fmin_template.c: New file.
6960
6961 * math/s_fminf.c: Removed.
6962 * math/s_fminl.c: Removed.
6963 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6964 (LDOUBLE_fmin_libm_version): New macro.
6965
6966 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6967 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6968
6969 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6970
6971 * math/Makefile: (gen-libm-calls): Add s_fmax.
6972 (libm-calls): Remove above.
6973
6974 * math/s_fmax.c: Refactor into ...
6975 * math/s_fmax_template.c: New file.
6976 * math/s_fmaxf.c: Removed.
6977 * math/s_fmaxl.c: Removed.
6978
6979 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6980 (LDOUBLE_fmaxl_libm_version): New macro.
6981
6982 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6983 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6984
6985 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6986 s_fmin.c to pick the aarch64 version of the file.
6987 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6988 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6989
6990 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6991
6992 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6993 (libm-calls): Remove above.
6994
6995 * math/s_nextdown.c: Refactor into ...
6996 * math/s_nextdown_template.c: New file.
6997 * math/s_nextdownf.c: Removed.
6998 * math/s_nextdownl.c: Removed.
6999
7000 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7001
7002 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7003
7004 * math/Makefile (gen-libm-calls): Add s_fdim.
7005 (libm-calls): Move to above.
7006
7007 * math/s_fdim.c: Renamed and refactored into to ...
7008 * math/s_fdim_template.c: New file.
7009 * math/s_fdiml.c: Removed.
7010 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7011 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7012
7013 * sysdeps/generic/math-type-macros-double.h:
7014 (declare_mgen_alias): Don't declare if already declared.
7015 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7016 Likewise.
7017
7018 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7019 (declare_mgen_alias): Don't declare if already declared.
7020 (M_LIBM_NEED_COMPAT): Likewise.
7021 (declare_mgen_libm_compat): Likewise.
7022 (LDOUBLE_fdiml_libm_version): New macro.
7023
7024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7025 Include math/s_fdim.c now that ldbl-opt version is not needed.
7026 (declare_mgen_alias): New macro to disable aliasing.
7027
7028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7029 (declare_mgen_alias): Likewise.
7030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7031 (declare_mgen_alias): Likewise.
7032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7033 (declare_mgen_alias): Likewise.
7034 (M_LIBM_NEED_COMPAT): Likewise.
7035
7036 2016-09-01 Florian Weimer <fweimer@redhat.com>
7037
7038 [BZ #20525]
7039 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7040 Include <linux/quota.h>.
7041 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7042 and btodb.
7043 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7044 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7045 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7046 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7047 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7048 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7049 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7050 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7051 types.
7052 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7053 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7054
7055 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7056
7057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7058 (gammal_positive): Fix spacing.
7059 (__ieee754_gammal_r): Likewise.
7060
7061 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7062
7063 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7064 (_Float128): Define as long double, always.
7065 (L): Apply long double type suffix, always.
7066
7067 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7068 _Float128, excepting comments.
7069
7070 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7071 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7072 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7073 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7074 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7075 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7078 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7079 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7094 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7095 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7096 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7097 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7098 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7099 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7103 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7104 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7105 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7106 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7107 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7111 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7112 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7113 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7114 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7115 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7116 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7117 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7118 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7119 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7120 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7121 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7123 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7124 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7125 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7129 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7133 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7135 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7136 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7137 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7138
7139 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7140 _Float128, and include math_private.h.
7141 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7142
7143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7144 long double semantics.
7145 (_Float128): Likewise.
7146 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7149 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7150
7151 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7152
7153 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7154 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7155 * sysdeps/s390/configure: Regenerated.
7156 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7157 instruction for raising over-/underflow if z196 zarch is supported
7158 by default.
7159 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7160
7161 2016-08-30 Svante Signell <svante.signell@gmail.com>
7162
7163 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7164 it point to a dumb buffer for RPC to fill it.
7165
7166 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
7167
7168 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7169 instead of if/else.
7170 (do_sin_slow): Likewise.
7171 (do_sincos_1): Use fabs instead of if/else.
7172 (do_sincos_2): Likewise.
7173 (__sin): Likewise.
7174 (__cos): Likewise.
7175 (slow2): Likewise.
7176 (sloww): Likewise.
7177 (sloww1): Likewise. Drop argument M.
7178 (sloww2): Use fabs instead of if/else.
7179 (bsloww): Likewise.
7180 (bsloww1): Likewise.
7181 (bsloww2): Likewise.
7182
7183 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7184 fall through comment.
7185 (do_sincos_1): Likewise.
7186
7187 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7188 Consolidate switch cases 0 and 2.
7189
7190 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7191
7192 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7193 (libm-calls): Remove the above.
7194
7195 * math/s_cexp_template.c: Update using type-generic macros.
7196 * math/s_clog10_template.c: Likewise.
7197 * math/s_cpow_template.c: Likewise.
7198 * math/s_clog_template.c: Likewise.
7199 * math/s_cproj_template.c: Likewise.
7200 * math/s_csqrt_template.c: Likewise.
7201
7202 * math/s_cexp.c: Removed.
7203 * math/s_cexpf.c: Removed.
7204 * math/s_cexpl.c: Removed.
7205 * math/s_clog10.c: Removed.
7206 * math/s_clog10f.c: Removed.
7207 * math/s_clog10l.c: Removed.
7208 * math/s_cpow.c: Removed.
7209 * math/s_cpowf.c: Removed.
7210 * math/s_cpowl.c: Removed.
7211 * math/s_clog.c: Removed.
7212 * math/s_clogf.c: Removed.
7213 * math/s_clogl.c: Removed.
7214 * math/s_cproj.c: Removed.
7215 * math/s_cprojf.c: Removed.
7216 * math/s_cprojl.c: Removed.
7217 * math/s_csqrt.c: Removed.
7218 * math/s_csqrtf.c: Removed.
7219 * math/s_csqrtl.c: Removed.
7220
7221 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7222 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7223 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7224 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7225 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7226 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7227
7228 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7229 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7230 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7231 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7232 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7233 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7234 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7235 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7236 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7237 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7238 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7239
7240 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7241 version.
7242
7243 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7244 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7245 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7246 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7247
7248 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7249
7250 * s_cexp_template.c: Copy of s_cexp.c.
7251 * s_clog_template.c: Copy of s_clog.c.
7252 * s_clog10_template.c: Copy of s_clog10.c.
7253 * s_cpow_template.c: Copy of s_cpow.c.
7254 * s_cproj_template.c: Copy of s_cproj.c.
7255 * s_csqrt_template.c: Copy of s_csqrt.c.
7256
7257 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7258
7259 [BZ #20517]
7260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7261 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7262 exported.
7263
7264 2016-08-29 Joseph Myers <joseph@codesourcery.com>
7265
7266 * math/fetestexceptflag.c: New file.
7267 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
7268 Stefan Liebler.
7269 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7270 (fetestexceptflag): New function declaration.
7271 * manual/arith.texi (fetestexceptflag): Document function.
7272 * math/Versions (fetestexceptflag): New libm symbol at version
7273 GLIBC_2.25.
7274 * math/Makefile (libm-support): Add fetestexceptflag.
7275 (tests): Add test-fetestexceptflag.
7276 * math/test-fetestexceptflag.c: New file.
7277 * sysdeps/nacl/libm.abilist: Update.
7278 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7279 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7280 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7281 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7282 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7283 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7284 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7285 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7286 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7287 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7288 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7289 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7291 Likewise.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7293 Likewise.
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7295 Likewise.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7297 Likewise.
7298 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7299 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7300 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7301 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7302 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7304 Likewise.
7305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7306 Likewise.
7307 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7308 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7310
7311 2016-08-26 Florian Weimer <fweimer@redhat.com>
7312
7313 [BZ #20432]
7314 Avoid strong references to malloc-internal symbols when linking
7315 statically, to support statically interposed mallocs.
7316 * include/libc-symbols.h (call_function_static_weak): New macro.
7317 * malloc/Makefile (tests): Add tst-interpose-nothread,
7318 tst-interpose-thread, tst-interpose-static-nothread,
7319 tst-interpose-static-thread.
7320 (tests-static): Add tst-interpose-static-nothread,
7321 tst-interpose-static-thread.
7322 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7323 tst-interpose-aux-thread.o.
7324 (test-extras): Add tst-interpose-aux-nothread,
7325 tst-interpose-aux-thread.
7326 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7327 tst-interpose-aux-nothread.o.
7328 (tst-interpose-thread, tst-interpose-static-thread): Link with
7329 tst-interpose-aux-thread.o and libthread.
7330 * malloc/tst-interpose-aux-nothread.c: New file.
7331 * malloc/tst-interpose-aux-thread.c: Likewise.
7332 * malloc/tst-interpose-aux.c: Likewise.
7333 * malloc/tst-interpose-aux.h: Likewise.
7334 * malloc/tst-interpose-nothread.c: Likewise.
7335 * malloc/tst-interpose-skeleton.c: Likewise.
7336 * malloc/tst-interpose-static-nothread.c: Likewise.
7337 * malloc/tst-interpose-static-thread.c: Likewise.
7338 * malloc/tst-interpose-thread.c: Likewise.
7339 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7340 * sysdeps/mach/hurd/fork.c (__fork): Only call
7341 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7342 __malloc_fork_unlock_child if defined.
7343 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7344
7345 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7346
7347 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7348 timespec C99 designated initialization.
7349
7350 2016-08-26 Florian Weimer <fweimer@redhat.com>
7351
7352 [BZ #19946]
7353 Avoid expected SIGALRM signals.
7354 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7355 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7356 (xpthread_create, xpthread_detach, xpthread_join)
7357 (delayed_exit_thread, delayed_exit): New functions.
7358 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7359 (tf): Use xpthread_cond_wait.
7360 (do_test): Likewise. Replace alarm with delayed_exit.
7361 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7362 (do_test): Call delayed_exit. Report failure.
7363 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7364 (do_test): Call delayed_exit.
7365 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7366 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7367 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7368 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7369 error.
7370 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7371 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7372 error.
7373 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7374 (do_test): Call delayed_exit.
7375 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7376 (do_test): Call delayed_exit.
7377 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7378 (do_test): Call delayed_exit instead of alarm. Use
7379 xpthread_mutex_lock.
7380 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7381 (do_test): Call delayed_exit instead of alarm. Use
7382 xpthread_mutex_lock.
7383 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7384 (do_test): Call delayed_exit instead of alarm.
7385 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7386 (do_test): Call delayed_exit instead of alarm. Use
7387 xpthread_spin_lock.
7388 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7389 (do_test): Call delayed_exit instead of alarm. Use
7390 xpthread_join.
7391
7392 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7393
7394 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7395 adjust CFA when allocating register save area on re-aligned
7396 stack.
7397
7398 2016-08-26 Florian Weimer <fweimer@redhat.com>
7399
7400 * string/tst-cmp.c: New test.
7401 * string/Makefile (tests): Add it.
7402
7403 2016-08-25 Mark Wielaard <mark@klomp.org>
7404
7405 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7406 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7407 (check_tree_recurse): Use newly defined accessors.
7408 (check_tree): Likewise.
7409 (maybe_split_for_insert): Likewise.
7410 (__tfind): Likewise.
7411 (__tdelete): Likewise.
7412 (trecurse): Likewise.
7413 (tdestroy_recurse): Likewise.
7414 (__tsearch): Likewise. And add asserts for malloc alignment.
7415 (__twalk): Cast root to node in case CHECK_TREE is defined.
7416
7417 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7418
7419 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7420
7421 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7422
7423 * math/Makefile (libm-gen-calls): Add
7424 catan, catanh, ctan, ctanh.
7425 (libm-calls): Remove the above.
7426
7427 * math/s_catan_template.c: Update using type-generic macros.
7428 * math/s_catanh_template.c: Likewise.
7429 * math/s_ctan_template.c: Likewise.
7430 * math/s_ctanh_template.c: Likewise.
7431
7432 * math/s_catanf.c: Removed.
7433 * math/s_catan.c: Removed.
7434 * math/s_catanl.c: Removed.
7435 * math/s_catanhf.c: Removed.
7436 * math/s_catanh.c: Removed.
7437 * math/s_catanhl.c: Removed.
7438 * math/s_ctanf.c: Removed.
7439 * math/s_ctan.c: Removed.
7440 * math/s_ctanl.c: Removed.
7441 * math/s_ctanhf.c: Removed.
7442 * math/s_ctanh.c: Removed.
7443 * math/s_ctanhl.c: Removed.
7444
7445 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7446 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7447 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7448 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7449 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7450 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7451
7452 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7453 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7454 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7455 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7456
7457 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7458
7459 * s_catan_template.c: Copy of s_catan.c.
7460 * s_catanh_template.c: Copy of s_catanh.c.
7461 * s_ctan_template.c: Copy of s_ctan.c.
7462 * s_ctanh_template.c: Copy of s_ctanh.c.
7463
7464 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7465
7466 * math/Makefile (gen-libm-calls): Move
7467 casin, casinh, csin, csinh here.
7468 (libm-calls): Remove the above.
7469
7470 * math/s_casin_template.c: Update using type-generic macros.
7471 * math/s_casinh_template.c: Likewise.
7472 * math/s_csin_template.c: Likewise.
7473 * math/s_csinh_template.c: Likewise.
7474 * math/k_casinh_template.c: Likewise.
7475
7476 * math/s_casinf.c: Removed.
7477 * math/s_casin.c: Removed.
7478 * math/s_casinl.c: Removed.
7479 * math/s_casinh.c: Removed.
7480 * math/s_casinhf.c: Removed.
7481 * math/s_casinhl.c: Removed.
7482 * math/s_csin.c: Removed.
7483 * math/s_csinf.c: Removed.
7484 * math/s_csinl.c: Removed.
7485 * math/s_csinh.c: Removed.
7486 * math/s_csinhf.c: Removed.
7487 * math/s_csinhl.c: Removed.
7488 * math/k_casinh.c: Removed.
7489 * math/k_casinhf.c: Removed.
7490 * math/k_casinhl.c: Removed.
7491
7492 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7493 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7494 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7495 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7496
7497 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7498 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7499 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7500 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7501 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7502 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7503 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7504 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7505
7506 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7507 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7508 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7509 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7510
7511 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7512 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7513 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7514 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7515
7516 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7517
7518 * s_casin_template.c: Copy of s_casin.c.
7519 * s_casinh_template.c: Copy of s_casinh.c.
7520 * s_csin_template.c: Copy of s_csin.c.
7521 * s_csinh_template.c: Copy of s_csinh.c.
7522 * k_casinh_template.c: Copy of k_casinh.c.
7523
7524 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7525
7526 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7527
7528 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7529
7530 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7531 (mul_split) Remove, rename as mul_splitl, remove
7532 redundant float.h include, and include via mul_splitl.h
7533
7534 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7535 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7536 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7537 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7538 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7539
7540 * math/mul_splitl.h: New file.
7541
7542 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7543 Move into mul_split.h, and remove redundant float.h include.
7544
7545 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7549
7550 * math/mul_split.h: New file.
7551
7552 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7553
7554 * math/Makefile (libm-gen-calls): Move
7555 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7556 (libm-calls): Remove above.
7557
7558 * math/s_cacos_template.c: Update using type-generic macros.
7559 * math/s_cacosh_template.c: Likewise.
7560 * math/s_ccos_template.c: Likewise.
7561 * math/s_ccosh_template.c: Likewise.
7562
7563 * math/s_cacosf.c: Removed.
7564 * math/s_cacos.c: Removed.
7565 * math/s_cacosl.c: Removed.
7566 * math/s_cacoshf.c: Removed.
7567 * math/s_cacosh.c: Removed.
7568 * math/s_cacoshl.c: Removed.
7569 * math/s_ccosf.c: Removed.
7570 * math/s_ccos.c: Removed.
7571 * math/s_ccosl.c: Removed.
7572 * math/s_ccoshf.c: Removed.
7573 * math/s_ccosh.c: Removed.
7574 * math/s_ccoshl.c: Removed.
7575
7576 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7577 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7578 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7579 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7580 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7581 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7582
7583 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7584 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7585 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7586 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7587
7588 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7589 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7590 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7591 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7592
7593 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7594
7595 * s_cacos_template.c: Copy of s_cacos.c.
7596 * s_cacosh_template.c: Copy of s_cacosh.c.
7597 * s_ccos_template.c: Copy of s_ccos.c.
7598 * s_ccosh_template.c: Copy of s_ccosh.c.
7599
7600 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7601
7602 * stdlib/tst-strtod-round-skeleton.c:
7603 Refactored from tst-strtod-round.c.
7604
7605 (L_): New macro to apply literal modifier.
7606 (FNPFX): New macro to select str or wcs prefix.
7607 (CHAR): New macro to choose wchar_t or char.
7608 (STRM): New macro to choose printf for tested character type.
7609
7610 (STRTO): New macro to choose appropriate string -> real function.
7611 (FNPFXS): Stringitized version of FNPFX.
7612 (STR): Support for above macro.
7613 (STRX): Likewise.
7614
7615 (TEST): Update with above macros.
7616 (test): Likewise.
7617 (GEN_ONE_TEST): Likewise.
7618 (test_in_one_mode): Likewise.
7619
7620 * stdlib/tst-strtod-round.c: New file.
7621 * wcsmbs/tst-wcstod-round.c: New file.
7622
7623 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7624 (tst-wcstod-round): Add libm depencency for fesetround.
7625
7626 2016-08-19 Zack Weinberg <zackw@panix.com>
7627
7628 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7629
7630 2016-08-18 Torvald Riegel <triegel@redhat.com>
7631
7632 [BZ #20477]
7633 * resolv/res_hconf.c (do_init): Use atomic access.
7634 * resolv/res_hconf.h: Add comments.
7635 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7636 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7638
7639 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7640
7641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7642 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7644 Likewise.
7645
7646 2016-08-18 Florian Weimer <fweimer@redhat.com>
7647
7648 [BZ #16907]
7649 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7650 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7651 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7652 (__attribute__): Remove definition.
7653
7654 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7655
7656 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7657 Remove unused sqrtl declaration.
7658
7659 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7660
7661 * math/Makefile: (gen-libm-templates.stmp): New rule.
7662 (libm-calls): Move carg conj cimag and cabs into ...
7663 (gen-libm-calls): New variable.
7664 (generated): Inform Make objects from gen-libm-calls
7665 may be generated.
7666
7667 * sysdeps/generic/math-type-macros.h: New file.
7668 * sysdeps/generic/math-type-macros-float.h: Likewise.
7669 * sysdeps/generic/math-type-macros-double.h: Likewise.
7670 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7671 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7672 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7673
7674 * math/cabs.c: Refactor into
7675 * math/cabs_template.c: new file.
7676 * math/cabsf.c: Removed.
7677 * math/cabsl.c: Removed.
7678 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7679 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7680
7681 * math/carg.c: Refactor into
7682 * math/carg_template.c: new file.
7683 * math/cargf.c: Removed.
7684 * math/cargl.c: Removed.
7685 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7686 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7687
7688 * math/conj.c: Refactor into
7689 * math/conj_template.c: new file.
7690 * math/conjf.c: Removed.
7691 * math/conjl.c: Removed.
7692 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7693 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7694
7695 * math/cimag.c: Refactor into
7696 * math/cimag_template.c: new file.
7697 * math/cimagf.c: Removed.
7698 * math/cimagl.c: Removed.
7699 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7700 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7701
7702 * math/cimag.c: Refactor into
7703 * math/cimag_template.c: new file.
7704 * math/cimagf.c: Removed.
7705 * math/cimagl.c: Removed.
7706 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7707 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7708
7709 2016-08-17 Florian Weimer <fweimer@redhat.com>
7710
7711 Reduce time to expected nptl/tst-once5 failure.
7712 * nptl/tst-once5.cc (TIMEOUT): Define.
7713
7714 2016-08-17 Florian Weimer <fweimer@redhat.com>
7715
7716 [BZ #20452]
7717 Avoid additional copies of objects in libc.a in static libraries.
7718 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7719 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7720 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7721 rt-sysdep.
7722 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7723 Add nptl-sysdep.
7724 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7725 Add ptw-sysdep.
7726 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7727 rt-sysdep.
7728 * sysdeps/unix/sysv/linux/alpha/Makefile
7729 (libpthread-shared-only-routines): Add ptw-sysdep,
7730 ptw-sigprocmask, ptw-rt_sigaction.
7731 * sysdeps/unix/sysv/linux/ia64/Makefile
7732 (librt-shared-only-routines): Add rt-sysdep.
7733 * sysdeps/unix/sysv/linux/i386/Makefile
7734 (libpthread-shared-only-routines): Add libc-do-syscall.
7735 * sysdeps/unix/sysv/linux/microblaze/Makefile
7736 (libpthread-shared-only-routines): Add sysdep.
7737 * sysdeps/unix/sysv/linux/powerpc/Makefile
7738 (librt-shared-only-routines): Add rt-sysdep.
7739 (libpthread-shared-only-routines): Add sysdep.
7740 * sysdeps/unix/sysv/linux/s390/Makefile
7741 (librt-shared-only-routines): Add rt-sysdep.
7742 * sysdeps/unix/sysv/linux/sparc/Makefile
7743 (librt-shared-only-routines): Add rt-sysdep.
7744 (libpthread-shared-only-routines): Add sysdep.
7745 * sysdeps/unix/sysv/linux/tile/Makefile
7746 (libpthread-shared-only-routines): Likewise.
7747
7748 2016-08-16 Joseph Myers <joseph@codesourcery.com>
7749
7750 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7751 Mask implicit bit out of unpacked value.
7752 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7753 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7754 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7755
7756 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7757
7758 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7759
7760 * sysdeps/s390/fpu/fesetexcept.c: New file.
7761
7762 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7763 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7764 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7765
7766 * sysdeps/mips/fpu/fesetexcept.c: New file.
7767
7768 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7769
7770 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7771
7772 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7773
7774 * sysdeps/arm/fesetexcept.c: New file.
7775
7776 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7777
7778 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7779
7780 * math/fesetexcept.c: New file.
7781 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7782 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7783 * math/fenv.h: Define
7784 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7785 <bits/libc-header-start.h> instead of including <features.h>.
7786 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7787 declaration.
7788 * manual/arith.texi (fesetexcept): Document function.
7789 * math/Versions (fesetexcept): New libm symbol at version
7790 GLIBC_2.25.
7791 * math/Makefile (libm-support): Add fesetexcept.
7792 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7793 * math/test-fesetexcept.c: New file.
7794 * math/test-fesetexcept-traps.c: Likewise.
7795 * sysdeps/nacl/libm.abilist: Update.
7796 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7797 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7798 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7799 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7800 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7801 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7802 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7803 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7804 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7805 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7806 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7807 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7809 Likewise.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7811 Likewise.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7813 Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7815 Likewise.
7816 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7817 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7818 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7819 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7822 Likewise.
7823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7824 Likewise.
7825 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7827 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7828
7829 2016-08-16 Florian Weimer <fweimer@redhat.com>
7830
7831 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7832 New.
7833 (do_test): Apply default_stack_size_in_mb if not set.
7834 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7835
7836 2016-08-15 Andreas Schwab <schwab@suse.de>
7837
7838 [BZ #20435]
7839 CVE-2016-6323
7840 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7841 as .cantunwind.
7842
7843 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7844
7845 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7846 comment from fraiseexcpt.c.
7847
7848 * math/test-fexcept.c (feraiseexcept_exact): New function.
7849 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7850 (test_except): Likewise.
7851
7852 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7853
7854 [BZ #20455]
7855 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7856 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7857 to be restored.
7858
7859 * math/test-fexcept-traps.c: New file.
7860 * math/test-fexcept.c: Likewise.
7861 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7862 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7863 macro.
7864 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7865 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7866
7867 2016-08-09 Torvald Riegel <triegel@redhat.com>
7868
7869 * include/atomic.h (atomic_fetch_and_relaxed,
7870 atomic_fetch_and_release, atomic_fetch_or_release,
7871 atomic_fetch_xor_release): New.
7872
7873 2016-08-06 Christian Seiler <christian@iwakd.de>
7874
7875 [BZ #20444]
7876 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7877 MACH_PORT_NULL.
7878
7879 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7880
7881 * math/s_fdim.c: Avoid alias renamed.
7882 * math/s_fdimf.c: Likewise.
7883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7884 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7885 Add s_fdimf-vis3, s_fdim-vis3.
7886 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7887 (CFLAGS-s_fdim-vis3.c): Likewise.
7888 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7889 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7890
7891 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7892
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7894 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7895 Remove s_fdimf-vis3, s_fdim-vis3.
7896 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7897 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7904 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7905 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7906
7907 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7908
7909 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7910 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7911 -Wa,-Av9a -mvis.
7912
7913 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7914
7915 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7916 LIT() to individual constants in simple expressions
7917 after splitting on spaces.
7918 (_apply_lit): Rename replaced version, and use it to
7919 apply to what appears to be a token.
7920
7921 * math/libm-test.inc: Fix many, many issues with
7922 spacing.
7923
7924 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7925
7926 * math/math.h: Move comment about <bits/mathdef.h> definitions
7927 above inclusion of <bits/mathdef.h>. Do not mention
7928 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7929
7930 2016-08-05 Torvald Riegel <triegel@redhat.com>
7931
7932 * include/atomic.h (atomic_exchange_relaxed): New.
7933
7934 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7935
7936 * math/e_scalb.c: Do not include <fenv.h>.
7937 (invalid_fn): Do calculation resulting in NaN instead of raising
7938 FE_INVALID and returning a NaN explicitly.
7939 * math/e_scalbf.c: Do not include <fenv.h>.
7940 (invalid_fn): Do calculation resulting in NaN instead of raising
7941 FE_INVALID and returning a NaN explicitly.
7942 * math/e_scalbl.c: Do not include <fenv.h>.
7943 (invalid_fn): Do calculation resulting in NaN instead of raising
7944 FE_INVALID and returning a NaN explicitly.
7945
7946 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7947
7948 * po/de.po: Updated from Translation Project.
7949 * po/fi.po: Likewise.
7950 * po/sv.po: Likewise.
7951
7952 2016-08-04 Florian Weimer <fweimer@redhat.com>
7953
7954 [BZ #20452]
7955 Use sysdep.o from libc.a in static libraries.
7956 * sysdeps/unix/sysv/linux/i386/Makefile
7957 (libpthread-shared-only-routines): Add sysdep.
7958 (librt-shared-only-routines): Likewise.
7959
7960 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7961
7962 * math/tgmath.h (nextdown): Define if
7963 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7964 (nextup): Likewise.
7965
7966 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7967 macro.
7968 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7969 Document.
7970 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7971 Document macro.
7972 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7973 (exp10f): Likewise.
7974 (exp10l): Likewise.
7975 * math/bits/mathcalls.h (exp10): Declare if
7976 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7977
7978 * manual/arith.texi (nextup): Fix typo in last change.
7979
7980 2016-08-03 Zack Weinberg <zackw@panix.com>
7981
7982 [BZ #19239]
7983 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7984 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7985 define major, minor, and makedev to issue deprecation warnings on use.
7986 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7987 previously-activated deprecation warnings for these macros and prevent
7988 subsequent inclusions of this header from having any effect.
7989 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7990 including <sys/sysmacros.h>, and undefine it again afterward.
7991
7992 2016-08-03 Zack Weinberg <zackw@panix.com>
7993
7994 * sysdeps/generic/sys/sysmacros.h: Delete file.
7995 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7997 * bits/sysmacros.h: ... here; this encoding is now the generic
7998 encoding. Now defines only the following macros:
7999 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8000 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8001 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8002
8003 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8004 bits/sysmacros.h and the above new macros to generate the
8005 public implementations of major, minor, and makedev.
8006 * misc/tst-makedev.c: New test.
8007 * include/sys/sysmacros.h: New wrapper.
8008
8009 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8010 (routines): Add makedev.
8011 (tests): Add tst-makedev.
8012 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8013 gnu_dev_makedev.
8014 * posix/Makefile (headers): Remove sys/sysmacros.h.
8015 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8016
8017 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8018 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8019 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8020 * sysdeps/unix/sysv/linux/alpha/libc.abilist
8021 * sysdeps/unix/sysv/linux/arm/libc.abilist
8022 * sysdeps/unix/sysv/linux/hppa/libc.abilist
8023 * sysdeps/unix/sysv/linux/i386/libc.abilist
8024 * sysdeps/unix/sysv/linux/ia64/libc.abilist
8025 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8026 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8027 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8028 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8029 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8030 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8031 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8032 * sysdeps/unix/sysv/linux/nios2/libc.abilist
8033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8037 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8038 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8039 * sysdeps/unix/sysv/linux/sh/libc.abilist
8040 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8041 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8044 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8045 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8046 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8047 Add GLIBC_2.25.
8048
8049 * include/features.h (__glibc_clang_prereq): New macro.
8050 * misc/sys/cdefs.h (__glibc_clang_has_extension)
8051 (__attribute_deprecated_msg__): New macros.
8052
8053 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8054
8055 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8056 macro.
8057 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8058 * manual/arith.texi (issignaling): Document as ISO from TS
8059 18661-1:2014.
8060 (nextup): Likewise.
8061 (nextupf): Likewise.
8062 (nextupl): Likewise.
8063 (nextdown): Likewise.
8064 (nextdownf): Likewise.
8065 (nextdownl): Likewise.
8066 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8067 macro.
8068 * math/math.h: Define
8069 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8070 <bits/libc-header-start.h> instead of including <features.h>.
8071 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8072 [__USE_GNU].
8073 * math/bits/mathcalls.h (nextdown): Declare if
8074 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8075 (nextup): Likewise.
8076 (__issignaling): Likewise.
8077
8078 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8079
8080 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8081 check, and remove __glibc_likely hint
8082 from FP_INFINITE check.
8083 * s_csinhf.c (__csinhf): Likewise.
8084
8085 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8086 hint from FP_INFINITE check.
8087 * s_csinhl.c (__csinhl): Likewise.
8088
8089 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8090
8091 * math/Makefile (libm-calls): Insert F placeholder into
8092 object names. Move w_lgamma_compat* routines into
8093 (libm-compat-calls): New variable.
8094 (libm-compat-calls-ldouble-yes): New variable.
8095 (calls): Insert F placeholder.
8096 (generated): Redefine using new type-foreach macro call.
8097 (routines): Likewise.
8098
8099 (types): New variable to hold a list of symbolic names
8100 for each type supported by the target machine.
8101 (libm-routines): Redefine using new types variable.
8102 (type-foreach): macro to replace fooF with the
8103 appropriately suffixed foo for each types.
8104
8105 (type-ldouble-suffix): New variable.
8106 (type-ldouble-routines): Likewise.
8107 (type-ldouble-yes): Likewise.
8108 (type-double-suffix): Likewise.
8109 (type-double-routines): Likewise.
8110 (type-float-suffix): Likewise.
8111 (type-float-routines): Likewise.
8112
8113 (dbl-only-routines): Remove.
8114 (long-c-yes): Likewise.
8115 (long-m-routines): Likewise.
8116 (long-m-support): Likewise.
8117 (long-m-yes): Likewise.
8118 (test-longdouble-yes): Likewise.
8119
8120 (test-float.o): Simplify by increasing the scope of the
8121 recipe which adds libm-test.stmp to the vector types.
8122 (test-ifloat.o): Likewise.
8123 (test-float-finite.o): Likewise.
8124 (test-double.o): Likewise
8125 (test-idouble.o): Likewise.
8126 (test-double-finite.o): Likewise.
8127 (test-ldouble.o): Likewise
8128 (test-ildoubl.o): Likewise.
8129 (test-ldouble-finite.o): Likewise.
8130
8131 (libm-tests): Redefine type tests using foreach and the
8132 list of types in types.
8133
8134 (CPPFLAGS-test-ildoubl.c): Rename to
8135 (CPPFLAGS-test-ildouble.c): New variable
8136
8137 * math/test-ildoubl.c: Rename to
8138 * math/test-ildouble.c: New file.
8139
8140 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8141
8142 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8143 Use fabsl instead of fabs.
8144 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8145 Likewise.
8146 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8147 Add long double suffix to constant to ensure proper
8148 promotion to long double.
8149
8150 2016-08-03 Tom Tromey <tom@tromey.com>
8151
8152 [BZ #20311]
8153 * nptl_db/Makefile (headers): Add proc_service.h.
8154 * nptl_db/proc_service.h: Add include guard. Use
8155 __BEGIN/__END_DECLS.
8156 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8157 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8158 arguments.
8159
8160
8161 2016-08-03 Florian Weimer <fweimer@redhat.com>
8162
8163 [BZ #17730]
8164 Avoid using memalign for TCB allocations.
8165 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8166 (_dl_allocate_tls_storage): Use malloc and manual alignment.
8167 Avoid alignment gap in the TLS_DTV_AT_TP case.
8168 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8169 determine the pointer to free.
8170 * nptl/tst-tls3-malloc.c: New test.
8171 * nptl/Makefile (tests): Add it.
8172 (tst-tls3-malloc): Link with libdl, libpthread.
8173 (LDFLAGS-tst-tls3-malloc): Set.
8174 (tst-tls3-malloc.out): Depend on DSO used in test.
8175
8176 2016-08-03 Florian Weimer <fweimer@redhat.com>
8177
8178 [BZ #17730]
8179 Avoid using memalign for TLS allocations.
8180 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
8181 is_static member with to_free member.
8182 (union dtv): Use struct dtv_pointer.
8183 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8184 dtv_pointer instead of is_static.
8185 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8186 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8187 instead of val.
8188 (allocate_dtv_entry): New function.
8189 (allocate_and_init): Return struct dtv_pointer. Call
8190 allocate_dtv_entry instead of __libc_memalign.
8191 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8192 instead of val.
8193 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8194 instead of is_static. Adjust call to allocate_and_init.
8195 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8196 struct dtv_pointer instead of val.
8197
8198 2016-08-03 Florian Weimer <fweimer@redhat.com>
8199
8200 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8201 (MALLOC_ALIGN_MASK): Move ...
8202 * malloc/malloc-internal.h: ... to here.
8203 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8204
8205 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8206
8207 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8208 (UDP_ENCAP_GTP1U): Likewise.
8209
8210 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8211 (PF_MAX): Update value.
8212 (AF_QIPCRTR): New macro.
8213
8214 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8215
8216 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8217 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8218 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8220 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8221 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8222 s_truncf-vis3, s_trunc-vis3.
8223 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8224 (CFLAGS-s_ceil-vis3.c): Likewise.
8225 (CFLAGS-s_floorf-vis3.c): Likewise.
8226 (CFLAGS-s_floor-vis3.c): Likewise.
8227 (CFLAGS-s_truncf-vis3.c): Likewise.
8228 (CFLAGS-s_trunc-vis3.c): Likewise.
8229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8237 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8241
8242 2016-08-02 David S. Miller <davem@davemloft.net>
8243
8244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8245 (__nearbyint_vis3): Don't check for sNaN before float register is
8246 loaded with the incoming argument.
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8248 (__nearbyintf_vis3): Likewise.
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8250 Likewise.
8251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8252 Likewise.
8253
8254 * string/test-strncmp.c (do_test_limit): Make sure the test data
8255 stream is aligned as required for the type "CHAR".
8256 (do_test): Likewise.
8257
8258 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8259
8260 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8261 by beq instructions jumping to the end of the function.
8262 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8263 clobber list. Use "i" constraint instead of "X".
8264 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8265 of "X".
8266
8267 2016-08-02 Joseph Myers <joseph@codesourcery.com>
8268
8269 * bits/libc-header-start.h: New file.
8270 * Makefile (headers): Add bits/libc-header-start.h.
8271 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8272 (__GLIBC_USE): New macro.
8273 * libio/stdio.h: Define
8274 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8275 <bits/libc-header-start.h> instead of including <features.h>.
8276 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8277 (open_memstream): Likewise.
8278 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8279 (__asprintf): Likewise.
8280 (asprintf): Likewise.
8281 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8282 (getdelim): Likewise.
8283 (getline): Likewise.
8284 * string/string.h: Define
8285 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8286 <bits/libc-header-start.h> instead of including <features.h>.
8287 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8288 (strndup): Likewise.
8289 * wcsmbs/wchar.h: Define
8290 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8291 <bits/libc-header-start.h> instead of including <features.h>.
8292 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8293 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8294
8295 2016-08-02 Florian Weimer <fweimer@redhat.com>
8296
8297 Support linking against compatibility symbols, for use in tests.
8298 * include/libc-symbols.h (symbol_version_reference): New macro.
8299 (symbol_version): Use it.
8300 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8301 (compat_symbol): Use compat_symbol_reference.
8302 (compat_symbol_1, compat_symbol_2): Remove.
8303 (compat_symbol_reference, compat_symbol_reference_1)
8304 (compat_symbol_reference_2): New macro. Use
8305 symbol_version_reference.
8306
8307 2016-08-02 Florian Weimer <fweimer@redhat.com>
8308
8309 [BZ #19469]
8310 * malloc/Makefile (CPPFLAGS): Compile tests with
8311 -DTEST_NO_MALLOPT.
8312 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8313
8314 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8315
8316 [BZ #20033]
8317 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8318 finite version.
8319 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8320 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8321 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8322 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8323 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8324 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8325 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8326 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8327 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8328 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8329 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8330 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8331 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8332 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8336 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8337 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8338 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8339 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8340 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8341 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8342 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8343 in zero power.
8344
8345 2016-08-02 Florian Weimer <fweimer@redhat.com>
8346
8347 [BZ #20370]
8348 * malloc/arena.c (get_free_list): Update comment. Assert that
8349 arenas on the free list have no attached threads.
8350 (remove_from_free_list): New function.
8351 (reused_arena): Call it.
8352
8353 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8354
8355 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8356 when it is a NaN.
8357 [_IEEE_FP_INEXACT] Remove.
8358 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8359 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8360 when it is a NaN.
8361 [_IEEE_FP_INEXACT] Remove.
8362 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8363 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8364 when it is a NaN.
8365 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8366 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8367 when its absolute value is greater than 0x1.0p52.
8368 [_IEEE_FP_INEXACT] Remove.
8369 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8370 when its absolute value is greater than 0x1.0p23.
8371 [_IEEE_FP_INEXACT] Remove.
8372
8373 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8374
8375 * version.h (RELEASE): Set to "development"
8376 (VERSION): Set to 2.24.90.
8377 * NEWS: Add 2.25 section.
8378
8379 * version.h (RELEASE): Set to "stable"
8380 (VERSION): Set to 2.24.
8381 * include/features.h (__GLIBC_MINOR__): Set to 24.
8382
8383 * NEWS: Add 2.24 fixed bugs.
8384 * po/libc.pot: Regenerate.
8385
8386 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8387
8388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8389 [$(subdir) = math] (libm-sysdep_routines): Remove.
8390 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8391 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8392 s_truncf-vis3, s_trunc-vis3.
8393 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8395 file.
8396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8429 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8430 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8431 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8432 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8433 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8434 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8435 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8436 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8437 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8438 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8439
8440 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8441
8442 [BZ #20384]
8443 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8444 test-double-libmvec-sincos-avx-main.o,
8445 test-double-libmvec-sincos-avx2-main.o,
8446 test-double-libmvec-sincos-main.o,
8447 test-float-libmvec-sincosf-avx-main.o,
8448 test-float-libmvec-sincosf-avx2-main.o and
8449 test-float-libmvec-sincosf-main.o.
8450 test-float-libmvec-sincosf-avx512-main.o.
8451 ($(objpfx)test-double-libmvec-sincos): Also link with
8452 $(objpfx)test-double-libmvec-sincos-main.o.
8453 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8454 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8455 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8456 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8457 ($(objpfx)test-float-libmvec-sincosf): Also link with
8458 $(objpfx)test-float-libmvec-sincosf-main.o.
8459 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8460 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8461 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8462 test-double-libmvec-sincos-avx512-main.o and
8463 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8464 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8465 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8466 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8467 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8468 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8469 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8470 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8471 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8472 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8473 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8474 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8475 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8476 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8477 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8478 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8479 -DREQUIRE_AVX2.
8480 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8481 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8482 -DREQUIRE_AVX512F.
8483 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8484 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8485 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8486 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8487 file.
8488 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8489 Likewise.
8490 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8491 Likewise.
8492 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8493 Likewise.
8494 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8495 Likewise.
8496 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8497 Likewise.
8498 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8499 Likewise.
8500 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8501 Likewise.
8502
8503 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8504
8505 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8506
8507 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8508
8509 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8510 and typo in a comment about AT_HWCAP entry.
8511
8512 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8513
8514 * sysdeps/aarch64/libm-test-ulps: Updated.
8515
8516 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8517
8518 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8519 of r13 as it is not restored in mvcle case.
8520
8521 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8522
8523 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8524 Rename "ret" to "__ret".
8525 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8526 inline_syscall5, inline_syscall6): Likewise.
8527
8528 2016-07-19 Will Newton <will.newton@gmail.com>
8529
8530 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8531 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8532 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8533 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8534 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8535
8536 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8539 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8540 -mfpmath=387 with $(rtld-CFLAGS).
8541 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8542 $(rtld-CFLAGS).
8543
8544 2016-07-18 Ross Burton <ross.burton@intel.com>
8545 Khem Raj <raj.khem@gmail.com>
8546
8547 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8548 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8549 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8550 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8551 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8552 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8553 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8554 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8555 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8556 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8557 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8558 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8559 R_METAG_TLS_DTPOFF): New.
8560
8561 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8562 Matt Clay <mclay@lycos.com>
8563
8564 [BZ #20357]
8565 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8566 to call __mpsin/__mpcos and to negate values.
8567 * math/auto-libm-test-in: Add test.
8568 * math/auto-libm-test-out: Regenerate.
8569
8570 2016-07-18 Zack Weinberg <zackw@panix.com>
8571
8572 * grp/Makefile: Don't install the internal header grp-merge.h.
8573
8574 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8575
8576 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8577
8578 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8579
8580 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8581
8582 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8583
8584 [BZ #15368]
8585 * sysdeps/unix/sysv/linux/nptl-signals.h
8586 (__nptl_clear_internal_signals): New function.
8587 (__libc_signal_block_all): Likewise.
8588 (__libc_signal_block_app): Likewise.
8589 (__libc_signal_restore_set): Likewise.
8590 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8591 implementation.
8592 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8593 the cached pid/tid value in pthread structure.
8594
8595 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8596
8597 [BZ #20347]
8598 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8599
8600 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8601
8602 [BZ #20348]
8603 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8604 preadv64, pwrite64 and pwritev64.
8605
8606 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8607
8608 [BZ #20350]
8609 * posix/tst-preadwrite.c: Renamed to ...
8610 * posix/tst-preadwrite-common.c: This.
8611 (PREAD): Removed.
8612 (PWRITE): Likewise.
8613 (STRINGIFY): Likewise.
8614 (STRINGIFY2): Likewise.
8615 (do_prepare): Make it static and remove function arguments.
8616 (do_test): Likewise.
8617 (PREPARE): Updated.
8618 (TEST_FUNCTION): New.
8619 (name): Make it static.
8620 (fd): Likewise.
8621 (do_prepare): Use create_temp_file.
8622 (do_test): Renamed to ...
8623 (do_test_with_offset): This. Make it static and accept offset.
8624 Properly check return value of PWRITE and PREAD. Return bytes
8625 read. Don't close fd nor unlink name.
8626 * posix/tst-preadwrite.c: Rewrite.
8627 * posix/tst-preadwrite64.c: Likewise.
8628
8629 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8630
8631 [BZ #20309]
8632 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8633 -mtls-dialect=gnu2 works.
8634 * configure: Regenerated.
8635 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8636 (tests): Add tst-gnu2-tls1.
8637 (modules-names): Add tst-gnu2-tls1mod.
8638 ($(objpfx)tst-gnu2-tls1): New.
8639 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8640 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8641 * elf/tst-gnu2-tls1.c: New file.
8642 * elf/tst-gnu2-tls1mod.c: Likewise.
8643 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8644 bytes for push in the PLT entry to align the stack.
8645
8646 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8647
8648 [BZ #20349]
8649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8650
8651 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8652
8653 [BZ #18707]
8654 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8655 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8656
8657 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8658
8659 * sysdeps/unix/sysv/linux/sysdep.h
8660 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8661 guards.
8662 * misc/tst-preadvwritev-common.c: New file.
8663 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8664 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8665 a check for files larger than 2GB.
8666
8667 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8668 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8669 * sysdeps/unix/sysv/linux/pread.c
8670 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8671 __OFF_T_MATCHES_OFF64_T.
8672 * sysdeps/unix/sysv/linux/pread64.c
8673 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8674 * sysdeps/unix/sysv/linux/preadv.c
8675 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8676 * sysdeps/unix/sysv/linux/preadv64.c
8677 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8678 * sysdeps/unix/sysv/linux/pwrite.c
8679 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8680 * sysdeps/unix/sysv/linux/pwrite64.c
8681 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8682 * sysdeps/unix/sysv/linux/pwritev.c
8683 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8684 * sysdeps/unix/sysv/linux/pwritev64.c
8685 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8686
8687 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8688
8689 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8690 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8691
8692 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8693
8694 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8695
8696 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8697
8698 [BZ #20240]
8699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8700 (CFLAGS-s_modf-ppc32.c): New variable.
8701 (CFLAGS-s_modff-ppc32.c): Likewise.
8702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8703 (CFLAGS-s_modf-ppc64.c): Likewise.
8704 (CFLAGS-s_modff-ppc64.c): Likewise.
8705
8706 2016-07-07 Andreas Schwab <schwab@suse.de>
8707
8708 [BZ #20263]
8709 * nptl/tst-robust10.c: New test.
8710 * nptl/Makefile (tests): Add tst-robust10.
8711
8712 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
8713
8714 [BZ #20263]
8715 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8716
8717 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
8718
8719 * sysdeps/s390/linkmap.h (struct link_map_machine):
8720 Remove member gotplt and add member jmprel.
8721 * sysdeps/s390/s390-32/dl-machine.h
8722 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8723 instead of gotplt with &got[3].
8724 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8725 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8726
8727 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
8728
8729 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8730
8731 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8732
8733 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8734 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8735 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8736 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8737 * libio/vtables.c (_IO_vtable_check)
8738 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8739 * libio/libioP.h (IO_set_accept_foreign_vtables)
8740 [!PTR_MANGLE]: Do not call PTR_MANGLE.
8741
8742 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
8743
8744 [BZ #20314]
8745 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8746 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8747 $(common-objpfx)cmath.
8748 ($(common-objpfx)cstdlib): New target.
8749 ($(common-objpfx)cmath): Likewise.
8750
8751 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8752
8753 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8754
8755 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8756
8757 [BZ #20327]
8758 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8759 are not part of the string.
8760
8761 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8762
8763 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8764 * nptl/tst-cancel4-common.h (fifoname): New variable.
8765 (fifofd): Likewise.
8766 (cl_fifo): New function.
8767 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8768 SIGINT.
8769 (tf_open): Add early cancel test.
8770
8771 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8772
8773 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8774
8775 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8776
8777 * sysdeps/generic/ldsodefs.h
8778 (dl_symbol_visibility_binds_local_p): New inline function.
8779 * elf/dl-addr.c (determine_info): Treat hidden and internal
8780 symbols as local.
8781 * elf/dl-lookup.c (do_lookup_x): Likewise.
8782 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8783
8784 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8785
8786 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8787 invalid exception for a sNaN input.
8788 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8789 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8790 (__nearbyint_vis3): Likewise
8791 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8792 (__nearbyintf_vis3): Likewise
8793 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8794 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8795 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8796 Likewise.
8797 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8798 Likewise.
8799
8800 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8801
8802 [BZ #20139]
8803 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8804 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8805 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8806 2.24 or above.
8807 (HAVE_AVX512_ASM_SUPPORT): Removed.
8808 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8809 * sysdeps/x86_64/configure: Regenerated.
8810 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8811 check unconditional.
8812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8813 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8814 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8815 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8816 Likewise.
8817 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8818 Likewise.
8819 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8820 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8821 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8822 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8823 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8824 Likewise.
8825 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8826 Likewise.
8827 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8828 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8829 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8830 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8831 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8832 Likewise.
8833 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8834 Likewise.
8835 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8836 Likewise.
8837 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8838 Likewise.
8839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8840 Likewise.
8841 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8842 Likewise.
8843 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8844 Likewise.
8845 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8846 Likewise.
8847 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8848 Likewise.
8849 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8850 Likewise.
8851 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8852 Likewise.
8853
8854 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8855
8856 [BZ #20024]
8857 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8858 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8859 of this implementation of vector function.
8860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8861 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8862 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8863 Likewise.
8864 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8865 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8866 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8867 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8868 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8869 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8870 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8871 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8872 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8873 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8874 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8875 for testing vector sincos with fixed ABI.
8876 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8877 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8878 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8879 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8880 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8881 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8882 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8883 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8884 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8885 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8886 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8887 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8888 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8889 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8890 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8891 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8892
8893 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8894
8895 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8896
8897 2016-06-30 Anton Blanchard <anton@samba.org>
8898
8899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8900 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8901 s_sinf-ppc64.
8902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8905 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8906
8907 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8908
8909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8911 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8912 e_expf-ppc64.
8913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8916 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8917
8918 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8919
8920 [BZ #20277]
8921 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8922 when SHARED is defined.
8923
8924 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8927 (index_arch_Prefer_ERMS): Likewise.
8928 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8929 __memcpy_erms for Prefer_ERMS.
8930 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8931 (__memmove_erms): Enabled for libc.a.
8932 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8933 __memmove_erms or Prefer_ERMS.
8934 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8935 __mempcpy_erms for Prefer_ERMS.
8936 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8937 __memset_erms for Prefer_ERMS.
8938
8939 2016-06-30 Andreas Schwab <schwab@suse.de>
8940
8941 [BZ #20262]
8942 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8943 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8944 of memory.
8945
8946 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8947
8948 [BZ #18645]
8949 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8950 (test-extras): Add tst-cleanupx4aux.
8951 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8952 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8953 tst-cleanupx4aux.o.
8954 * nptl/tst-cleanupx4aux.c: New file.
8955
8956 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8957
8958 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8959
8960 2016-06-29 Andreas Schwab <schwab@suse.de>
8961
8962 [BZ #20260]
8963 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8964 address before the beginning of the string as an integer to avoid
8965 array-bounds warning.
8966
8967 2016-06-28 Richard Henderson <rth@redhat.com>
8968
8969 * elf/elf.h (EM_BPF): New.
8970 (EM_NUM): Update.
8971 (R_BPF_NONE, R_BPF_MAP_FD): New.
8972
8973 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8974 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8975 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8976 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8977 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8978 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8979 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8980 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8981 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8982 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8983 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8984 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8985 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8986 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8987 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8988 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8989 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8990 (EM_NUM): Update.
8991
8992 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8993
8994 [BZ #18960]
8995 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8996 Set _nl_current_LC_CATEGORY_used to two instead of one.
8997
8998 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8999
9000 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9001 (do_test): ... this.
9002 (TEST_FUNCTION): New macro.
9003 Include test-skeleton.c.
9004 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9005 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9006
9007 2016-06-27 Joseph Myers <joseph@codesourcery.com>
9008
9009 [BZ #15479]
9010 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9011 floating-point environment rather than just control word.
9012 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9013 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9014 floating-point environment, with "invalid" exceptions merged in,
9015 rather than just control word.
9016 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9017 * math/libm-test.inc (trunc_test_data): Do not allow spurious
9018 "inexact" exceptions.
9019
9020 [BZ #15479]
9021 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9022 floating-point environment rather than just control word.
9023 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9024 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9025 floating-point environment, with "invalid" exceptions merged in,
9026 rather than just control word.
9027 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9028 * math/libm-test.inc (floor_test_data): Do not allow spurious
9029 "inexact" exceptions.
9030
9031 [BZ #15479]
9032 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9033 floating-point environment rather than just control word.
9034 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9035 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9036 floating-point environment, with "invalid" exceptions merged in,
9037 rather than just control word.
9038 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9039 * math/libm-test.inc (ceil_test_data): Do not allow spurious
9040 "inexact" exceptions.
9041
9042 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
9043
9044 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9045 __libc_vfork.
9046 (__vfork) [IS_IN (libc)]: Remove alias.
9047 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9048 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9050
9051 2016-06-24 Torvald Riegel <triegel@redhat.com>
9052
9053 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9054 of atomic_compare_and_exchange_bool_rel.
9055 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9056 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9057 catomic_compare_and_exchange_bool_rel): Remove.
9058 * sysdeps/aarch64/atomic-machine.h
9059 (atomic_compare_and_exchange_bool_rel): Likewise.
9060 * sysdeps/alpha/atomic-machine.h
9061 (atomic_compare_and_exchange_bool_rel): Likewise.
9062 * sysdeps/arm/atomic-machine.h
9063 (atomic_compare_and_exchange_bool_rel): Likewise.
9064 * sysdeps/mips/atomic-machine.h
9065 (atomic_compare_and_exchange_bool_rel): Likewise.
9066 * sysdeps/microblaze/atomic-machine.h
9067 ( __arch_compare_and_exchange_bool_8_rel,
9068 __arch_compare_and_exchange_bool_16_rel): Likewise.
9069 * sysdeps/powerpc/atomic-machine.h
9070 ( __arch_compare_and_exchange_bool_8_rel,
9071 __arch_compare_and_exchange_bool_16_rel): Likewise.
9072 * sysdeps/powerpc/powerpc32/atomic-machine.h
9073 ( __arch_compare_and_exchange_bool_32_rel,
9074 __arch_compare_and_exchange_bool_64_rel): Likewise.
9075 * sysdeps/powerpc/powerpc64/atomic-machine.h
9076 ( __arch_compare_and_exchange_bool_32_rel,
9077 __arch_compare_and_exchange_bool_64_rel): Likewise.
9078 * sysdeps/tile/atomic-machine.h
9079 (atomic_compare_and_exchange_bool_rel): Likewise.
9080
9081 2016-06-23 Joseph Myers <joseph@codesourcery.com>
9082
9083 [BZ #20296]
9084 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9085 when either argument is a NaN.
9086 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9087 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9088
9089 * math/libm-test.inc (snan_value_ld): New macro.
9090 (isgreater_test_data): Add sNaN tests.
9091 (isgreaterequal_test_data): Likewise.
9092 (isless_test_data): Likewise.
9093 (islessequal_test_data): Likewise.
9094 (islessgreater_test_data): Likewise.
9095 (isunordered_test_data): Likewise.
9096 (nextafter_test_data): Likewise.
9097 (nexttoward_test_data): Likewise.
9098 (remainder_test_data): Likewise.
9099 (remquo_test_data): Likewise.
9100 (significand_test_data): Likewise.
9101 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9102
9103 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9104
9105 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9106 environment macros are defined.
9107 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9108
9109 2016-06-23 Florian Weimer <fweimer@redhat.com>
9110
9111 [BZ #20191]
9112 Implement vtable verification in libio.
9113 * Makerules (shlib.lds): Place __libc_IO_vtables section.
9114 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9115 * debug/vdprintf_chk.c (__vdprintf_chk): Call
9116 _IO_new_file_init_internal instead of _IO_file_init.
9117 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9118 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9119 * libio/Makefile (routines): Add vtables.
9120 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9121 (_IO_init): Remove, not for internal use.
9122 (_IO_init_internal): Declare, internal replacement for _IO_init.
9123 (_IO_file_init): Remove, not for internal use.
9124 (_IO_new_file_init): Remove, not for internal use.
9125 (_IO_new_file_init_internal): Declare, internal replacement for
9126 _IO_new_file_init.
9127 (_IO_old_file_init): Remove, not for internal use.
9128 (_IO_old_file_init_internal): Declare, internal replacement for
9129 _IO_old_file_init.
9130 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9131 internal use.
9132 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9133 Declare.
9134 (libio_vtable): New macro.
9135 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9136 functions.
9137 * libio/fileops.c (_IO_new_file_init_internal): Rename from
9138 _IO_new_file_init.
9139 (_IO_new_file_init): New externally visible wrapper which disables
9140 vtable verification.
9141 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9142 Define as vtables.
9143 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9144 (_IO_init): New externally visible wrapper which disables
9145 vtable verification.
9146 * libio/iofdopen.c (_IO_new_fdopen): Call
9147 _IO_new_file_init_internal instead of _IO_file_init. Adjust
9148 comment.
9149 * libio/iofopen.c (__fopen_internal): Call
9150 _IO_new_file_init_internal instead of _IO_file_init.
9151 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9152 Define as vtables.
9153 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9154 _IO_new_file_init_internal instead of _IO_file_init.
9155 * libio/iopopen.c (_IO_new_popen): Likewise.
9156 (_IO_proc_jumps): Define as vtable.
9157 * libio/iovdprintf.c (_IO_vdprintf): Call
9158 _IO_new_file_init_internal instead of _IO_file_init.
9159 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9160 (__open_memstream): Call _IO_init_internal instead of _IO_init.
9161 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9162 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9163 _IO_old_file_init.
9164 (_IO_old_file_init): New externally visible wrapper which disables
9165 vtable verification.
9166 (_IO_old_file_jumps): Define as vtable.
9167 * libio/oldiofdopen.c (_IO_old_fdopen): Call
9168 _IO_old_file_init_internal instead of _IO_old_file_init.
9169 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9170 * libio/oldiopopen.c (_IO_old_popen): Likewise.
9171 (_IO_old_proc_jumps): Define as vtable.
9172 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9173 Define as vtables.
9174 * libio/vtables.c: New file.
9175 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9176 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9177 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9178 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9179 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9180 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9181 instead of _IO_init.
9182
9183 2016-06-23 Florian Weimer <fweimer@redhat.com>
9184
9185 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9186
9187 2016-06-23 Florian Weimer <fweimer@redhat.com>
9188
9189 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9190 potentially unused.
9191
9192 2016-06-22 Florian Weimer <fweimer@redhat.com>
9193
9194 * test-skeleton.c (write_message): New function.
9195 * malloc/tst-mallocfork2.c (write_message): Remove.
9196 * debug/tst-longjmp_chk2.c (write_indented): New function.
9197 (write_message): Remove.
9198 (stackoverflow_handler): Call write_indented.
9199
9200 2016-06-22 Joseph Myers <joseph@codesourcery.com>
9201
9202 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9203 "inexact" exceptions after fnstenv.
9204 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9205 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9206 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9207
9208 2015-06-22 Zack Weinberg <zackw@panix.com>
9209
9210 * sysdeps/generic/bits/hwcap.h: Moved to ...
9211 * bits/hwcap.h: Here.
9212
9213 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
9214
9215 * sysdeps/aarch64/memcpy.S (memcpy):
9216 Further tuning for performance.
9217
9218 2016-06-21 Florian Weimer <fweimer@redhat.com>
9219
9220 [BZ #20284]
9221 * malloc/arena.c (reused_arena): Do not return NULL if we start
9222 out with a non-corrupted arena.
9223
9224 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9225
9226 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9227 * misc/tst-preadvwritev.c: New file.
9228 * misc/tst-preadvwritev64.c: Likewise.
9229 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9230 usage.
9231 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9232 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9233 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9234 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9235
9236 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
9237
9238 [BZ #19654]
9239 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9240 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9241 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9242 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9243 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9244 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9245 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9246 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9247 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9248 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9249 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9250 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9251 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9252 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9253 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9254 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9255 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9256 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9257 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9258 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9259 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9260 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9261 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9262 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9263 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9264 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9265
9266 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9267
9268 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9269 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9270
9271 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9272
9273 * sysdeps/aarch64/memcpy.S (memcpy):
9274 Rewrite of optimized memcpy and memmove.
9275 * sysdeps/aarch64/memmove.S (memmove): Remove
9276 memmove code (merged into memcpy.S).
9277
9278 2016-06-20 Florian Weimer <fweimer@redhat.com>
9279
9280 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9281 * sysdeps/generic/dl-dtv.h: New file.
9282 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9283 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9284 (dtv_t): Remove.
9285 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9286 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9287 (dtv_t): Remove.
9288 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9289 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9290 (dtv_t): Remove.
9291 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9292 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9293 (dtv_t): Remove.
9294 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9295 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9296 (dtv_t): Remove.
9297 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9298 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9299 (dtv_t): Remove.
9300 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9301 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9302 (dtv_t): Remove.
9303 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9304 (dtv_t): Remove.
9305 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9306 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9307 (dtv_t): Remove.
9308 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9309 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9310 (dtv_t): Remove.
9311 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9312 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9313 (dtv_t): Remove.
9314 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9315 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9316 (dtv_t): Remove.
9317 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9318 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9319 (dtv_t): Remove.
9320 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9321 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9322 (dtv_t): Remove.
9323 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9324 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9325 (dtv_t): Remove.
9326 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9327 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9328 (dtv_t): Remove.
9329
9330 2016-06-20 Florian Weimer <fweimer@redhat.com>
9331
9332 Revert symbol poisoning of __malloc_initialize_hook.
9333 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9334 poisoning.
9335 * malloc/Makefile: Remove un-poisoning.
9336 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9337 instead of old__malloc_initialize_hook.
9338 * malloc/malloc-hooks.h: Likewise.
9339 * malloc/malloc.c: Likewise.
9340 * malloc/mcheck-init.c: Likewise.
9341
9342 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9343
9344 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9345
9346 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9347
9348 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9349 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9350 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9351 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9352
9353 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9354
9355 * NEWS: Mention addition of nextup and nextdown.
9356 * manual/arith.texi: Document nextup and nextdown.
9357 * manual/libm-err-tab.pl: Add nextup and nextdown.
9358 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9359 * math/Versions (libm): Add GLIBC_2.24.
9360 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9361 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9362 Add new test.
9363 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9364 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9365 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9366 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9367 (nextup_test_data): Likewise.
9368 (nextdown_test_data): Likewise.
9369 * math/s_nextdown.c: New file.
9370 * math/s_nextdownf.c: Likewise.
9371 * math/s_nextdownl.c: Likewise.
9372 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9373 F(nextup): New function.
9374 F(nextdown): Likewise.
9375 * math/tgmath.h: Add nextup and nextdown.
9376 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9377 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9378 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9379 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9380 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9381 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9382 Add nextup and nextdown.
9383 (CFLAGS-nldbl-nextup.c): New variable.
9384 (CFLAGS-nldbl-nextdown.c): Likewise.
9385 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9386 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9387 * sysdeps/nacl/libm.abilist: Update.
9388 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9402 Likewise.
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9414 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9416
9417 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9418
9419 * manual/pattern.texi: Fix typos & grammar errors.
9420
9421 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9422
9423 * manual/search.texi: Fix typos & grammar errors.
9424
9425 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9426
9427 * manual/message.texi: Fix typos & grammar errors.
9428
9429 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9430
9431 * manual/contrib.texi: Fix spelling typos.
9432 * manual/crypt.texi: Likewise.
9433 * manual/filesys.texi: Likewise.
9434 * manual/locale.texi: Likewise.
9435 * manual/message.texi: Likewise.
9436 * manual/nss.texi: Likewise.
9437 * manual/string.texi: Likewise.
9438
9439 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9440
9441 * manual/locale.texi: Fix typos & grammar errors.
9442
9443 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9444
9445 * manual/charset.texi: Fix typos & grammar errors.
9446
9447 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9448
9449 * manual/string.texi: Fix typos.
9450
9451 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9452
9453 * manual/ctype.texi: Fix typos.
9454
9455 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9456
9457 * manual/memory.texi: Fix various typos & grammar errors.
9458
9459 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9460
9461 [BZ #20255]
9462 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9463 * math/libm-test.inc (fdim_test_data): Add another test.
9464
9465 [BZ #6796]
9466 [BZ #20255]
9467 [BZ #20256]
9468 * math/s_fdim.c: Include <math_private.h>.
9469 (__fdim): Use math_narrow_eval on result.
9470 * math/s_fdimf.c: Include <math_private.h>.
9471 (__fdimf): Use math_narrow_eval on result.
9472 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9473 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9474 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9475 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9476 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9477 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9478 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9479 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9480 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9481 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9482 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9483 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9484 overflow. Add sNaN tests.
9485
9486 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9487 fpclassify.
9488 * math/s_fdimf.c (__fdimf): Likewise.
9489 * math/s_fdiml.c (__fdiml): Likewise.
9490
9491 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9492
9493 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9494 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9496 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9497 ifunc'ed strcasecmp/strncasecmp.
9498 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9499 [EALIGN]: Removed.
9500 [END]: Likewise.
9501 [__strcasecmp]: Define instead of the above to control symbol name.
9502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9503 for __strcasecmp_power8.
9504 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9505 for __strncasecmp_power8.
9506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9507 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9508 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9509 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9510 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9512
9513 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9514
9515 [BZ #20252]
9516 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9517 arguments when second argument is a NaN.
9518 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9519 qNaN tests.
9520
9521 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9522 (conj_test_data): Likewise.
9523 (copysign_test_data): Likewise.
9524 (creal_test_data): Likewise.
9525 (fma_test_data): Likewise.
9526 (fmod_test_data): Likewise.
9527
9528 [BZ #20250]
9529 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9530 itself.
9531 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9532 zero input to itself.
9533 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9534 Likewise.
9535 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9536 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9538 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9539 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9540
9541 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9542
9543 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9544 * nptl/tst-cancel4-common.c: New file.
9545 * nptl/tst-cancel4-common.h: Likewise.
9546 * nptl/tst-cancel4.c: Move common definitions to
9547 tst-cancel4-common.{c,h} file.
9548 * nptl/tst-cancel4_1.c: New test.
9549 * nptl/tst-cancel4_2.c: New test.
9550
9551 2016-06-13 Florian Weimer <fweimer@redhat.com>
9552
9553 [BZ #20248]
9554 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9555 (write_message): New function.
9556 (stackoverflow_handler): Call it instead of printf, to avoid
9557 excessive stack usage by printf.
9558 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9559
9560 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9561
9562 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9563 (prio_inherit_missing): Remove define.
9564 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9565 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9566 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9567 Likewise.
9568 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9569 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9570 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9571 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9572 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9573 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9574
9575 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9576
9577 [BZ #19670]
9578 [BZ #19672]
9579
9580 * io/test-lfs.c (do_prepare): Use xmalloc.
9581 * io/tst-fcntl.c (do_prepare): Likewise.
9582 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9583 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9584 * login/tst-utmp.c (do_prepare): Likewise.
9585 * posix/tst-exec.c (do_prepare): Likewise.
9586 * posix/tst-pathconf.c (prepare): Likewise.
9587 * posix/tst-spawn.c (do_prepare): Likewise.
9588 * posix/tst-truncate.c (do_prepare): Likewise.
9589 * rt/tst-aio.c (do_prepare): Likewise.
9590 * rt/tst-aio64.c (do_prepare): Likewise.
9591
9592 2016-06-11 Florian Weimer <fweimer@redhat.com>
9593
9594 [BZ #20237]
9595 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9596 (get*ent): Set entidx to NULL during initialization. If entidx is
9597 NULL, start iteration from the beginning.
9598
9599 2016-06-11 Florian Weimer <fweimer@redhat.com>
9600
9601 * malloc/malloc.c (musable): Return correct size for dumped fake
9602 mmapped chunk.
9603
9604 2016-06-11 Florian Weimer <fweimer@redhat.com>
9605
9606 [BZ #20222]
9607 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9608 (_IO_cookie_write): Likewise.
9609 (_IO_cookie_seek): Likewise.
9610 (_IO_cookie_close): Likewise.
9611 (_IO_old_cookie_seek): Likewise.
9612 (set_callbacks): New function.
9613 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9614
9615 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9616
9617 * locale/programs/localedef.c (oldstyle_tables): Remove.
9618 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9619
9620 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9621
9622 [BZ #20240]
9623 * math/Makefile (CFLAGS-s_modf.c): New variable.
9624 (CFLAGS-s_modff.c): Likewise.
9625 (CFLAGS-s_modfl.c): Likewise.
9626 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9627
9628 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9629
9630 [BZ #20215]
9631 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9632 [!__GNUC_PREREQ (3,2)]: Likewise.
9633
9634 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9635
9636 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9637 (msghdr.msg_controllen): Likewise.
9638 (cmsghdr.cmsg_len): Likewise.
9639 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9640 ptw-oldsendmsg.
9641 (CFLAGS-oldrecvmsg.c): Remove rule.
9642 (CFLAGS-oldsendmsg.c): Likewise.
9643 (CFLAGS-recvmsg.c): Add rule.
9644 (CFLAGS-sendmsg.c): Likewise.
9645 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9646 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9647 (CFLAGS-recvmsg.c): Remove rule.
9648 (CFLAGS-sendmsg.c): Likewise.
9649 (CFLAGS-oldrecvmsg.c): Likewise.
9650 (CFLAGS-oldsendmsg.c): Likewise.
9651 (CFLAGS-recvmmsg.c): Likewise.
9652 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9653 to kernel defined interfaces.
9654 (msghdr.msg_controllen): Likewise.
9655 (cmsghdr.cmsg_len): Likewise.
9656 (msghdr.__glibc_reserved1): Remove member.
9657 (msghdr.__glibc_reserved2): Likewise.
9658 (cmsghdr.__glibc_reserved1): Likewise.
9659 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9660 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9661 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9662 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9663 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9664 version.
9665 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9666 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9667 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9668 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9669 Remove recvmsg and sendmsg.
9670 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9671 Likewise.
9672 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9673 Likewise.
9674 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9675 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9676 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9677 Likewise.
9678 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9679 Likewise.
9680 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9681 [libc] (GLIBC_2.24): Likewise.
9682 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9683 Likewise.
9684 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9685 Likewise.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9687 [libc] (GLIBC_2.24): Likewise.
9688 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9689 Likewise.
9690 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9691 Likewise.
9692 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9694 Likewise.
9695 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9696 Likewise.
9697 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9698 Likewise.
9699 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9700 Likewise.
9701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9702 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9703 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9704 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9705 version for {recv,send,recm,sendm}msg.
9706 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9707 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9708 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9711 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9715 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9716 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9717 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9719 Likewise.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9721 Likewise.
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9724 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9725 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9726 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9727 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9728 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9729 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9732 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9734 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9735
9736 2016-06-10 Florian Weimer <fweimer@redhat.com>
9737
9738 [BZ #19564]
9739 Remove __malloc_initialize_hook from the API.
9740 * malloc/malloc.h (__malloc_initialize_hook): Remove.
9741 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9742 #pragma GCC poison.
9743 * malloc/malloc-hooks.h: New file.
9744 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9745 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9746 (old__malloc_initialize_hook): Rename from
9747 __malloc_initialize_hook to evade poisoning. Turn into compat
9748 symbol.
9749 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9750 __malloc_initialize_hook.
9751 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9752 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9753 * manual/memory.texi (Hooks for Malloc): Remove
9754 __malloc_initialize_hook. Adjust hook example.
9755
9756 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9757
9758 [BZ #20235]
9759 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9760 itself.
9761 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9762 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9763
9764 [BZ #20234]
9765 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9766 infinity or NaN input to itself.
9767
9768 [BZ #20233]
9769 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9770 to itself.
9771
9772 [BZ #20232]
9773 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9774 itself.
9775
9776 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9777
9778 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9779 __libc_start_main via GOT.
9780
9781 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9782
9783 * sysdeps/x86_64/memcopy.h: New file.
9784 * sysdeps/x86_64/wordcopy.c: Likewise.
9785
9786 2016-06-09 Florian Weimer <fweimer@redhat.com>
9787
9788 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9789 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9790 <cstdlib>.
9791 (optimization_barrier): New.
9792 (do_test): Use it. Call quick_exit in the global namespace.
9793 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9794 instead of <cstdlib>, <thread>.
9795 (optimization_barrier): New.
9796 (non_main_thread): Adjust declaration. Call optimization_barrier.
9797 Call quick_exit in the global namespace.
9798 (do_test): Call optimization_barrier. Use pthread_create,
9799 pthread_join instead of std::thread.
9800
9801 2016-06-09 Andreas Schwab <schwab@suse.de>
9802
9803 [BZ #19755]
9804 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9805 new entries in auto-propagate mode.
9806 * nscd/grpcache.c (cache_addgr): Likewise.
9807
9808 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9809
9810 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9811 New functions.
9812 (add_temp_file): Use them.
9813
9814 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9815
9816 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9817
9818 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9819
9820 [BZ #20229]
9821 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9822 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9823 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9824
9825 [BZ #20228]
9826 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9827 itself.
9828 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9829 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9830
9831 [BZ #20227]
9832 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9833 itself.
9834 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9835 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9836 * math/libm-test.inc (log_test_data): Add sNaN tests.
9837
9838 [BZ #20226]
9839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9840 itself.
9841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9842 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9843 (exp10_test_data): Likewise.
9844 (expm1_test_data): Likewise.
9845
9846 [BZ #20225]
9847 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9848 itself.
9849 * math/s_ldexpf.c (__ldexpf): Likewise.
9850 * math/s_ldexpl.c (__ldexpl): Likewise.
9851 * math/w_scalbln.c (__w_scalbln): Likewise.
9852 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9853 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9854 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9855 (scalbln_test_data): Likewise.
9856
9857 [BZ #20224]
9858 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9859 argument to itself.
9860 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9861
9862 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9863
9864 [BZ #19776]
9865 * sysdeps/x86_64/memcpy.S: Make it dummy.
9866 * sysdeps/x86_64/mempcpy.S: Likewise.
9867 * sysdeps/x86_64/memmove.S: New file.
9868 * sysdeps/x86_64/memmove_chk.S: Likewise.
9869 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9870 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9871 * sysdeps/x86_64/memmove.c: Removed.
9872 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9873 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9874 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9875 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9876 Likewise.
9877 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9878 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9880 memcpy-sse2-unaligned, memmove-avx-unaligned,
9881 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9883 (__libc_ifunc_impl_list): Replace
9884 __memmove_chk_avx512_unaligned_2 with
9885 __memmove_chk_avx512_unaligned. Remove
9886 __memmove_chk_avx_unaligned_2. Replace
9887 __memmove_chk_sse2_unaligned_2 with
9888 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9889 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9890 with __memmove_avx512_unaligned. Replace
9891 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9892 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9893 with __memcpy_chk_avx512_unaligned. Remove
9894 __memcpy_chk_avx_unaligned_2. Replace
9895 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9896 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9897 Replace __memcpy_avx512_unaligned_2 with
9898 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9899 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9900 with __mempcpy_chk_avx512_unaligned. Remove
9901 __mempcpy_chk_avx_unaligned_2. Replace
9902 __mempcpy_chk_sse2_unaligned_2 with
9903 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9904 Replace __mempcpy_avx512_unaligned_2 with
9905 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9906 Replace __mempcpy_sse2_unaligned_2 with
9907 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9908 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9909 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9910 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9911 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9912 (ENTRY): Removed.
9913 (END): Likewise.
9914 (ENTRY_CHK): Likewise.
9915 (libc_hidden_builtin_def): Likewise.
9916 Don't include ../memcpy.S.
9917 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9918 __memcpy_chk_avx512_unaligned_erms and
9919 __memcpy_chk_avx512_unaligned. Use
9920 __memcpy_chk_avx_unaligned_erms and
9921 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9922 Default to __memcpy_chk_sse2_unaligned.
9923 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9924 Change function suffix from unaligned_2 to unaligned.
9925 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9926 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9927 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9928 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9929 (ENTRY): Removed.
9930 (END): Likewise.
9931 (ENTRY_CHK): Likewise.
9932 (libc_hidden_builtin_def): Likewise.
9933 Don't include ../mempcpy.S.
9934 (mempcpy): New. Add a weak alias.
9935 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9936 __mempcpy_chk_avx512_unaligned_erms and
9937 __mempcpy_chk_avx512_unaligned. Use
9938 __mempcpy_chk_avx_unaligned_erms and
9939 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9940 Default to __mempcpy_chk_sse2_unaligned.
9941
9942 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9943
9944 [BZ #19881]
9945 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9946 into ...
9947 * sysdeps/x86_64/memset.S: This.
9948 (__bzero): Removed.
9949 (__memset_tail): Likewise.
9950 (__memset_chk): Likewise.
9951 (memset): Likewise.
9952 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9953 defined.
9954 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9955 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9956 (__memset_zero_constant_len_parameter): Check SHARED instead of
9957 PIC.
9958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9959 memset-avx2 and memset-sse2-unaligned-erms.
9960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9961 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9962 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9963 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9964 (__bzero): Enabled.
9965 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9966 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9967 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9968 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9969 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9970 (memset): Removed.
9971 (__memset_chk): Likewise.
9972 (MEMSET_SYMBOL): New.
9973 (libc_hidden_builtin_def): Replace __memset_sse2 with
9974 __memset_sse2_unaligned.
9975 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9976 __memset_chk_sse2 and __memset_chk_avx2 with
9977 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9978 Use __memset_chk_sse2_unaligned_erms or
9979 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9980 __memset_chk_avx512_unaligned_erms and
9981 __memset_chk_avx512_unaligned.
9982
9983 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9984
9985 * math/gen-auto-libm-test.c (fp_format_desc): remove
9986 suffix member.
9987 (output_generic_value): Remove usage of suffix member,
9988 and the resulting unuse of the fp_format argument.
9989 (output_for_one_input_case): Remove unused fp_format
9990 parameter.
9991
9992 * math/auto-libm-test-out: Regenerate.
9993
9994 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9995 usage with TEST_COND_ibm128.
9996 (TEST_COND_flt_32): Remove.
9997 (TEST_COND_dbl_64): Remove.
9998 (TEST_COND_ldbl_96_intel): Remove.
9999 (TEST_COND_ldbl_96_m68k): Remove.
10000 (TEST_COND_ldbl_128): Remove.
10001
10002 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10003
10004 * auto-libm-test-in:
10005 Replace flt-32 usage with binary32.
10006 Replace dbl-64 usage with binary64.
10007 Replace ldbl-intel-96 usage with intel96.
10008 Replace ldbl-m68k-96 usage with m68k96.
10009 Replace ldbl-128ibm usage with ibm128.
10010 Replace ldbl-128 usage with binary128.
10011
10012 * auto-libm-test-out: Regenerate.
10013
10014 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10015
10016 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10017 (parse_ulps): Dynamically generate type name matching
10018 string from all_floats.
10019 (get_ulps): Generate the ulps as an array instead.
10020 (output_ulps): Dynamically compose the type based
10021 on the number of supported formats, and print
10022 the indices as type specific helper macros.
10023
10024 * math/libm-test.inc: Remove comment about CHOOSE.
10025 (ulp_data): Generate the type in libm-test-ulps.h.
10026 (ULP_IDX): New macro.
10027 (find_ulps): Update usage of max_ulp.
10028
10029 * math/test-double-vlen2.h (CHOOSE): Remove.
10030 * math/test-double-vlen4.h (CHOOSE): Likewise.
10031 * math/test-double-vlen8.h (CHOOSE): Likewise.
10032 * math/test-float.c (CHOOSE): Likewise.
10033 * math/test-float-finite.c (CHOOSE): Likewise.
10034 * math/test-double.c (CHOOSE): Likewise.
10035 * math/test-double-finite.c (CHOOSE): Likewise.
10036 * math/test-idouble.c (CHOOSE): Likewise.
10037 * math/test-ifloat.c (CHOOSE): Likewise.
10038 * math/test-ildoubl.c (CHOOSE): Likewise.
10039 * math/test-ldouble-finite.c (CHOOSE): Likewise.
10040 * math/test-ldouble.c (CHOOSE): Likewise.
10041
10042 * math/test-float.h (TEST_FLOAT): Remove.
10043 * math/test-double.h (TEST_DOUBLE): Likewise.
10044 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10045
10046 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10047
10048 * math/gen-libm-test.pl: (apply_lit): New subroutine.
10049 (parse_args): Strip C suffix from floating point literals
10050 typed with 'f' and wrap them with LIT().
10051
10052 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10053 (test_ff_f_data_nexttoward): Rename to
10054 (test_fj_f_data): New struct.
10055 (nexttoward_test_data): Relabel tests as
10056 TEST_fj_f instead of TEST_ff_f.
10057
10058 2016-06-08 Florian Weimer <fweimer@redhat.com>
10059
10060 Emacs bug 23726.
10061 * malloc/malloc.c (dumped_main_arena_start): Update comment.
10062 (__libc_realloc): Correct size computation for dumped fake mmapped
10063 chunks.
10064
10065 2016-06-07 Joseph Myers <joseph@codesourcery.com>
10066
10067 [BZ #20219]
10068 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10069 to itself.
10070 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10071
10072 [BZ #20218]
10073 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10074 to itself.
10075 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10076
10077 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 [BZ #20195]
10080 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10081 check to ...
10082 (init_cpu_features): Here.
10083
10084 2016-06-07 Carlos O'Donell <carlos@redhat.com>
10085
10086 [BZ #20214]
10087 * sysdeps/unix/sysv/linux/bits/in.h
10088 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10089 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10090 Define to 1.
10091 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10092 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10093 Define to 0.
10094 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10095 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10096
10097 2016-06-06 Carlos O'Donell <carlos@redhat.com>
10098
10099 [BZ #20198]
10100 * stdlib/Makefile (tests): Add tst-quick_exit, and
10101 tst-thread-quick_exit.
10102 [ifeq ($(have-cxx-thread_local),yes)]
10103 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10104 (CFLAGS-tst-thread-quick_exit.o): Likewise.
10105 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10106 (LDLIBS-tst-thread-quick_exit): Likewise.
10107 [ifneq ($(have-cxx-thread_local),yes)]
10108 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10109 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10110 If run_dtors is true call __call_tls_dtors.
10111 (exit): Call __run_exit_handlers with run_dtors set to true.
10112 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10113 definition.
10114 * stdlib/quick_exit.c (quick_exit): Remove function.
10115 (__new_quick_exit): New function.
10116 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10117 function.
10118 * stdlib/tst-quick_exit.cc: New file.
10119 * stdlib/tst-thread-quick_exit.cc: New file.
10120 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10121 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10122 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10123 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10124 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10125 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10126 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10127 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10128 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10129 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10130 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10131 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10132 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10133 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10134 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10135 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10141 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10142 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10143 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10144 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10147 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10148 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10149 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10150
10151 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
10152
10153 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10154 a typo in comments.
10155
10156 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10157
10158 [BZ #20213]
10159 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10160 argument to itself.
10161 * math/libm-test.inc (asin_test_data): Add sNaN tests.
10162
10163 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10164
10165 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10166 required flags.
10167 (CFLAGS-pwritev64.c): Likewise.
10168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10169 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10170 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10171 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10172 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10173 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10174 syscall from auto-generation.
10175 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10176 [WORDSIZE == 64] (pwritev64): Remove macro.
10177 [!PWRITEV] (PWRITEV): Likewise.
10178 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10179 [!PWRITEV] (PWRITE): Likewise.
10180 [!PWRITEV] (OFF_T): Likewise.
10181 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10182 (LO_HI_LONG): Remove macro.
10183 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10184 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10185 (PWRITEV): Remove macro.
10186 (PWRITEV_REPLACEMENTE): Likewise.
10187 (PWRITE): Likewise.
10188 (OFF_T): Likewise.
10189 (pwritev64): New function.
10190 * nptl/tst-cancel4.c (tf_writev): Add test.
10191
10192 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10193 required flags.
10194 (CFLAGS-preadv64.c): Likewise.
10195 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10196 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10197 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10198 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10199 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10200 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10201 syscall from auto-generation.
10202 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10203 [WORDSIZE == 64] (preadv64): Remove macro.
10204 [!PREADV] (PREADV): Likewise.
10205 [!PREADV] (PREADV_REPLACEMENT): Likewise.
10206 [!PREADV] (PREAD): Likewise.
10207 [!PREADV] (OFF_T): Likewise.
10208 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10209 (LO_HI_LONG): Remove macro.
10210 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10211 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10212 (PREADV): Remove macro.
10213 (PREADV_REPLACEMENTE): Likewise.
10214 (PREAD): Likewise.
10215 (OFF_T): Likewise.
10216 (preadv64): New function.
10217 * nptl/tst-cancel4.c (tf_preadv): Add test.
10218
10219 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10220
10221 [BZ #20212]
10222 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10223 argument to itself.
10224 * math/libm-test.inc (acos_test_data): Add sNaN tests.
10225
10226 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10227
10228 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10229 New symbol defined as libc_hidden_def.
10230 (strcasestr): Became a weak alias to __strcasestr.
10231 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10232 according to multi-arch support. Move __stpncpy hidden
10233 definition from here to...
10234 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
10235 symbol stpncpy.
10236 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10237 libc_hidden_builtin_def.
10238 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10239 memset symbol to use when multi-arch support is available.
10240
10241 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10242
10243 * dlfcn/tst-rec-dlopen.c: Include string.h.
10244
10245 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10246
10247 * manual/install.texi: Remove mention of --without-tls
10248 * INSTALL: Regenerate.
10249
10250 2016-06-05 Florian Weimer <fweimer@redhat.com>
10251
10252 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10253 Remove.
10254 (call_function, interposed_malloc_called): New variables.
10255 (malloc): New function.
10256 (do_test): Do not change malloc hooks. Initialize malloc. Set
10257 and clear call_function as needed.
10258
10259 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
10260
10261 * include/wchar.h (__wmemset): Use __typeof.
10262
10263 2016-06-03 Carlos O'Donell <carlos@redhat.com>
10264
10265 * include/wchar.h (__wmemset): Declare function without typeof.
10266
10267 2016-06-03 Joseph Myers <joseph@codesourcery.com>
10268
10269 [BZ #20205]
10270 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10271 exponent when incrementing negative subnormal with low mantissa
10272 word zero.
10273 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10274 Add another test.
10275
10276 2016-06-03 Florian Weimer <fweimer@redhat.com>
10277
10278 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10279 __wmemset instead of wmemset.
10280
10281 2016-06-02 Carlos O'Donell <carlos@redhat.com>
10282
10283 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10284 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10285 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10286 __USE_KERNEL_IPV6_DEFS to 0.
10287 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10288 Update comment.
10289
10290 2016-06-01 Florian Weimer <fweimer@redhat.com>
10291
10292 [BZ #19861]
10293 Do not use IFUNC resolver with potentially unrelocated symbol.
10294 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10295 (DEFINE_FORK): Remove macro and inline definition.
10296 (fork_alias): Renamed from fork_ifunc.
10297 (__fork_alias): Renamed from __fork_ifunc.
10298
10299 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10300
10301 [BZ 19653]
10302 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10303 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10304
10305 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10306
10307 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10308 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10309 i386-linux-gnu).
10310 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10311 Set to no.
10312 * sysdeps/mach/hurd/configure: Refresh.
10313
10314 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10315
10316 [BZ #20178]
10317 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10318 on failure instead of exit.
10319
10320 2016-05-30 Roland McGrath <roland@hack.frob.com>
10321
10322 [BZ #3629]
10323 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10324 of POSIX.1-2008.
10325
10326 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10327
10328 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10329 Use PLT entry for calling _hurd_self_sigstate.
10330
10331 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10332
10333 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10334 available logical processors with SMT level type sharing L2
10335 cache for Intel processors.
10336
10337 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10338
10339 [BZ #20160]
10340 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10341 argument to itself before returning the result.
10342 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10343 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10344 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10346 Likewise.
10347 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10348 Likewise.
10349 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10350 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10351 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10352 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10353 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10354 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10355
10356 [BZ #20160]
10357 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10358 argument to itself before returning the result.
10359 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10360 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10361 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10362 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10363 Likewise.
10364 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10365 Likewise.
10366 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10367 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10368 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10369 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10370 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10371 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10372
10373 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10374
10375 * libm-test.inc: Replace usage of M_El with
10376 (lit_e): New macro.
10377
10378 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10379
10380 * libm-test.inc: Replace usage of M_PI_4l with
10381 (lit_pi_4_d): New macro.
10382
10383 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10384
10385 * libm-test.inc: Replace usage of M_PIl with
10386 (lit_pi): New macro.
10387
10388 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10389
10390 * libm-test.inc: Replace usage of M_PI2l with
10391 (lit_pi_2_d): New macro.
10392
10393 * math/test-double.h (LITM): New macro.
10394 * math/test-float.h (LITM): Likewise.
10395 * math/test-ldouble.h (LITM): Likewise.
10396
10397 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10398
10399 * libm-test.inc (M_PI_34l): Rename to
10400 (lit_pi_3_m_4_d): New Macro.
10401 (M_PI_34_LOG10El): Rename to
10402 (lit_pi_3_m_4_ln10_m_d): New Macro.
10403 (M_PI2_LOG10El): Rename to
10404 (lit_pi_2_ln10_m_d): New Macro.
10405 (M_PI4_LOG10El): Rename to
10406 (lit_pi_4_ln10_m_d): New Macro.
10407 (M_PI_LOG10El): Rename to
10408 (lit_pi_ln10_d): New Macro.
10409
10410 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10411
10412 [BZ #20157]
10413 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10414 determine whether to negate low half if [_ARCH_PPCGR], and integer
10415 comparison otherwise.
10416 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10417 determine whether to negate low half.
10418
10419 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10420 (NO_TEST_INLINE_DOUBLE): Likewise.
10421 (TEST_COND_x86_64): Likewise.
10422 (TEST_COND_x86): Likewise.
10423 (M_PI_6l): Likewise.
10424
10425 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10426
10427 * math/libm-test.inc:
10428 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10429 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10430 (TEST_LDOUBLE): Update usage to evaluate as true if
10431 the guarded tests match the property being tested.
10432 (LDBL_MAX_EXP): Change to MAX_EXP.
10433 (LDBL_MIN_EXP): Change to MIN_EXP.
10434 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10435 nexttoward tests.
10436
10437 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10438
10439 * math/libm-test.inc:
10440 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10441 (TYPE_MIN): Likewise.
10442 (TYPE_TRUE_MIN): Likewise.
10443 (TYPE_MAX): Likewise.
10444 (MIN_EXP): Likewise.
10445 (MAX_EXP): Likewise.
10446 (MANT_DIG): Likewise.
10447
10448 (FSTR_MAX): New macro.
10449 (__CONCATX): Likewise.
10450 (QTYPE_STR): Likewise.
10451 (TEST_COND_binary32): Likewise.
10452 (TEST_COND_binary64): Likewise.
10453 (TEST_COND_binary128): Likewise.
10454 (TEST_COND_ibm128): Likewise.
10455 (TEST_COND_intel96): Likewise.
10456 (TEST_COND_m68k96): Likewise.
10457
10458 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10459 (TEST_COND_dbl_64): Likewise.
10460 (TEST_COND_ldbl_96_intel): Likewise.
10461 (TEST_COND_ldbl_96_m68k): Likewise.
10462 (TEST_COND_ldbl_128): Likewise.
10463 (TEST_COND_ldbl_128ibm): Likewise.
10464
10465 (plus_zero): Redefine using LIT macro.
10466 (minus_zero): Likewise.
10467 (plus_infty): Redefine as (INF).
10468 (minux_infty): Redefine as (-INF).
10469 (max_value): Redefine as TYPE_MAX.
10470 (min_value): Redefine as TYPE_MIN.
10471 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10472
10473 (print_float): Refactor to use snprintf to convert FLOAT values
10474 to string. This brings it closer to dropin replacement of strtof
10475 for the TS 18661 defined types.
10476 (update_stats): Likewise.
10477 (print_complex_function_ulps): Likewise.
10478 (print_max_error): Likewise.
10479 (print_complex_max_error): Likewise.
10480 (check_float_internal): Likewise.
10481
10482 * math/test-float.h (PREFIX): New macro.
10483 (LIT): Likewise.
10484 (TYPE_STR): Likewise.
10485 (FTOSTR): Likewise.
10486
10487 * math/test-double.h (PREFIX): New macro.
10488 (LIT): Likewise.
10489 (TYPE_STR): Likewise.
10490 (FTOSTR): Likewise.
10491
10492 * math/test-ldouble.h (PREFIX): New macro.
10493 (LIT): Likewise.
10494 (TYPE_STR): Likewise.
10495 (FTOSTR): Likewise.
10496
10497 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10498
10499 [BZ #20156]
10500 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10501 to itself when zero or not finite.
10502 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10503 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10504 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10506
10507 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10508
10509 [BZ #20153]
10510 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10511 x * x + x for infinities and NaNs.
10512
10513 [BZ #20151]
10514 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10515 argument to itself before returning result.
10516 (__ieee754_y0l): Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10518 (__ieee754_y1l).
10519
10520 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10521 (atan_test_data): Likewise.
10522 (ceil_test_data): Likewise.
10523 (cos_test_data): Likewise.
10524 (cosh_test_data): Likewise.
10525 (erf_test_data): Likewise.
10526 (exp2_test_data): Likewise.
10527 (fabs_test_data): Likewise.
10528 (floor_test_data): Likewise.
10529 (ilogb_test_data): Likewise.
10530 (j0_test_data): Likewise.
10531 (j1_test_data): Likewise.
10532 (jn_test_data): Likewise.
10533 (lgamma_test_data): Likewise.
10534 (lrint_test_data): Likewise.
10535 (llrint_test_data): Likewise.
10536 (logb_test_data): Likewise.
10537 (lround_test_data): Likewise.
10538 (llround_test_data): Likewise.
10539 (nearbyint_test_data): Likewise.
10540 (rint_test_data): Likewise.
10541 (round_test_data): Likewise.
10542 (sin_test_data): Likewise.
10543 (sincos_test_data): Likewise.
10544 (sinh_test_data): Likewise.
10545 (sqrt_test_data): Likewise.
10546 (tan_test_data): Likewise.
10547 (tanh_test_data): Likewise.
10548 (tgamma_test_data): Likewise.
10549 (trunc_test_data): Likewise.
10550 (y0_test_data): Likewise.
10551 (y1_test_data): Likewise.
10552 (yn_test_data): Likewise.
10553
10554 * math/libm-test.inc: Update comment about NaN testing.
10555 (TEST_SNAN): New macro.
10556 (snan_value): Likewise.
10557 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10558 (fpclassify_test_data): Add sNaN tests.
10559 (isfinite_test_data): Likewise.
10560 (isinf_test_data): Likewise.
10561 (isnan_test_data): Likewise.
10562 (isnormal_test_data): Likewise.
10563 (issignaling_test_data): Likewise.
10564 (signbit_test_data): Likewise.
10565 * math/gen-libm-test.pl (%beautify): Add snan_value.
10566 (show_exceptions): Add argument $test_snan.
10567 (parse_args): Handle snan_value as non-finite. Update call to
10568 show_exceptions.
10569 * math/Makefile (libm-test-no-inline-cflags): Add
10570 -fsignaling-nans.
10571
10572 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10573
10574 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10575 (CFLAGS-oldsendmsg.c): Add rule.
10576 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10577 Correct recvmsg symbol name.
10578 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10579 Likewise.
10580
10581 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10582
10583 * sysdeps/unix/sysv/linux/Makefile
10584 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10585 oldsendmmsg.
10586 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10587 sendmmsg.
10588 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10589 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10590 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10591 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10593 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10596 Likewise.
10597 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10599 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10600 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10601 iovlen and controllen fields to adjust to POSIX specification.
10602 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10603
10604 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10605 and change to correct expected type.
10606 (msghdr.msg_controllen): Likewise.
10607 (cmsghdr.cmsg_len): Likewise.
10608 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10609 expected POSIX assumption about the size.
10610 (msghdr.msg_controllen): Likewise.
10611 (msghdr.__glibc_reserved1): Likewise.
10612 (msghdr.__glibc_reserved2): Likewise.
10613 (cmsghdr.cmsg_len): Likewise.
10614 (cmsghdr.__glibc_reserved1): Likewise.
10615 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10616 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10617 (CFLAGS-sendmsg.c): Remove rule.
10618 (CFLAGS-recvmsg.c): Likewise.
10619 (CFLAGS-oldsendmsg.c): Add rule.
10620 (CFLAGS-oldrecvmsg.c): Likewise.
10621 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10622 recvmsg and sendmsg.
10623 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10624 Likewise.
10625 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10626 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10627 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10628 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10629 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10630 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10631 Likewise.
10632 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10633 Likewise.
10634 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10635 Likewise.
10636 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10637 Likewise.
10638 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10639 Likewise.
10640 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10641 Likewise.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10643 (GLIBC_2.24): Likewise.
10644 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10645 Likewise.
10646 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10647 Likewise.
10648 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10649 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10650 Likewise.
10651 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10652 Likewise.
10653 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10654 Likewise.
10655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10656 (GLIBC_2.24): Likewise.
10657 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10658 Likewise.
10659 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10660 Likewise.
10661 * sysdeps/unix/sysv/linux/Makefile
10662 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10663 (CFLAGS-sendmsg.c): Add rule.
10664 (CFLAGS-recvmsg.c): Likewise.
10665 (CFLAGS-oldsendmsg.c): Likewise.
10666 (CFLAGS-oldrecvmsg.c): Likewise.
10667 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10668 initialization.
10669 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10670 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10671 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10672 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10673 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10674 iovlen and controllen fields to adjust to POSIX specification.
10675 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10676 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10677 added recvmsg and sendmsg.
10678 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10683 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10684 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10685 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10686 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10688 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10691 Likewise.
10692 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10694 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10695 Likewise.
10696 Likewise.
10697 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10701 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10706 Likewise.
10707 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10709
10710 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10711 from auto-generation.
10712 (sendmsg): Likewise.
10713 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10714 (sendmsg): Likewise.
10715 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10716 (sendmsg): Likewise.
10717 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10718 (sendmsg): Likewise.
10719 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10720 (sendmsg): Likewise.
10721 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10722 (sendmsg): Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10724 Likewise.
10725 (sendmsg): Likewise.
10726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10727 (sendmsg): Likewise.
10728 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10729 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10730 Remove.
10731 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10732 Likewise.
10733 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10734 Undefine.
10735 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10736 Likewise.
10737 * sysdeps/unix/sysv/linux/kernel-features.h
10738 (__ASSUME_SENDMSG_SYSCALL): Define.
10739 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10740 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10741 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10742 Remove.
10743 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10744 Likewise.
10745 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10746 Undefine.
10747 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10748 Likewise.
10749 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10750 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10751 Remove.
10752 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10753 Likewise.
10754 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10755 Undefine.
10756 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10757 Likewise.
10758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10759 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10760 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10761 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10762 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10763 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10764 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10765 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10766 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10767
10768 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10769
10770 * stdlib/gen-tst-strtod-round.c: Add backslash to
10771 compile command in comment.
10772 (printfp): Remove the literal suffix, and define an infinite
10773 value as INF to avoid expansion clash with INFINITY.
10774 (round_str): Remove the literal suffix.
10775 (round_for_all): Likewise, remove the now duplicate ldbl-64
10776 entry, and remove some magic constants.
10777
10778 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10779 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10780 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10781 (_CONCAT): New macro.
10782 (CONCAT): Likewise.
10783 (CHOOSE_ld): Likewise.
10784 (CHOOSE_f): Likewise.
10785 (CHOOSE_d): Likewise.
10786 (FTYPE_MEMBER): Likewise.
10787 (BOOL_MEMBER): Likewise.
10788 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10789 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10790 (_XNTRY): Likewise.
10791 (XNTRY): Likewise.
10792 (_ENTRY): Likewise.
10793 (ENTRY): Likewise.
10794 (test_exactness): Generate members via macro.
10795 (test_results): Likewise.
10796 (test): Update members.
10797 (TEST): Redefine using new macros.
10798 (INF): New macro.
10799 (fetestmodes): New structure.
10800 (do_test): Refactor to be type generic.
10801 (test_in_one_mode): Refactor duplicate code into
10802 (GEN_ONE_TEST): New macro.
10803
10804 * stdlib/tst-strtod-round-data.h: Regenerate.
10805
10806 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10807 Extend to pass additional arbitrary parameters to
10808 generators.
10809
10810 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10811
10812 [BZ #15479]
10813 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10814 floating-point state after first floating-point operation on
10815 input. Restore full floating-point state instead of just rounding
10816 mode.
10817 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10818 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10819 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10820 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10821 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10822
10823 [BZ #15479]
10824 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10825 floating-point state after first floating-point operation on
10826 input. Restore full floating-point state instead of just rounding
10827 mode.
10828 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10829 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10830 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10831 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10832 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10833
10834 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10835
10836 [BZ #19727]
10837 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10838 valid high surrogate.
10839 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10840 of an utf16 surrogate.
10841 * iconv/gconv_simple.c (BODY): Likewise.
10842 * iconvdata/bug-iconv12.c: New file.
10843 * iconvdata/Makefile (tests): Add bug-iconv12.
10844
10845 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10846
10847 [BZ #19726]
10848 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10849 outptrp in case of an illegal input.
10850 * iconv/tst-iconv6.c: New file.
10851 * iconv/Makefile (tests): Add tst-iconv6.
10852
10853 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10854
10855 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10856 an error in case of a value in range of an utf16 low surrogate.
10857
10858 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10859
10860 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10861 an error in case of a value in range of an utf16 low surrogate.
10862
10863 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10864
10865 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10866 Move to ...
10867 * sysdeps/s390/Makefile: ... here.
10868 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10869 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10870 (BRANCH_ON_COUNT): New define.
10871 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10872 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10873 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10874 run on s390-32, too.
10875 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10876 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10877 run on s390-32, too.
10878 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10879 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10880 run on s390-32, too.
10881
10882 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10883
10884 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10885 etf3eh or new vector loop-variant.
10886
10887 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10888
10889 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10890 etf3eh or new vector loop-variant.
10891
10892 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10893
10894 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10895 or new vector loop-variant.
10896
10897 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10898
10899 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10900 Rename to TR_LOOP and usage of tr instead of troo instruction.
10901
10902 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10903
10904 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10905 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10906
10907 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10908
10909 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10910 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10911 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10912 New override define.
10913 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10914
10915 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10916
10917 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10918 * sysdeps/s390/configure.ac: Add test for S390 vector register
10919 support in gcc.
10920 * sysdeps/s390/configure: Regenerated.
10921
10922 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10923
10924 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10925 Install file from $(objpfx)gconv-modules.
10926 ($(objpfx)gconv-modules): Concatenate architecture specific file
10927 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10928 * sysdeps/s390/gconv-modules: New file.
10929 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10930 Deleted.
10931 ($(objpfx)gconv-modules-s390): Deleted.
10932 (sysdeps-gconv-modules): New variable.
10933
10934 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10935
10936 [BZ #15479]
10937 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10938 of immediate operand to rounding instruction.
10939 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10940 Likewise.
10941 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10942 Likewise.
10943 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10944 Likewise.
10945
10946 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10947
10948 * math/libm-test.inc (MIN_EXP): Directly define as
10949 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10950
10951 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10952
10953 * math/libm-test.inc (MANT_DIG): Directly define as
10954 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10955
10956 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10957
10958 * stdlib/gen-tst-strtod-round.c (main):
10959 Change usage to more closely match the generated
10960 output. Add usage and compilation instructions.
10961 (string_to_fp): Add and use FILE* parameter as
10962 output target.
10963 (print_fp): Likewise.
10964 (round_str): Likewise.
10965 (round_for_all): Likewise.
10966 * stdlib/tst-strtod-round.c (tests): Move into
10967 * stdlib/tst-strtod-round-data.h: New file.
10968
10969 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10970
10971 [BZ #15479]
10972 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10973 (__round): Do not force "inexact" exception.
10974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10975 variable.
10976 (__round): Do not force "inexact" exception.
10977 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10978 (__roundf): Do not force "inexact" exception.
10979 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10980 (__roundl): Do not force "inexact" exception.
10981 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10982 (__roundl): Do not force "inexact" exception.
10983 * math/libm-test.inc (round_test_data): Do not allow spurious
10984 "inexact" exceptions.
10985
10986 [BZ #15479]
10987 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10988 exception in comment.
10989 (huge): Remove variable.
10990 (__floor): Do not force "inexact" exception.
10991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10992 "inexact" exception in comment.
10993 (huge): Remove variable.
10994 (__floor): Do not force "inexact" exception.
10995 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10996 exception in comment.
10997 (huge): Remove variable.
10998 (__floorf): Do not force "inexact" exception.
10999 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11000 exception in comment.
11001 (huge): Remove variable.
11002 (__floorl): Do not force "inexact" exception.
11003
11004 [BZ #15479]
11005 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11006 exception in comment.
11007 (huge): Remove variable.
11008 (__ceil): Do not force "inexact" exception.
11009 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11010 "inexact" exception in comment.
11011 (huge): Remove variable.
11012 (__ceil): Do not force "inexact" exception.
11013 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11014 (__ceilf): Do not force "inexact" exception.
11015 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11016 exception in comment.
11017 (huge): Remove variable.
11018 (__ceill): Do not force "inexact" exception.
11019
11020 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 * config.h.in (BIND_NOW): New.
11023 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
11024 * configure: Regenerated.
11025 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11026 indirect branch via the GOT slot.
11027
11028 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11029
11030 [BZ #19765]
11031 * sysdeps/s390/mempcpy.S: New File.
11032 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11033 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11034 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11035 Add mempcpy variants.
11036 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11037 (memcpy): Adjust to be usable from mempcpy entry point.
11038 (__memcpy_mvcle): Likewise.
11039 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11040 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11041 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11042 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11043 (__memcpy_z10): Likewise.
11044 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11045
11046 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11047
11048 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11049 Remove __GI_ symbol.
11050 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11051 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11052 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11053 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11054 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11055 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11056
11057 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11058
11059 * sysdeps/s390/s390-64/memcpy.S (memcpy):
11060 Use cghi instead of chi to compare 64bit value.
11061
11062 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11063
11064 * sysdeps/s390/s390-32/memcpy.S (memcpy):
11065 Jump to 1MB check before executing mvc-loop.
11066
11067 2016-05-24 Florian Weimer <fweimer@redhat.com>
11068
11069 [BZ #6527]
11070 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11071 unconditionally.
11072 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11073
11074 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11075
11076 * stdlib/tst-strtod6.c (do_test): Use new type generic
11077 invocation of the test function.
11078 (test): Refactor into ...
11079 (TEST_STRTOD): New macro base function.
11080
11081 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11082
11083 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11084 (TEST_STRTOD): New macro.
11085 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11086
11087 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11088
11089 * stdlib/tst-strtod6.c (do_test): Use new type generic
11090 invocation of the test function.
11091 (test): Refactor into ...
11092 (TEST_STRTOD): New macro base function.
11093
11094 2016-05-23 Florian Weimer <fweimer@redhat.com>
11095
11096 CVE-2016-4429
11097 [BZ #20112]
11098 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11099 payload.
11100
11101 2016-05-23 Florian Weimer <fweimer@redhat.com>
11102
11103 [BZ #20111]
11104 * bits/sockaddr.h (_SS_SIZE): Define.
11105 * bits/socket.h (_SS_SIZE): Remove.
11106 (_SS_PADSIZE): Adjust to account for all padding.
11107 (struct sockaddr_storage): Update comment. Avoid implicit
11108 padding.
11109 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11110 (_SS_PADSIZE): Adjust to account for all padding.
11111 (struct sockaddr_storage): Update comment. Avoid implicit
11112 padding.
11113 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11114 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11115 (_SS_PADSIZE): Adjust to account for all padding.
11116 (struct sockaddr_storage): Update comment. Avoid implicit
11117 padding.
11118 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11119 __SS_SIZE is 126 in this version.
11120 * inet/tst-sockaddr.c: New file.
11121 * inet/Makefile (tests): Add tst-sockaddr.c
11122 (tst-sockaddr.c): Compile with non-strict aliasing.
11123
11124 2016-05-23 Joseph Myers <joseph@codesourcery.com>
11125
11126 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11127 [XPG3 || XPG4].
11128 (NL_ARGMAX): Also expect for [XPG3].
11129 (NL_LANGMAX): Likewise.
11130 (NL_MSGMAX): Likewise.
11131 (NL_NMAX): Likewise.
11132 (NL_SETMAX): Likewise.
11133 (NL_TEXTMAX): Likewise.
11134 (NZERO): Likewise.
11135 (TMP_MAX): Likewise.
11136 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11137 variable.
11138
11139 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11140 (PF_MAX): Update value.
11141 (AF_KCM): New macro.
11142 (SOL_NETBEUI): Likewise.
11143 (SOL_LLC): Likewise.
11144 (SOL_DCCP): Likewise.
11145 (SOL_NETLINK): Likewise.
11146 (SOL_TIPC): Likewise.
11147 (SOL_RXRPC): Likewise.
11148 (SOL_PPPOL2TP): Likewise.
11149 (SOL_BLUETOOTH): Likewise.
11150 (SOL_PNPIPE): Likewise.
11151 (SOL_RDS): Likewise.
11152 (SOL_IUCV): Likewise.
11153 (SOL_CAIF): Likewise.
11154 (SOL_ALG): Likewise.
11155 (SOL_NFC): Likewise.
11156 (SOL_KCM): Likewise.
11157 (MSG_BATCH): New enum value and macro.
11158
11159 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
11160
11161 [BZ #18185]
11162 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11163 sharing L2 cache to 2 for Knights Landing.
11164
11165 2016-05-20 Joseph Myers <joseph@codesourcery.com>
11166
11167 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11168 (FTW_DP): Do not expect for [XPG3 || XPG4].
11169 (FTW_SL): Do not expect for [XPG3].
11170 (FTW_SLN): Likewise.
11171 (FTW_PHYS): Likewise.
11172 (FTW_MOUNT): Likewise.
11173 (FTW_DEPTH): Likewise.
11174 (FTW_CHDIR): Likewise.
11175 (nftw): Likewise.
11176 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11177 variable.
11178
11179 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11180
11181 * manual/errno.texi: Fix various typos & grammar errors.
11182
11183 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11184
11185 * manual/intro.texi: Fix duplicated typo.
11186
11187 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11188
11189 [BZ #13304]
11190 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11191 <float.h>, <math_private.h> and <stdlib.h>.
11192 (add_split): New function.
11193 (mul_split): Likewise.
11194 (ext_val): New typedef.
11195 (store_ext_val): New function.
11196 (mul_ext_val): New function.
11197 (compare): New function.
11198 (add_split_ext): New function.
11199 (__fmal): After checking for Inf, NaN and zero, compute result as
11200 an exact sum of scaled double values in round-to-nearest before
11201 adding those up and adjusting for other rounding modes.
11202 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11203 tests of fma.
11204 * math/auto-libm-test-out: Regenerated.
11205
11206 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11207
11208 [BZ #20119]
11209 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11210 processor level type mask for CPUID with EAX == 11.
11211
11212 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11213
11214 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11215 logical threads if the HTT bit is 0.
11216 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11217 (index_cpu_HTT): Likewise.
11218 (reg_HTT): Likewise.
11219
11220 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 [BZ #20115]
11223 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11224 Remove alignments on jump targets.
11225
11226 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11227
11228 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11229 (getpwent): Likewise.
11230 (setpwent): Likewise.
11231 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11232 variable.
11233
11234 * conform/data/search.h-data (insque): Do not expect for [XPG3].
11235 (remque): Likewise.
11236 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11237 variable.
11238
11239 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11240
11241 * math/libm-test.inc: Update comment not to refer to signs of NaNs
11242 not being tested.
11243
11244 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11245
11246 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11247 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
11248 call.
11249 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11250 (__condvar_cleanup1): Likewise.
11251
11252 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11253
11254 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11255 New
11256 (__pthread_unwind): Renamed to ...
11257 (PTHREAD_UNWIND): This.
11258 (__pthread_enable_asynccancel): Replace
11259 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11260
11261 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11262
11263 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11264 (CLONE_NEWCGROUP): New macro.
11265
11266 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11267 (Q_GETNEXTQUOTA): New macro.
11268
11269 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11270
11271 [BZ #19907]
11272 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11273 buffer updated by the previous run.
11274 * string/test-memcpy.c (do_one_test): Likewise.
11275 * benchtests/bench-memmove.c (do_one_test): Add a comment.
11276 * string/test-memmove.c (do_one_test): Likewise.
11277
11278 2016-05-17 Joseph Myers <joseph@codesourcery.com>
11279
11280 [BZ #20094]
11281 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11282 not [__USE_XOPEN].
11283 (unlockpt): Likewise.
11284 (ptsname): Likewise.
11285 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11286 variable.
11287
11288 [BZ #20076]
11289 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11290 instead of [__USE_UNIX98].
11291 (S_ISSOCK): Likewise.
11292 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11293 variable.
11294
11295 [BZ #20074]
11296 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11297 [__USE_POSIX].
11298 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11299 variable.
11300
11301 [BZ #20051]
11302 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11303 (ttyslot): Do not declare.
11304 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11305 (ttyslot): New prototype.
11306 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11307 variable.
11308 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11309
11310 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11311
11312 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11313
11314 2016-05-13 Florian Weimer <fweimer@redhat.com>
11315
11316 Fix race condition in tst-mallocfork2, use fewer resources.
11317 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11318 to current process group.
11319 (signal_sender): Yield in the non-sleeping case.
11320
11321 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11322
11323 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11324 (ecvt): Likewise.
11325 (fcvt): Likewise.
11326 (gcvt): Likewise.
11327 (getsubopt): Likewise.
11328 (grantpt): Likewise.
11329 (initstate): Likewise.
11330 (l64a): Likewise.
11331 (mktemp): Likewise.
11332 (mkstemp): Likewise.
11333 (ptsname): Likewise.
11334 (random): Likewise.
11335 (realpath): Likewise.
11336 (setstate): Likewise.
11337 (srandom): Likewise.
11338 (ttyslot): Likewise.
11339 (unlockpt): Likewise.
11340 (valloc): Likewise.
11341
11342 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11343 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11344 variable.
11345
11346 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11347
11348 [BZ #20072]
11349 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11350 init_cpu_features only if SHARED is defined.
11351 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11352
11353 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11354
11355 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11356 non-inclusive caches on Intel processors.
11357
11358 2016-05-13 Florian Weimer <fweimer@redhat.com>
11359
11360 * malloc/malloc.c (dumped_main_arena_start)
11361 (dumped_main_arena_end): New variables.
11362 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11363 (do_check_chunk): Skip dumped fake mmapped chunks.
11364 (munmap_chunk): Likewise.
11365 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11366 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11367 mmapped chunks.
11368 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11369 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11370 and dumped_main_arena_end to cover the dumped heap.
11371
11372 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11373
11374 * conform/data/time.h-data (getdate_err): Do not expect for
11375 [XPG3].
11376 (getdate): Likewise.
11377 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11378 variable.
11379
11380 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11381 (F_ULOCK): Likewise.
11382 (F_TEST): Likewise.
11383 (F_TLOCK): Likewise.
11384 (useconds_t): Likewise.
11385 (intptr_t): Do not expect for [XPG3] or [XPG4].
11386 (brk): Do not expect for [XPG3]
11387 (fchown): Likewise.
11388 (fchdir): Likewise.
11389 (ftruncate): Likewise.
11390 (getdtablesize): Likewise.
11391 (gethostid): Likewise.
11392 (getpagesize): Likewise.
11393 (getpgid): Likewise.
11394 (getsid): Likewise.
11395 (getwd): Likewise.
11396 (lchown): Likewise.
11397 (lockf): Likewise.
11398 (readlink): Likewise.
11399 (sbrk): Likewise.
11400 (setpgrp): Likewise.
11401 (setregid): Likewise.
11402 (setreuid): Likewise.
11403 (symlink): Likewise.
11404 (sync): Likewise.
11405 (truncate): Likewise.
11406 (ualarm): Likewise.
11407 (usleep): Likewise.
11408 (vfork): Likewise.
11409 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11410 variable.
11411
11412 [BZ #20054]
11413 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11414 not [__USE_UNIX98].
11415 * conform/data/unistd.h-data (gethostname): Do not expect for
11416 [XPG3].
11417
11418 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11419 [!POSIX] (S_IFBLK): Likewise.
11420 [!POSIX] (S_IFCHR): Likewise.
11421 [!POSIX] (S_IFIFO): Likewise.
11422 [!POSIX] (S_IFREG): Likewise.
11423 [!POSIX] (S_IFDIR): Likewise.
11424 [!POSIX] (S_IFLNK): Likewise.
11425 [!POSIX] (S_IFSOCK): Likewise.
11426 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11427 variable.
11428 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11429
11430 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11431
11432 * sysdeps/aarch64/memset.S (__memset):
11433 Rewrite of optimized memset.
11434
11435 2016-05-12 Florian Weimer <fweimer@redhat.com>
11436
11437 [BZ #19703]
11438 Partially async-signal-safe fork for single-threaded processes.
11439 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11440 variable. Do not acquire and reset/release malloc and libio locks
11441 in single-threaded processes.
11442 * malloc/tst-mallocfork2.c: New file.
11443 * malloc/Makefile (tests): Add it.
11444
11445 2016-05-12 Florian Weimer <fweimer@redhat.com>
11446
11447 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11448 argument. Use scratch buffer instead of extend_alloca.
11449 (gethosts): Use scratch buffer instead of extend_alloca.
11450 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11451 extend_alloca.
11452 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11453
11454 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11455
11456 [BZ #20055]
11457 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11458 instead of [__USE_UNIX98].
11459 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11460 [__USE_UNIX98].
11461 * conform/data/termios.h-data (tcgetsid): Do not expect for
11462 [XPG3].
11463 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11464 variable.
11465 (test-xfail-XPG4/termios.h/conform): Likewise.
11466
11467 2016-05-11 Florian Weimer <fweimer@redhat.com>
11468
11469 Do not use mcheck in localedef.
11470 * locale/programs/localedef.c (turn_on_mcheck)
11471 (__malloc_initialize_hook): Remove.
11472
11473 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11474
11475 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11476 * sysdeps/s390/s390-64/Makefile: Likewise.
11477
11478 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11479
11480 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11481 Remove ifunc-defines.sym.
11482 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11483 Likewise.
11484 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11485 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11486 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11487 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11488 rtld-global-offsets.sym.
11489 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11490 * sysdeps/x86/cpu-features-offsets.sym: This.
11491 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11492 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11493
11494 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11495
11496 [BZ #20073]
11497 * io/sys/stat.h (fchmod): Declare for
11498 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11499 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11500 variable.
11501
11502 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11503 [XPG3] (S_IFSOCK): Likewise.
11504 [XPG3] (S_ISVTX): Likewise.
11505 [XPG3] (S_ISLNK): Likewise.
11506 [XPG3] (S_ISSOCK): Likewise.
11507 [XPG3] (fchmod): Likewise.
11508 [XPG3] (lstat): Likewise.
11509 [XPG3] (mknod): Likewise.
11510
11511 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11512 [XPG3]. Expect type long and XFAIL for [XPG4].
11513 (st_blocks): Likewise.
11514
11515 [BZ #20044]
11516 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11517 (pthread_atfork): New prototype.
11518 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11519 variable.
11520
11521 [BZ #20043]
11522 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11523 prototype.
11524
11525 2016-05-10 Florian Weimer <fweimer@redhat.com>
11526
11527 [BZ #20017]
11528 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11529 gmtime.
11530
11531 2016-05-10 Florian Weimer <fweimer@redhat.com>
11532
11533 [BZ #19994]
11534 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11535 flag in _res.options.
11536
11537 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11538
11539 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11540 [XPG3 || XPG4].
11541 (blksize_t): Likewise.
11542 (clockid_t): Likewise.
11543 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11544 variable.
11545 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11546
11547 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11548
11549 * sysdeps/unix/sysv/linux/s390/init-first.c:
11550 Add VDSO_SYMBOL(getcpu).
11551 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11552 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11553 Add VDSO_SYMBOL(getcpu).
11554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11555 New define HAVE_GETCPU_VSYSCALL.
11556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11557
11558 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11559
11560 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11561 instead of <sysdeps/x86_64/cacheinfo.c>.
11562 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11563 * sysdeps/x86/cacheinfo.c: Here.
11564
11565 2016-05-04 Florian Weimer <fweimer@redhat.com>
11566
11567 * malloc/malloc-internal.h: Adjust header file guard.
11568
11569 2016-05-04 Florian Weimer <fweimer@redhat.com>
11570
11571 [BZ #19787]
11572 * inet/getnameinfo.c (check_sprintf_result): New function.
11573 (CHECKED_SNPRINTF): New macro.
11574 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11575 to the host buffer.
11576 (gni_host_local): Use checked_copy to copy the host name.
11577 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11578 (gni_serv_local): Use checked_copy to copy the service name.
11579 (getnameinfo): Remove unnecessary truncation of result buffers.
11580
11581 2016-05-04 Florian Weimer <fweimer@redhat.com>
11582
11583 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11584 in case of inet_ntop failure.
11585
11586 2016-05-04 Florian Weimer <fweimer@redhat.com>
11587
11588 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11589 avoid long lines.
11590 (gni_host_inet_numeric): Likewise. Reduce scope of local
11591 variables.
11592 (gni_host_inet, gni_host_local): Add comment.
11593 (gni_host): Add comment. Use temporary to avoid long lines.
11594
11595 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11596
11597 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11598 registers specifiers where general purpose registers specifiers should
11599 have been used.
11600
11601 2016-05-04 Florian Weimer <fweimer@redhat.com>
11602
11603 [BZ #19779]
11604 CVE-2016-1234
11605 Avoid copying names of directory entries.
11606 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11607 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11608 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11609 (struct readdir_result): New type.
11610 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11611 (GL_READDIR): New macros.
11612 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11613 (convert_dirent, convert_dirent64): New functions.
11614 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11615 convert_dirent64. Adjust references to the readdir result.
11616 * sysdeps/unix/sysv/linux/i386/glob64.c:
11617 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11618 * posix/bug-glob2.c (LONG_NAME): Define.
11619 (filesystem): Add LONG_NAME.
11620 (my_DIR): Increase the size of room_for_dirent.
11621
11622 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11623
11624 [BZ #20041]
11625 * misc/sys/select.h (__need_timespec): Only define if
11626 [__USE_XOPEN2K].
11627 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11628 variable.
11629 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11630 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11631 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11632
11633 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11634 Segher Boessenkool <segher@gcc.gnu.org>
11635
11636 [BZ #20004]
11637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11638 (__novec_swapcontext): Add missing load.
11639
11640 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11641
11642 [BZ #20023]
11643 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11644 <time.h>.
11645 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11646 variable.
11647 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11648
11649 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11650
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11652 flags CLONE_VM compare.
11653
11654 2016-05-02 Florian Weimer <fweimer@redhat.com>
11655
11656 [BZ #20031]
11657 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11658 completely empty.
11659
11660 2016-05-02 Florian Weimer <fweimer@redhat.com>
11661
11662 [BZ #19573]
11663 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11664 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11665 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11666 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11667 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11668 (hesiod_free_list): Mark as hidden.
11669 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11670 res_set, res_get.
11671 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11672 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11673 (hesiod_init): Remove obsolete res_ninit call.
11674 (hesiod_end): Do not free resolver state. Do not invoke callback.
11675 (hesiod_bind): Do not call init.
11676 (get_txt_records): Use res_mkquery, res_send instead of
11677 res_nmkquery, res_nsend.
11678 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11679 instead of _nss_hesiod_init.
11680 (_nss_hesiod_initgroups_dyn): Likewise.
11681 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11682 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11683 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11684
11685 2016-05-02 Florian Weimer <fweimer@redhat.com>
11686
11687 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11688 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11689
11690 2016-05-02 Florian Weimer <fweimer@redhat.com>
11691
11692 * hesiod/hesiod.h: Remove RCS keyword.
11693 * hesiod/hesiod_p.h: Likewise.
11694
11695 * hesiod/hesiod.c: Likewise.
11696
11697 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
11698
11699 [BZ #12450]
11700 * locale/iso-639.def: Add Samogitian/sgs.
11701
11702 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
11703
11704 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11705
11706 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11707
11708 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
11709 Carlos O'Donell <carlos@redhat.com>
11710
11711 [BZ #19072]
11712 * grp/Makefile (headers): Add grp-merge.h
11713 (routines): Add grp-merge.
11714 * grp/getgrgid_r.c: Include grp-merge.h.
11715 (DEEPCOPY_FN): Define.
11716 (MERGE_FN): Define.
11717 * grp/getgrname_r.c: Include grp-merge.h.
11718 (DEEPCOPY_FN): Define.
11719 (MERGE_FN): Define.
11720 * grp/grp-merge.c: New file.
11721 * grp/grp-merge.h: New file.
11722 * include/grp-merge.h: New file.
11723 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11724 __copy_grp@GLIBC_PRIVATE.
11725 * manual/nss.texi (Actions in the NSS configuration): Describe
11726 return, continue, and merge.
11727 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11728 (DEEPCOPY_FN): Define.
11729 (MERGE_FN): Define.
11730 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11731 (DEEPCOPY_FN): Define.
11732 (MERGE_FN): Define.
11733 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11734 [!MERGE_FN]: Define __merge_einval.
11735 (CHECK_MERGE): Define.
11736 (REENTRANT_NAME): Process merge if do_merge is true.
11737 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11738 (__nss_getent_r): Likewise.
11739 * nss/nsswitch.c (nss_parse_service_list): Likewise.
11740 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11741
11742 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11743
11744 [BZ #20012]
11745 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11746 length to calculate the buffer to read.
11747 (fmemopen_write): Set the buffer position based on bytes written.
11748 (fmemopen_seek): Return EINVAL for invalid whence modes.
11749
11750 [BZ #19957]
11751 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11752 tst-getpid2.
11753 (test): Add tst-clone2.
11754 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11755 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11756 pid/tid fields for CLONE_VM.
11757 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11758 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11759 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11760 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11761 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11762 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11763 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11764 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11766 Likewise.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11768 Likewise.
11769 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11770 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11771 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11772 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11773 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11774 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11776 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11777
11778 2016-04-29 Florian Weimer <fweimer@redhat.com>
11779
11780 [BZ #19642]
11781 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11782 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11783 (gni_serv_local, gni_serv): New functions extracted from
11784 getnameinfo.
11785 (getnameinfo): Call gni_host and gni_serv to perform the
11786 processing. Always free scratch buffer.
11787
11788 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11789
11790 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11791 remaining bytes in the dest string, with zeros.
11792
11793 2016-04-29 Florian Weimer <fweimer@redhat.com>
11794
11795 [BZ #20010]
11796 CVE-2016-3706
11797 * sysdeps/posix/getaddrinfo.c
11798 (convert_hostent_to_gaih_addrtuple): New function.
11799 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11800 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11801 AF_INET data.
11802
11803 2016-04-29 Florian Weimer <fweimer@redhat.com>
11804
11805 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11806 callback function gl_readdir.
11807 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11808 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11809 (glob_in_dir): Remove len. Use strdup instead of malloc and
11810 memcpy to copy the name.
11811 * manual/pattern.texi (Calling Glob): Document requirements for
11812 implementations of the gl_readdir callback function.
11813 * manual/examples/mkdirent.c: New example.
11814 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11815 per the manual guidance.
11816 * posix/tst-gnuglob.c (my_readdir): Likewise.
11817
11818 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11819
11820 [BZ #20014]
11821 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11822 not [__USE_POSIX].
11823 (getchar_unlocked): Likewise.
11824 (putc_unlocked): Likewise.
11825 (putchar_unlocked): Likewise.
11826 (flockfile): Likewise.
11827 (ftrylockfile): Likewise.
11828 (funlockfile): Likewise.
11829 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11830 variable.
11831 (test-xfail-XPG4/stdio.h/conform): Likewise.
11832
11833 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11834 Expect constant.
11835 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11836 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11837 variable.
11838 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11839 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11840
11841 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11842 [__USE_LARGEFILE64] (off64_t): Likewise.
11843 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11844 variable.
11845
11846 2016-04-28 Florian Weimer <fweimer@redhat.com>
11847
11848 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11849
11850 2016-04-28 Florian Weimer <fweimer@redhat.com>
11851
11852 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11853 * resolv/res_init.c: Likewise.
11854 * resolv/res_mkquery.c: Likewise.
11855
11856 2016-04-28 Florian Weimer <fweimer@redhat.com>
11857
11858 * resolv/res_init.c (isascii): Do not define. Use definition in
11859 <ctype.h>.
11860 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11861 (LOG_AUTH): Remove.
11862 (SPRINTF): Remove, adjust caller.
11863 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11864
11865 2016-04-28 Florian Weimer <fweimer@redhat.com>
11866
11867 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11868 SUNSECURITY conditional.
11869 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11870
11871 2016-04-28 Florian Weimer <fweimer@redhat.com>
11872
11873 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11874 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11875 Remove BSD-related preprocessor conditionals.
11876 * conf/portability.h: Remove.
11877
11878 2016-04-28 Florian Weimer <fweimer@redhat.com>
11879
11880 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11881 * resolv/res_data.c: Likewise.
11882
11883 2016-04-28 Florian Weimer <fweimer@redhat.com>
11884
11885 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11886 * resolv/res_data.c: Remove code conditional on ultrix.
11887
11888 2016-04-28 Florian Weimer <fweimer@redhat.com>
11889
11890 * resolv/res_init.c (RFC1535): Do not define. Remove
11891 RFC1535 preprocessor conditionals.
11892 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11893 because there configuration options which make the resolver
11894 behavior different.
11895
11896 2016-04-28 Florian Weimer <fweimer@redhat.com>
11897
11898 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11899 RESOLVSORT preprocessor conditionals.
11900 * resolv/nss_dns/dns-host.c: Likewise.
11901 * resolv/res_init.c: Likewise.
11902
11903 2016-04-28 Florian Weimer <fweimer@redhat.com>
11904
11905 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11906 is never defined.
11907
11908 2016-04-28 Florian Weimer <fweimer@redhat.com>
11909
11910 * inet/inet_lnaof.c: Remove SCSS keyword.
11911 * inet/inet_mkadr.c: Likewise.
11912 * inet/inet_net.c: Likewise.
11913 * inet/inet_netof.c: Likewise.
11914 * inet/rcmd.c: Likewise.
11915 * inet/rexec.c: Likewise.
11916 * inet/ruserpass.c: Likewise.
11917
11918 2016-04-28 Florian Weimer <fweimer@redhat.com>
11919
11920 * resolv/inet_addr.c: Remove _LIBC conditionals.
11921 * resolv/res_data.c: Likewise.
11922 * resolv/res_init.c: Likewise.
11923 * resolv/res_mkquery.c: Likewise.
11924 * resolv/res_libc.c: Update comment.
11925 * resolv/README: Update.
11926
11927 2016-04-28 Florian Weimer <fweimer@redhat.com>
11928
11929 * resolv/gethnamaddr.c: Remove SCSS keyword.
11930 * resolv/herror.c: Likewise.
11931 * resolv/inet_addr.c: Likewise.
11932 * resolv/inet_net_ntop.c: Likewise.
11933 * resolv/inet_net_pton.c: Likewise.
11934 * resolv/inet_neta.c: Likewise.
11935 * resolv/inet_ntop.c: Likewise.
11936 * resolv/inet_pton.c: Likewise.
11937 * resolv/ns_date.c: Remove RCS keyword.
11938 * resolv/ns_name.c: Likewise.
11939 * resolv/ns_netint.c: Likewise.
11940 * resolv/ns_parse.c: Likewise.
11941 * resolv/ns_print.c: Likewise.
11942 * resolv/ns_samedomain.c: Likewise.
11943 * resolv/ns_ttl.c: Likewise.
11944 * resolv/nsap_addr.c: Likewise.
11945 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11946 * resolv/res_data.c: Remove RCS keyword.
11947 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11948 * resolv/res_init.c: Likewise.
11949 * resolv/res_mkquery.c: Likewise.
11950 * resolv/res_query.c: Likewise.
11951 * resolv/res_send.c: Likewise.
11952
11953 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11954
11955 * conform/data/stdio.h-data (fdopen): Expect also for
11956 [XPG3 || XPG4].
11957
11958 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11959 (fseeko): Likewise.
11960 (ftello): Likewise.
11961 (ftrylockfile): Likewise.
11962 (funlockfile): Likewise.
11963 (getc_unlocked): Likewise.
11964 (getchar_unlocked): Likewise.
11965 (putc_unlocked): Likewise.
11966 (putchar_unlocked): Likewise.
11967
11968 2016-04-27 Florian Weimer <fweimer@redhat.com>
11969
11970 [BZ #19868]
11971 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11972 DNS packet syntax checks (which were not needed before). Skip
11973 over non-PTR records.
11974
11975 2016-04-27 Florian Weimer <fweimer@redhat.com>
11976
11977 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11978 definition. Include <stddef.h> instead.
11979
11980 2016-04-27 Florian Weimer <fweimer@redhat.com>
11981
11982 [BZ #19831]
11983 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11984 function.
11985 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11986 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11987
11988 2016-04-27 Florian Weimer <fweimer@redhat.com>
11989
11990 [BZ #19862]
11991 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11992 (getanswer_r): Do not call syslog.
11993 (gaih_getanswer_slice): Likewise.
11994 * resolv/gethnamaddr.c (AskedForGot): Remove.
11995 (getanswer): Do not call syslog.
11996 (gethostbyaddr): Likewise.
11997
11998 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11999
12000 * conform/data/signal.h-data (union sigval): Expect also if
12001 [XOPEN2K].
12002 (struct sigevent): Likewise.
12003 (SIGEV_NONE): Likewise.
12004 (SIGEV_SIGNAL): Likewise.
12005 (SIGEV_THREAD): Likewise.
12006 (SIGRTMIN): Likewise.
12007 (SIGRTMAX): Likewise.
12008 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12009 variable.
12010 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12011
12012 2016-04-27 Florian Weimer <fweimer@redhat.com>
12013
12014 [BZ #19830]
12015 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12016 (gaih_getanswer_slice): Likewise.
12017 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12018 Also check for availability of RR metadata.
12019
12020 2016-04-27 Florian Weimer <fweimer@redhat.com>
12021
12022 [BZ #19825]
12023 * resolv/res_send.c (send_vc): Remove early *resplen2
12024 initialization. Set *resplen2 on socket error. Call
12025 close_and_return_error for other errors.
12026
12027 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12028
12029 * sysdeps/unix/sysv/linux/netiucv/iucv.h
12030 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12031 (SCM_IUCV_TRGCLS): New define.
12032
12033 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12034
12035 [BZ #20005]
12036 * libio/fmemopen.c (fmemopen_write): Update internal position after
12037 write.
12038 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12039 * stdio-common/tst-fmemopen4.c: New file..
12040
12041 2016-04-26 Joseph Myers <joseph@codesourcery.com>
12042
12043 [BZ #19996]
12044 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12045 not [__USE_XOPEN2K].
12046 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12047 variable.
12048
12049 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12050 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12051 variable.
12052
12053 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12054 [__USE_XOPEN2K8].
12055 [__USE_LARGEFILE64] (off64_t): Likewise.
12056 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12057 variable.
12058
12059 2016-04-25 Joseph Myers <joseph@codesourcery.com>
12060
12061 [BZ #19989]
12062 * libio/stdio.h (cuserid): Do not declare if
12063 [__USE_XOPEN2K && !__USE_GNU].
12064 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12065 variable.
12066
12067 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12068
12069 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12070 (sysdep_routines): Add P8 and PPC64 strcspn targets.
12071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12072 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12073 ifunc'ed strcspn.
12074 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12075 [EALIGN]: Removed.
12076 [END]: Likewise
12077 [STRSPN]: Define instead of the above to control symbol name.
12078 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12079 New file.
12080 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12081 Likewise.
12082 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12083 Likewise.
12084 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12085 Likewise.
12086 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12087 [INITIAL_MASK]: New macro.
12088 [STRCSPN]: Likewise.
12089 [UPDATE_MASK]: Likewise.
12090 [USE_AS_STRCSPN]: Likewise.
12091
12092 2016-04-25 Florian Weimer <fweimer@redhat.com>
12093
12094 [BZ #19931]
12095 * stdio-common/tst-vfprintf-width-prec.c: New file.
12096 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12097 (tests-special): Add tst-vfprintf-width-prec-mem.out.
12098 (generated): Add mtrace-related files.
12099 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12100 (tst-%-mem.out): New pattern rule, replaces
12101 tst-printf-bz18872-mem.out.
12102 * stdio-common/vfprintf.c (vfprintf): When handling a precision
12103 specifier, deallocate any previously allocated work buffer.
12104
12105 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12106
12107 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12108 Add nop before __startcontext, add explaining comments.
12109
12110 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
12111
12112 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12113 any more. Notably since IPV6_PKTINFO has been reintroduced with a
12114 completely different API.
12115
12116 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12117 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12118 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12119 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12120 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12121 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12122 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12123 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12124 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12125 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12126
12127 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
12128
12129 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12130
12131 2016-04-23 Mike Frysinger <vapier@gentoo.org>
12132
12133 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12134 when it is the default of 0.
12135
12136 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12137
12138 * sysdeps/powerpc/locale-defines.sym: Add new macros.
12139 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12140 (sysdep_routines): Add new strcasestr targets.
12141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12142 (__libc_ifunc_impl_list): Likewise.
12143 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12144 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12145 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12146 * sysdeps/powerpc/powerpc64/power8/Makefile:
12147 New file to add strcasestr-ppc64 to sysdep_routines.
12148 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12149 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12150
12151 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
12152
12153 * benchtests/Makefile (wcsmbs-benchset): Include only for
12154 native builds and runs.
12155 (LOCALES): Likewise.
12156 (bench-build): Build timing-type here instead of the bench
12157 target. Generate locale only for native builds.
12158 * benchtests/README: Add note for cross-building.
12159
12160 * benchtests/Makefile (bench-clean): Clean up extra-objs.
12161
12162 * benchtests/README: Update README to include instructions on
12163 using bench-build.
12164
12165 * Makefile.in (bench-build): New target.
12166 * Rules (PHONY): Add bench-build target.
12167 * benchtests/Makefile (bench): Depend on bench-build.
12168 (bench-build): New target.
12169
12170 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12171
12172 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12173 profil_reply_port.
12174 (profile_waiter): Do not initialize profil_reply_port.
12175 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12176 frequency instead of tick length in us.
12177
12178 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
12179
12180 [BZ #18712]
12181 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12182 (__old_mempcpy_small): Likewise.
12183 (__old_strcpy_small): Likewise.
12184 (__old_stpcpy_small): Likewise.
12185 (__old_strpbrk_c2): Fix compat symbol name.
12186 (__old_strpbrk_c3): Likewise.
12187 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12188 (__mempcpy_small): Remove.
12189 (__strcpy_small): Remove.
12190 (__stpcpy_small): Remove.
12191
12192 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
12193
12194 [BZ #19400]
12195 * locale/iso-639.def: Add the Talossan/tzl language.
12196
12197 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12198
12199 [BZ #16983]
12200 * locale/programs/ld-address.c (address_finish): Update postal_fmt
12201 comment. Add "ln" to strchr check on postal_fmt.
12202
12203 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12204
12205 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12206 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
12207 tel_dom_fmt.
12208
12209 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12210
12211 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12212 (sysdep_routines): Added __strlen_power8.
12213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12214 __strlen_power8 entry.
12215 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12216 Implementation for POWER8.
12217 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12218 for __strlen_power8.
12219 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12220 Implementation for POWER8.
12221
12222 2016-04-15 Mike Frysinger <vapier@gentoo.org>
12223
12224 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12225
12226 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
12227
12228 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12229 Goldmont and Airmont processors.
12230
12231 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
12232
12233 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12234 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12235 (__STRING2_SMALL_GET32): Remove.
12236 (memset): Remove.
12237 (__memset_1): Remove.
12238 (__memset_gc): Remove.
12239 (__mempcpy): Remove.
12240 (mempcpy): Remove.
12241 (__mempcpy_args): Remove.
12242 (strchr): Remove.
12243 (strcpy): Remove.
12244 (strcpy_args): Remove.
12245 (__stpcpy_args): Remove.
12246 (__strcmp_cc): Remove.
12247 (__strcmp_gc): Remove.
12248 (strstr): Remove.
12249
12250 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
12251
12252 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12253 * nis/nis_call.c (nis_server_cache_add): Likewise.
12254
12255 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12256
12257 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12258
12259 2016-04-14 Florian Weimer <fweimer@redhat.com>
12260
12261 * malloc/arena.c (__malloc_fork_lock_parent)
12262 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12263 internal_function attribute.
12264
12265 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
12266
12267 * stdio-common/printf_fp.c (__printf_fp_l):
12268 Rename ___printf_fp_l to __printf_fp_l and
12269 remove strong alias. Use libc_hidden_def instead
12270 of ldbl_hidden_def macro.
12271
12272 2016-04-14 Florian Weimer <fweimer@redhat.com>
12273
12274 Remove malloc hooks from fork handler. They are no longer needed
12275 because malloc runs right before fork, and no malloc calls from
12276 other fork handlers are not possible anymore.
12277 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12278 declarations.
12279 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12280 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12281 (atfork_recursive_cntr): Remove.
12282 (__malloc_fork_lock_parent): Do not override malloc hooks and
12283 thread_arena.
12284 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12285 thread_arena.
12286 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
12287 thread_arena instead of save_arena.
12288
12289 2016-04-14 Florian Weimer <fweimer@redhat.com>
12290
12291 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12292 (thread_atfork, thread_atfork_static): Remove.
12293 * sysdeps/mach/hurd/malloc-machine.h:
12294 (thread_atfork, thread_atfork_static): Remove.
12295
12296 2016-04-14 Florian Weimer <fweimer@redhat.com>
12297
12298 [BZ #19431]
12299 Run the malloc fork handler as late as possible to avoid deadlocks.
12300 * malloc/malloc-internal.h: New file.
12301 * malloc/malloc.c: Include it.
12302 * malloc/arena.c (ATFORK_MEM): Remove.
12303 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12304 Update comment.
12305 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12306 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12307 Remove outdated comment.
12308 (ptmalloc_init): Do not call thread_atfork. Remove
12309 thread_atfork_static.
12310 * malloc/tst-malloc-fork-deadlock.c: New file.
12311 * Makefile (tests): Add tst-malloc-fork-deadlock.
12312 (tst-malloc-fork-deadlock): Link against libpthread.
12313 * manual/memory.texi (Aligned Memory Blocks): Update safety
12314 annotation comments.
12315 * sysdeps/nptl/fork.c (__libc_fork): Call
12316 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12317 __malloc_fork_unlock_child.
12318 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12319
12320 2016-04-14 Florian Weimer <fweimer@redhat.com>
12321
12322 [BZ #19613]
12323 Remove union wait.
12324 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12325 (w_stopsig, w_stopval): Remove.
12326 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12327 stat_loc argument.
12328 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12329 (__WAIT_STATUS_DEFN): Remove.
12330 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12331 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12332 (wait, wait3, wait4): Use int * for the stat_loc argument.
12333 * posix/wait.c (__wait): Likewise.
12334 * posix/wait3.c (__wait3): Likewise.
12335 * posix/wait4.c (__wait4): Likewise.
12336 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12337 (__WAIT_STATUS_DEFN): Remove.
12338 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12339 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12340 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12341 argument.
12342 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12343 * sysdeps/posix/wait3.c (__wait3): Likewise.
12344 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12345 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12346 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12347 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12348 stat_loc argument.
12349 * manual/process.texi (BSD Wait Functions): Remove union wait.
12350
12351 2016-04-13 Andreas Schwab <schwab@suse.de>
12352
12353 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12354 (test-extras): Add tst-tlsalign-vars.
12355 * math/Makefile: Wrap long lines.
12356 (libm-vec-test-wrappers): Define.
12357 (test-extras): Add $(libm-vec-test-wrappers).
12358 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12359 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12360 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12361 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12362 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12363 (extra-test-objs): Add corresponding objects.
12364
12365 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 [BZ #19928]
12368 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12369 New.
12370 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12371 times of shared cache size.
12372 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12373 (VMOVNT): New.
12374 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12375 (VMOVNT): Likewise.
12376 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12377 (VMOVNT): Likewise.
12378 (VMOVU): Changed to movups for smaller code sizes.
12379 (VMOVA): Changed to movaps for smaller code sizes.
12380 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12381 comments.
12382 (PREFETCH): New.
12383 (PREFETCH_SIZE): Likewise.
12384 (PREFETCHED_LOAD_SIZE): Likewise.
12385 (PREFETCH_ONE_SET): Likewise.
12386 Rewrite to use forward and backward loops, which move 4 vector
12387 registers at a time, to support overlapping addresses and use
12388 non temporal store if size is above the threshold and there is
12389 no overlap between destination and source.
12390
12391 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12392
12393 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12394 Include dl-vdso.
12395 * sysdeps/unix/sysv/linux/mips/Versions: Add
12396 __vdso_clock_gettime.
12397 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12398 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12399 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12400 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12401 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12402 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12403 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12404 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12405 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12406
12407 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12408
12409 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12410 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12412 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12413 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12414 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12417 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12419 syscalls generation.
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12421 [__NR_pwrite64] (__NR_write): Remove define.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12423 [__NR_pwrite64] (__NR_write): Remove define.
12424 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12425 Remove define.
12426 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12427 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12428 Remove define.
12429 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12430 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12431 Linux implementation as base.
12432 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12433
12434 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12435 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12436 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12437 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12440 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12442 syscall generation.
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12444 [__NR_pread64] (__NR_pread): Remove define.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12446 [__NR_pread64] (__NR_pread): Likewise.
12447 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12448 define.
12449 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12450 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12451 Remove define.
12452 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12453 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12454 Linux implementation as base.
12455 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12456 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12457 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12458
12459 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12460 definition.
12461 (__ALIGNMENT_COUNT): Likewise.
12462 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12463 (__ALIGNMENT_COUNT): Likewise.
12464 (SYSCALL_LL): New define.
12465 (SYSCALL_LL64): Likewise.
12466 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12467 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12468 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12469 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12470
12471 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12472 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12473 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12474 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12476 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12477
12478 2016-04-11 Florian Weimer <fweimer@redhat.com>
12479
12480 [BZ #19865]
12481 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12482 original buffer before retry.
12483
12484 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12485
12486 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12487 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12488 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12489 GLRO(dl_auxv) list.
12490 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12491 including <ldsodefs.h>.
12492 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12493
12494 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12495
12496 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12497 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12498 $(CPPFLAGS).
12499
12500 2016-04-09 Khem Raj <raj.khem@gmail.com>
12501
12502 [BZ #17950]
12503 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12504 Add -mfpmath=387.
12505
12506 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12507
12508 * sysdeps/i386/configure.ac: Change == to = when calling test.
12509 * sysdeps/x86_64/configure.ac: Likewise.
12510 * sysdeps/i386/configure: Regenerated.
12511 * sysdeps/x86_64/configure: Likewise.
12512
12513 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12514
12515 [BZ #16137]
12516 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12517 * benchtests/bench-strcoll.c (input_files): Likewise.
12518 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12519 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12520 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12521
12522 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12523
12524 [BZ #19929]
12525 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12526 [__USE_XOPEN2K8 && !__USE_GNU].
12527 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12528 variable.
12529
12530 [BZ #19925]
12531 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12532 define if [!__USE_MISC && __USE_XOPEN2K].
12533 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12534 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12535 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12536 Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12538 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12539 variable.
12540 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12541
12542 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12543
12544 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12545 (sysdep_routines): Add new strspn targets.
12546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12547 (__libc_ifunc_impl_list): Add strspn.
12548 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12549 New file.
12550 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12551 Likewise.
12552 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12553 Likewise.
12554 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12555 Likewise.
12556
12557 2016-04-07 Florian Weimer <fweimer@redhat.com>
12558
12559 * misc/hsearch_r.c: Include <limits.h>.
12560
12561 2016-04-07 Florian Weimer <fweimer@redhat.com>
12562
12563 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12564
12565 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12566
12567 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12568 (MEMCPY_SYMBOL): New.
12569 (MEMPCPY_SYMBOL): Likewise.
12570 (MEMMOVE_CHK_SYMBOL): Likewise.
12571 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12572 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12573 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12574 Provide alias for memcpy in libc.a and ld.so.
12575
12576 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12577
12578 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12579 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12580 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12581 Disabled fro now.
12582 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12583 symbols. Properly check USE_MULTIARCH on __memset symbols.
12584
12585 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12586
12587 * benchtests/Makefile (string-benchset): Add memcpy-large,
12588 memmove-large and memset-large.
12589 * benchtests/bench-memcpy-large.c: New file.
12590 * benchtests/bench-memmove-large.c: Likewise.
12591 * benchtests/bench-memmove-large.c: Likewise.
12592 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12593
12594 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12595
12596 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12597 32-bit displacement to avoid long nop between instructions.
12598
12599 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12600
12601 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12602 a comment on VMOVU and VMOVA.
12603
12604 2016-04-04 Florian Weimer <fweimer@redhat.com>
12605
12606 [BZ #19633]
12607 Use specified locale for number formatting in strfmon_l.
12608 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12609 (__nl_lookup_word): New inline functions.
12610 * include/printf.h (__print_fp_l): Declare.
12611 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12612 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12613 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12614 (___printf_fp): New function.
12615 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12616 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12617 * stdlib/tst-strfmon_l.c (do_test): New test.
12618 * stdlib/Makefile (tests): Add kt.
12619 (LOCALES): Build additional locales.
12620 (tst-strfmon_l.out): Require locales.
12621
12622 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12623
12624 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12625 if not in libc.
12626 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12627 Likewise.
12628 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12629 Likewise.
12630 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12631 Likewise.
12632
12633 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12634
12635 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12636 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12637 with unaligned_erms.
12638 (__memmove_erms): Skip if source == destination.
12639 (__memmove_unaligned_erms): Don't check source == destination
12640 first.
12641
12642 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12643
12644 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12645 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12646
12647 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12648
12649 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12650 * string/strspn.c (strspn): Likewise.
12651
12652 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12653
12654 * benchtests/bench-memset.c (do_test): Support 64-byte
12655 alignment.
12656 (test_main): Test 64-byte alignment.
12657
12658 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12659
12660 * benchtests/bench-memmove.c (test_main): Test 64-byte
12661 alignment.
12662
12663 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12666
12667 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12668
12669 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12670 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12671 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12672
12673 * string/strpbrk.c (strpbrk): Rewrite function.
12674 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12675 (__strpbrk_c2): Likewise.
12676 (__strpbrk_c3): Likewise.
12677 * string/string-inlines.c
12678 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12679 Likewise.
12680 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12681 Likewise.
12682
12683 * string/strspn.c (strcspn): Rewrite function.
12684 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12685 (__strspn_c1): Remove inline function.
12686 (__strspn_c2): Likewise.
12687 (__strspn_c3): Likewise.
12688 * string/string-inlines.c
12689 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12690 compatibility symbol.
12691 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12692 Likewise.
12693 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12694 Likewise.
12695 * string/string-inlines.c: Include generic version.
12696
12697 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
12698 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12699
12700 * string/Version (libc): Add GLIBC_2.24.
12701 * string/strcspn.c (strcspn): Rewrite function.
12702 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12703 (__strcspn_c1): Remove inline function.
12704 (__strcspn_c2): Likewise.
12705 (__strcspn_c3): Likewise.
12706 * string/string-inline.c
12707 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12708 compatibility symbol.
12709 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12710 Likewise.
12711 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12712 Likewise.
12713 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12714
12715 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12716
12717 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12718 Use ahi instead of aghi to adjust stack pointer.
12719
12720 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12721
12722 [BZ #19853]
12723 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12724 TEST to take significant digits as second parameter.
12725 [TEST]: Redefine in terms of TEST_N taking 30
12726 significant digits.
12727 (do_test): Add test case to demonstrate precision
12728 failure in the ldbl-128ibm printf.
12729 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12730 (__mpn_extract_long_double): Carry 7 extra intermediate
12731 bits of precision to aide computing difference when
12732 signs differ.
12733
12734 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12735
12736 [BZ #19881]
12737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12738 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12739 memset-avx512-unaligned-erms.
12740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12741 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12742 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12743 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12744 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12745 __memset_sse2_unaligned_erms, __memset_erms,
12746 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12747 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12748 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12749 file.
12750 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12751 Likewise.
12752 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12753 Likewise.
12754 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12755 Likewise.
12756
12757 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12758
12759 [BZ #19776]
12760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12761 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12762 memmove-avx512-unaligned-erms.
12763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12764 (__libc_ifunc_impl_list): Test
12765 __memmove_chk_avx512_unaligned_2,
12766 __memmove_chk_avx512_unaligned_erms,
12767 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12768 __memmove_chk_sse2_unaligned_2,
12769 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12770 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12771 __memmove_avx512_unaligned_erms, __memmove_erms,
12772 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12773 __memcpy_chk_avx512_unaligned_2,
12774 __memcpy_chk_avx512_unaligned_erms,
12775 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12776 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12777 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12778 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12779 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12780 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12781 __mempcpy_chk_avx512_unaligned_erms,
12782 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12783 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12784 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12785 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12786 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12787 __mempcpy_erms.
12788 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12789 file.
12790 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12791 Likewise.
12792 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12793 Likewise.
12794 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12795 Likewise.
12796
12797 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12798
12799 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12800 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12801 (La_s390_64_regs): Likewise.
12802 (La_s390_32_retval): Append vector register lrv_v24.
12803 (La_s390_64_retval): Likeweise.
12804 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12805 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12806 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12807 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12808
12809 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12810
12811 [BZ #19916]
12812 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12813 to create a non-vector/vector version for _dl_runtime_resolve and
12814 _dl_runtime_profile. Move implementation to ...
12815 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12816 (_dl_runtime_resolve) Save and restore fpr/vrs.
12817 (_dl_runtime_profile) Save and restore vrs and fix some issues
12818 if _dl_call_pltexit is called.
12819 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12820 Choose the correct resolver function if running on a machine with vx.
12821 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12822 to create a non-vector/vector version for _dl_runtime_resolve and
12823 _dl_runtime_profile. Move implementation to ...
12824 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12825 (_dl_runtime_resolve) Save and restore fpr/vrs.
12826 (_dl_runtime_profile) Save and restore vrs and fix some issues
12827 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12828 Choose the correct resolver function if running on a machine with vx.
12829
12830 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12831
12832 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12833
12834 2016-03-31 Florian Weimer <fweimer@redhat.com>
12835
12836 [BZ #19509]
12837 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12838 skip_map != NULL.
12839 * elf/tst-dlsym-error.c: New file.
12840 * elf/Makefile (tests): Add tst-dlsym-error.
12841 (tst-dlsym-error): Link against libdl.
12842
12843 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12844
12845 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12846 (__ASSUME_FUTIMESAT): Remove macro.
12847 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12848
12849 2016-03-29 Florian Weimer <fweimer@redhat.com>
12850
12851 [BZ #19879]
12852 CVE-2016-3075
12853 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12854 copy name.
12855
12856 2016-03-29 Florian Weimer <fweimer@redhat.com>
12857
12858 [BZ #19837]
12859 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12860 error if parse_line fails.
12861
12862 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12863
12864 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12865 (index_cpu_ERMS): Likewise.
12866 (reg_ERMS): Likewise.
12867
12868 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12869
12870 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12871 PER_LINUX_FDPIC): Add.
12872
12873 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12876 memcpy-avx512-no-vzeroupper.
12877 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12878 to ...
12879 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12880 (MEMCPY): Don't define.
12881 (MEMCPY_CHK): Likewise.
12882 (MEMPCPY): Likewise.
12883 (MEMPCPY_CHK): Likewise.
12884 (MEMPCPY_CHK): Renamed to ...
12885 (__mempcpy_chk_avx512_no_vzeroupper): This.
12886 (MEMPCPY_CHK): Renamed to ...
12887 (__mempcpy_chk_avx512_no_vzeroupper): This.
12888 (MEMCPY_CHK): Renamed to ...
12889 (__memmove_chk_avx512_no_vzeroupper): This.
12890 (MEMCPY): Renamed to ...
12891 (__memmove_avx512_no_vzeroupper): This.
12892 (__memcpy_avx512_no_vzeroupper): New alias.
12893 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12894
12895 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12896
12897 [BZ #18858]
12898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12899 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12900 and mempcpy-avx512-no-vzeroupper.
12901 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12902 New.
12903 (MEMPCPY): Likewise.
12904 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12905 (MEMPCPY_CHK): New.
12906 (MEMPCPY): Likewise.
12907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12908 (MEMPCPY): Likewise.
12909 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12910 (MEMPCPY): Likewise.
12911 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12912 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12913 Likewise.
12914 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12915 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12916
12917 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12918 Amit Pawar <Amit.Pawar@amd.com>
12919
12920 [BZ #19583]
12921 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12922 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12923 processors. Set Fast_Copy_Backward for AMD Excavator
12924 processors.
12925 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12926 New.
12927 (index_arch_Fast_Unaligned_Copy): Likewise.
12928 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12929 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12930
12931 2016-03-25 Florian Weimer <fweimer@redhat.com>
12932
12933 [BZ #19791]
12934 * resolv/res_send.c (close_and_return_error): New function.
12935 (send_dg): Initialize *resplen2 after reopen failure. Call
12936 close_and_return_error for error returns. On error paths without
12937 __res_iclose, initialze *resplen2 explicitly. Update comment for
12938 successful return.
12939
12940 2016-03-25 Florian Weimer <fweimer@redhat.com>
12941
12942 [BZ# 19860]
12943 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12944 zero if the compiler does not provide the AVX512F bit.
12945
12946 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12947
12948 [BZ #19848]
12949 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12950 from 8 to 4.
12951 (__ieee754_powl): Compare integer exponent against 4 not 8.
12952 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12953 from 8 to 4.
12954 (__ieee754_powl): Compare integer exponent against 4 not 8.
12955 * math/auto-libm-test-in: Add more tests of pow.
12956 * math/auto-libm-test-out: Regenerated.
12957 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12959
12960 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12961
12962 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12963 Make code unconditional.
12964 [!__NR_utimensat]: Remove conditional code.
12965 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12966 Make code unconditional.
12967 [!__NR_utimensat]: Remove conditional code.
12968 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12969 Make code unconditional.
12970 [!__NR_utimensat]: Remove conditional code.
12971
12972 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12973
12974 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12975 Make code unconditional.
12976
12977 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12978
12979 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12980 call-clobbered %eax on retry path.
12981 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12982
12983 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12984
12985 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12986 Don't set %rcx twice before "rep movsb".
12987
12988 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12989
12990 [BZ #19583]
12991 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12992 inline. Check family before setting family, model and
12993 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12994 bits here.
12995 (init_cpu_features): Replace HAS_CPU_FEATURE and
12996 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12997 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12998 for Intel processors with usable AVX2. Call get_common_indeces
12999 for other processors with family == NULL.
13000 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13001 (CPU_FEATURES_ARCH_P): Likewise.
13002 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13003 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13004
13005 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13006
13007 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13008 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13009 $(shared-thread-library) instead of hardcoding the path to libpthread.
13010
13011 2016-03-22 Joseph Myers <joseph@codesourcery.com>
13012
13013 * sysdeps/unix/sysv/linux/kernel-features.h
13014 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13015 * sysdeps/unix/sysv/linux/getdents.c
13016 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13017 [!have_no_getdents64_defined]: Likewise.
13018 (__GETDENTS): Remove __have_no_getdents64 conditional.
13019
13020 2016-03-21 Joseph Myers <joseph@codesourcery.com>
13021
13022 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13023 Remove macro.
13024 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13025 <kernel-features.h>.
13026 (signalfd) [__NR_signalfd4]: Make code unconditional.
13027 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13028
13029 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13030
13031 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13032 style.
13033
13034 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
13035
13036 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13037 (__pthread_enable_asynccancel): Use JUMPTARGET to call
13038 __pthread_unwind.
13039 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13040 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13041 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13042 (__condvar_cleanup1): Likewise.
13043
13044 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
13045
13046 [BZ #19822]
13047 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13048 move it to the final $@ location.
13049
13050 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13051
13052 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13053 access where posix_spawn success and pid argument is null.
13054 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13055 success case.
13056
13057 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
13058
13059 * sysdeps/mach/hurd/i386/c++-types.data: New file.
13060
13061 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13062
13063 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13064 and __fcntl.
13065 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13066 __fcntl only.
13067 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13068 adding attribute_hidden to __open and __fcntl.
13069
13070 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13071 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13072 depend on libc-modules.h,
13073 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13074
13075 2016-03-17 Joseph Myers <joseph@codesourcery.com>
13076
13077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13078 Remove macro.
13079 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13080 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13081 entry.
13082
13083 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13084 Remove macro.
13085 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13086 include <kernel-features.h>.
13087 [!__ASSUME_FALLOCATE]: Remove conditional code.
13088 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13089
13090 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
13091
13092 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13093 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13094 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13095 (_ZGVdN4v_cos_avx2): Likewise.
13096 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13097 (_ZGVdN4v_cos): Likewise.
13098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13099 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13100 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13101 (_ZGVdN4v_exp_avx2): Likewise.
13102 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13103 (_ZGVdN4v_exp): Likewise.
13104 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13105 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13106 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13107 (_ZGVdN4v_log_avx2): Likewise.
13108 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13109 (_ZGVdN4v_log): Likewise.
13110 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13111 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13112 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13113 (_ZGVdN4vv_pow_avx2): Likewise.
13114 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13115 (_ZGVdN4vv_pow): Likewise.
13116 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13117 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13118 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13119 (_ZGVdN4v_sin_avx2): Likewise.
13120 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13121 (_ZGVdN4v_sin): Likewise.
13122 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13123 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13124 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13125 (_ZGVdN4vvv_sincos_avx2): Likewise.
13126 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13127 (_ZGVdN4vvv_sincos): Likewise.
13128 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13129 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13130 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13131 (_ZGVbN4v_cosf_sse4): Likewise.
13132 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13133 (_ZGVdN8v_cosf_avx2): Likewise.
13134 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13135 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13136 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13137 (_ZGVbN4v_expf_sse4): Likewise.
13138 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13139 (_ZGVdN8v_expf_avx2): Likewise.
13140 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13141 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13142 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13143 (_ZGVbN4v_logf_sse4): Likewise.
13144 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13145 (_ZGVdN8v_logf_avx2): Likewise.
13146 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13147 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13148 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13149 (_ZGVbN4vv_powf_sse4): Likewise.
13150 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13151 (_ZGVdN8vv_powf_avx2): Likewise.
13152 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13153 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13154 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13155 (_ZGVbN4vvv_sincosf_sse4): Likewise.
13156 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13157 (_ZGVdN8vvv_sincosf_avx2): Likewise.
13158 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13159 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13160 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13161 (_ZGVbN4v_sinf_sse4): Likewise.
13162 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13163 (_ZGVdN8v_sinf_avx2): Likewise.
13164 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13165 Use JUMPTARGET to call callee.
13166 (WRAPPER_IMPL_SSE2_ff): Likewise.
13167 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13168 (WRAPPER_IMPL_AVX): Likewise.
13169 (WRAPPER_IMPL_AVX_ff): Likewise.
13170 (WRAPPER_IMPL_AVX_fFF): Likewise.
13171 (WRAPPER_IMPL_AVX512): Likewise.
13172 (WRAPPER_IMPL_AVX512_ff): Likewise.
13173 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13174 Likewise.
13175 (WRAPPER_IMPL_SSE2_ff): Likewise.
13176 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13177 (WRAPPER_IMPL_AVX): Likewise.
13178 (WRAPPER_IMPL_AVX_ff): Likewise.
13179 (WRAPPER_IMPL_AVX_fFF): Likewise.
13180 (WRAPPER_IMPL_AVX512): Likewise.
13181 (WRAPPER_IMPL_AVX512_ff): Likewise.
13182 (WRAPPER_IMPL_AVX512_fFF): Likewise.
13183
13184 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13185
13186 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13187 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13188 qualifier.
13189 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13190 internal_function qualifiers.
13191
13192 2016-03-15 Carlos O'Donell <carlos@redhat.com>
13193
13194 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13195 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13196 * math/atest-exp.c (exp_mpn): Mark chk unused.
13197 * math/atest-exp2.c (exp_mpn): Likewise.
13198 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13199 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13200
13201 2016-03-15 Joseph Myers <joseph@codesourcery.com>
13202
13203 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13204 Remove macro.
13205 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13206 <kernel-features.h>.
13207 [__NR_ppoll]: Make code unconditional.
13208 [!__ASSUME_PPOLL]: Remove conditional code.
13209
13210 * sysdeps/unix/sysv/linux/kernel-features.h
13211 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13212 (__ASSUME_ACCEPT4): Likewise.
13213 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13214 Define.
13215 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13216 Likewise.
13217 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13218 Likewise.
13219 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13220 Likewise.
13221 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13222 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13223 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13224 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13225 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13226 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13227 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13228 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13229 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13230 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13231 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13232 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13233 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13234 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13235 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13237 Likewise.
13238 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13239 Likewise.
13240 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13241 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13242 0x040300].
13243 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13244 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13245 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13246 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13247 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13248 0x030300].
13249 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13250 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13251 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13252 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13253 0x040300].
13254 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13255 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13256 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13257 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13258 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13259 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13260 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13261 0x030300].
13262 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13263 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13264 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13265 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13266 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13267 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13268 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13269 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13270 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13271 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13272 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13273 0x040300].
13274 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13275 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13276 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13277 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13278 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13279 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13281 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13282 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13283 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13285 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13286 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13287 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13288 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13289 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13291 Likewise.
13292 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13293 Likewise.
13294
13295 2016-03-15 Andreas Schwab <schwab@suse.de>
13296
13297 [BZ #19257]
13298 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13299 statp->_u._ext.nscount as loop count.
13300
13301 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
13302
13303 * math/test-signgam-finite-c99.c: Also #undef
13304 __LIBC_INTERNAL_MATH_INLINES.
13305 * math/test-signgam-main.c: Likewise.
13306
13307 2016-03-14 Joseph Myers <joseph@codesourcery.com>
13308
13309 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13310 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13311 (MADV_FREE): Likewise.
13312 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13313 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13314 EPOLLEXCLUSIVE.
13315
13316 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13317
13318 * timezone/README: Remove mention of checktab.awk. Mention wiki
13319 SharedSourceFiles.
13320
13321 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13322
13323 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13324 WUNTRACED.
13325
13326 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13327
13328 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13329 order to match the type of p when calling atomic_exchange_acq().
13330
13331 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13332
13333 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13334 cfi_offset calls.
13335 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13336 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13337 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13338 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13339 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13340
13341 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13342
13343 * timezone/checktab.awk: Removed.
13344
13345 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13346
13347 * manual/math.texi (Errors in Math Functions): Document relaxed
13348 accuracy goals for IBM long double.
13349 * math/libm-test.inc (test_exceptions): Always allow spurious
13350 "underflow" and "inexact" exceptions for IBM long double.
13351
13352 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13353
13354 [BZ #19762]
13355 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13356 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13357 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13358 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13359 (bit_arch_*): This for feature array.
13360 (bit_*): Renamed to ...
13361 (bit_cpu_*): This for cpu array.
13362 (index_*): Renamed to ...
13363 (index_arch_*): This for feature array.
13364 (index_*): Renamed to ...
13365 (index_cpu_*): This for cpu array.
13366 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13367 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13368 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13369 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13370 bit_##name with index_cpu_##name and bit_cpu_##name.
13371 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13372 bit_##name with index_arch_##name and bit_arch_##name.
13373
13374 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13375
13376 [BZ #19792]
13377 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13378 Terminate FDE before return label.
13379
13380 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13381
13382 [BZ #19790]
13383 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13384 (rintl): Define as macro.
13385 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13386 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13387 of fesetround. Ensure results are evaluated before end of scope.
13388 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13389 USE_AS_NEARBYINTL and include s_rintl.c.
13390 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13391 Disable exception traps in new environment.
13392 (libc_feholdsetround_ppc_ctx): Likewise.
13393
13394 2016-03-08 Roland McGrath <roland@hack.frob.com>
13395
13396 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13397 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13398 (tst_audit10_aux) [__AVX512F__]: ... here.
13399
13400 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13401
13402 * include/sys/auxv.h: New file.
13403
13404 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13405
13406 [BZ #19759]
13407 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13408
13409 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13410
13411 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13412 operand modifier.
13413 (feclearexcept): Likewise.
13414
13415 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13416
13417 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13418 to reflect the entire 32-bit HWCAP.
13419 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13420 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13421
13422 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13423
13424 [BZ #19783]
13425 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13426 $(test-via-rtld-prefix).
13427 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13428
13429 2016-03-08 Florian Weimer <fweimer@redhat.com>
13430
13431 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13432 union wait. Report any non-zero exit status as error.
13433
13434 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13435
13436 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13437 configured with --enable-hardcoded-path-in-tests.
13438
13439 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13440
13441 [BZ #19677]
13442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13443 (__ieee754_remainderl): Put zero low parts in canonical form.
13444 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13445 file. Based on
13446 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13447 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13448 with wrapper round test-fmodrem-ldbl-128ibm.c.
13449 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13450 file.
13451 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13452 Likewise.
13453 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13454 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13455
13456 2016-03-07 Florian Weimer <fweimer@redhat.com>
13457
13458 [BZ #19610]
13459 * elf/ldconfig.c (opt_link): Update comment.
13460 (options): Update help string for option -X.
13461 (search_dir): Unlink stale symbolic link only if updating symbolic
13462 links.
13463 * elf/tst-ldconfig-X.sh: New file.
13464 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13465 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13466
13467 2016-03-07 Andreas Schwab <schwab@suse.de>
13468
13469 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13470 needed arguments.
13471
13472 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13473
13474 [BZ #15333]
13475 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13476 to lstat64.
13477
13478 2016-03-07 Florian Weimer <fweimer@redhat.com>
13479
13480 * libio/filedoalloc.c (isatty): Remove.
13481 (local_isatty): Add comment. Call __isatty directly.
13482 (_IO_file_doallocate): Update comment. Assume _LIBC.
13483 * libio/wfiledoalloc.c (isatty): Remove.
13484 (_IO_wfile_doallocate): Update comment.
13485
13486 2016-03-07 Florian Weimer <fweimer@redhat.com>
13487
13488 [BZ #19269]
13489 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13490 tst-audit4-aux.o.
13491 (tst-audit10): Depend on tst-audit10-aux.o.
13492 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13493 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13494 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13495 instead of inline AVX code.
13496 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13497 instead of inline AVX512 code.
13498 * sysdeps/x86_64/tst-audit4-aux.c: New file
13499 * sysdeps/x86_64/tst-audit10-aux.c: New file
13500
13501 [BZ #19648]
13502 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13503
13504 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13505
13506 [BZ #14750]
13507 [BZ #10354]
13508 [BZ #18433]
13509 * include/sched.h (__clone): Add hidden prototype.
13510 (__clone2): Likewise.
13511 * include/unistd.h (__dup): Likewise.
13512 * posix/Makefile (tests): Add tst-spawn2.
13513 * posix/tst-spawn2.c: New file.
13514 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13515 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13516 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13517 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13518 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13519 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13520 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13521 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13522 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13523 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13524 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13526 Likewise.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13528 Likewise.
13529 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13530 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13531 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13532 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13533 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13534 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13535 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13536 * sysdeps/unix/sysv/linux/nptl-signals.h
13537 (____nptl_is_internal_signal): New function.
13538 * sysdeps/unix/sysv/linux/spawni.c: New file.
13539
13540 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13541 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13542 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13543 * posix/tst-execvp2.c (do_test): Likewise.
13544 * posix/tst-execvp3.c (do_test): Likewise.
13545 * posix/tst-execvp4.c (do_test): Likewise.
13546 * posix/tst-execvpe1.c: New file.
13547 * posix/tst-execvpe2.c: Likewise.
13548 * posix/tst-execvpe3.c: Likewise.
13549 * posix/tst-execvpe4.c: Likewise.
13550 * posix/tst-execvpe5.c: Likewise.
13551 * posix/tst-execvpe6.c: Likewise.
13552
13553 [BZ #19534]
13554 * posix/execl.c (execl): Remove dynamic memory allocation.
13555 * posix/execle.c (execle): Likewise.
13556 * posix/execlp.c (execlp): Likewise.
13557
13558 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13559
13560 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13561 Replace .text with .text.avx512.
13562 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13563 Likewise.
13564
13565 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13566
13567 * sysdeps/generic/libnsl.abilist: New file.
13568 * sysdeps/generic/libutil.abilist: New file.
13569
13570 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13571
13572 [BZ #19762]
13573 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13574 HAS_ARCH_FEATURE with Fast_Rep_String.
13575 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13576 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13577 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13578 Likewise.
13579 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13580 Likewise.
13581 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13582 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13583 Likewise.
13584 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13585 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13586 Likewise.
13587
13588 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13589
13590 [BZ #19745]
13591 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13592 with *%rax in call.
13593
13594 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13595
13596 [BZ #19745]
13597 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13598 with *__libc_start_main@GOTPCREL(%rip) in call.
13599
13600 2016-03-04 Roland McGrath <roland@hack.frob.com>
13601
13602 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13603 inside conditional for nonempty $(CXX).
13604
13605 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13606 nonempty.
13607
13608 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13609 to test for empty $(CXX) rather than $(CXX) of "no".
13610
13611 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13612
13613 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13614
13615 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13616 H.J. Lu <hongjiu.lu@intel.com>
13617
13618 [BZ #18880]
13619 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13620 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13621 enable __memcpy_ssse3_back.
13622
13623 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13624
13625 [BZ #19758]
13626 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13627 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13628
13629 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13630
13631 [BZ #19490]
13632 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13633 (__fentry__): Likewise.
13634
13635 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13636
13637 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13638 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13639
13640 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13641
13642 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13643 __mcount_internal directly.
13644 (C_LABEL(__fentry__)): Likewise.
13645 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13646 directly.
13647
13648 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13649
13650 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13651 (__start_context): Call __setcontext directly.
13652
13653 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13654
13655 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13656 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13657 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13658 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13659 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13660 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13661 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13662 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13663 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13664 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13665 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13666 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13667 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13668 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13669 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13670 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13671 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13673 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13674 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13675 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13676 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13677 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13678 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13679 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13680 Remove conditional code.
13681 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13682 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13683 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13684 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13685 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13686 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13687 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13688 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13689 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13690 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13691 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13692 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13693
13694 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13695
13696 * NEWS (2.23): Fix typo in bug 19048 text.
13697
13698 2016-02-24 Carlos O'Donell <carlos@redhat.com>
13699
13700 [BZ #14259]
13701 * Makeconfig: Rename msgcatdir to localedir.
13702 Rename inst_msgcatdir to inst_localedir.
13703 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13704 * config.make.in: Add localedir.
13705 * elf/Makefile ($(objpfx)sotruss): Use localedir.
13706 (ldd-rewrite): Likewise.
13707 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13708 (install-others): Use inst_localedir.
13709 (CPPFLAGS): Use localedir.
13710 * locale/Makefile (locale-CPPFLAGS): Likewise.
13711 * po/Makefile (mo-installed): Use inst_localedir.
13712
13713 [BZ #19575]
13714 * localedata/charmaps/GB18030: Update comments regarding PAU to
13715 non-PUA mappings.
13716
13717 2016-02-24 Joseph Myers <joseph@codesourcery.com>
13718
13719 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13720 test for header.
13721 * sysdeps/unix/sysv/linux/configure: Regenerated.
13722 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13723 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13724 Remove conditional code.
13725 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13726
13727 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13728 Define to 3.2.0.
13729 (arch_minimum_kernel): Likewise.
13730 * sysdeps/unix/sysv/linux/configure: Regenerated.
13731 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13732 Define to 2.6.32.
13733 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13734 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13735 (arch_minimum_kernel): Define to 2.6.32.
13736 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13737 * README: Document Linux 3.2 requirement.
13738 * manual/install.texi (Linux): Document Linux 3.2 headers
13739 requirement.
13740 * INSTALL: Regenerated.
13741
13742 2016-02-24 Andreas Schwab <schwab@suse.de>
13743
13744 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13745 if !NO_LONG_DOUBLE.
13746
13747 2016-02-22 Roland McGrath <roland@hack.frob.com>
13748
13749 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13750 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13751
13752 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13753
13754 [BZ #19512]
13755 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13756
13757 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13758
13759 * posix/tst-dir.c: Include libc-internal.h.
13760
13761 2016-02-20 Florian Weimer <fweimer@redhat.com>
13762
13763 [BZ #19056]
13764 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13765 * manual/filesys.texi (Reading/Closing Directory): Mention
13766 deprecaion.
13767 * posix/tst-dir.c (main): Disable deprecation warning in test.
13768
13769 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 [BZ #19679]
13772 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13773 Renamed to ...
13774 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13775 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13776 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13777 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13778 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13779 * sysdeps/x86_64/dl-trampoline.h
13780 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13781 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13782
13783 2016-02-19 Mark Wielaard <mjw@redhat.com>
13784
13785 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13786
13787 2016-02-19 Mark Wielaard <mjw@redhat.com>
13788
13789 * elf/elf.h (R_386_GOT32X): New.
13790 (R_386_NUM): Update.
13791 (R_X86_64_GOTPCRELX: New.
13792 (R_X86_64_REX_GOTPCRELX): New.
13793 (R_X86_64_NUM): Update.
13794
13795 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13796
13797 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13798
13799 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13800
13801 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13802 assign attr->stackaddr to it, and adjust it down when
13803 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13804 [_STACK_GROWS_UP]: Delete assert.
13805 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13806 Implement stack grows up logic.
13807 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13808 stack grows up logic.
13809
13810 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13811
13812 * NEWS: Update with 2.24 template.
13813
13814 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13815
13816 [BZ #19678]
13817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13818 Ensure +0.0 is returned when taking the next value below the least
13819 positive value.
13820
13821 2016-02-19 Florian Weimer <fweimer@redhat.com>
13822
13823 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13824 available. Do not define NO_THREADS.
13825 * malloc/malloc.c: Do not check NO_THREADS.
13826 * malloc/arena.c: Likewise.
13827
13828 2016-02-19 Florian Weimer <fweimer@redhat.com>
13829
13830 * malloc/malloc.c (__libc_mallinfo): Update comment.
13831 (struct malloc_par): Remove max_total_mem member, it was always 0.
13832 (int_mallinfo): Store 0 into usmblks (no functional change).
13833 * malloc/hooks.c (struct malloc_state): Document that
13834 max_total_mem is always 0.
13835 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13836 always 0.
13837 * manual/memory.texi (Statistics of Malloc): Likewise.
13838
13839 2016-02-19 Florian Weimer <fweimer@redhat.com>
13840
13841 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13842 * malloc/arena.c (arena_max): Remove.
13843 (heap_trim, _int_new_arena): Do not update arena_max.
13844
13845 2016-02-19 Florian Weimer <fweimer@redhat.com>
13846
13847 * resolv/res_init.c (res_ninit): Update comment.
13848
13849 2016-02-19 Florian Weimer <fweimer@redhat.com>
13850
13851 [BZ #19505]
13852 * posix/spawn_int.h: Add headers and include guard.
13853 (__spawn_valid_fd): New function.
13854 * posix/spawn_faction_addopen.c
13855 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13856 * posix/spawn_faction_addclose.c
13857 (posix_spawn_file_actions_addclose): Likewise.
13858 * posix/spawn_faction_adddup2.c
13859 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13860 second file descriptor.
13861 * posix/spawn_valid_fd.c: New file.
13862 * posix/tst-posix_spawn-fd.c: New file.
13863 * posix/Makefile (routines): Add spawn_valid_fd.
13864 (tests): Add tst-posix_spawn-fd.
13865
13866 2016-02-19 Florian Weimer <fweimer@redhat.com>
13867
13868 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13869 (do_test): Limit the number of arenas, so that we can use fewer
13870 outer threads. Limit timeout to 3 seconds, in preparation for a
13871 larger TIMEOUT value.
13872
13873 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13874
13875 [BZ #19674]
13876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13877 sign in overflowing and underflowing results when overflow or
13878 underflow is detected early. Include sign in result before rather
13879 than after scaling.
13880
13881 [BZ #19603]
13882 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13883 (__ieee754_remainderl): Adjust sign of integer version of low part
13884 when taking absolute value of high part.
13885 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13886 * math/libm-test.inc (remainder_test_data): Add another test.
13887 (remquo_test_data): Likewise.
13888
13889 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13890
13891 [BZ #19602]
13892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13893 equal high parts and both low parts zero specially.
13894 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13895 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13896 Add test-fmodl-ldbl-128ibm.
13897
13898 [BZ #19595]
13899 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13900 common logic for all cases of shifting subnormal results. Do not
13901 insert sign bit in shifted mantissa. Always pass -1023 as biased
13902 exponent to ldbl_insert_mantissa in subnormal case.
13903
13904 [BZ #19594]
13905 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13906 on high and low parts then adjust result and use
13907 ldbl_canonicalize_int if needed.
13908
13909 [BZ #19593]
13910 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13911 on high part and __floor or __ceil on low part then use
13912 ldbl_canonicalize_int if needed.
13913
13914 [BZ #19592]
13915 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13916 high and low parts then use ldbl_canonicalize_int if needed.
13917
13918 [BZ #17899]
13919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13920 New function.
13921 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13922 on high and low parts then use ldbl_canonicalize_int if needed.
13923
13924 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13925
13926 * configure: Regenerated.
13927
13928 * po/libc.pot: Regenerated.
13929
13930 * po/be.po: Updated translation.
13931 * po/bg.po: Likewise.
13932 * po/ca.po: Likewise.
13933 * po/cs.po: Likewise.
13934 * po/da.po: Likewise.
13935 * po/el.po: Likewise.
13936 * po/eo.po: Likewise.
13937 * po/es.po: Likewise.
13938 * po/fi.po: Likewise.
13939 * po/fr.po: Likewise.
13940 * po/gl.po: Likewise.
13941 * po/hr.po: Likewise.
13942 * po/hu.po: Likewise.
13943 * po/ia.po: Likewise.
13944 * po/id.po: Likewise.
13945 * po/it.po: Likewise.
13946 * po/ja.po: Likewise.
13947 * po/lt.po: Likewise.
13948 * po/nb.po: Likewise.
13949 * po/nl.po: Likewise.
13950 * po/pt_BR.po: Likewise.
13951 * po/rw.po: Likewise.
13952 * po/sk.po: Likewise.
13953 * po/sl.po: Likewise.
13954 * po/sv.po: Likewise.
13955 * po/tr.po: Likewise.
13956 * po/zh_CN.po: Likewise.
13957 * po/zh_TW.po: Likewise.
13958
13959 * version.h (RELEAES): Set to "development".
13960 (VERSION): Set to 2.23.90.
13961
13962 * version.h (RELEASE): Set to "stable".
13963 (VERSION): Set to 2.23.
13964 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13965
13966 * NEWS: Updated fixed bugs.
13967
13968 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13969 Wilco Dijkstra <wdijkstr@arm.com>
13970
13971 [BZ #19462]
13972 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13973 (_STRING_INLINE_unaligned): This.
13974 * include/string.h: Include <string_private.h>.
13975 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13976 _STRING_INLINE_unaligned.
13977 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13978 (_STRING_INLINE_unaligned): New.
13979 * sysdeps/aarch64/string_private.h: New file.
13980 * sysdeps/generic/string_private.h: Likewise.
13981 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13982 * sysdeps/s390/string_private.h: Likewise.
13983 * sysdeps/x86/string_private.h: Likewise.
13984 * sysdeps/m68k/m680x0/m68020/bits/string.h
13985 (_STRING_ARCH_unaligned): Renamed to ...
13986 (_STRING_INLINE_unaligned): This.
13987 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13988 to ...
13989 (_STRING_INLINE_unaligned): This.
13990 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13991 to ...
13992 (_STRING_INLINE_unaligned): This.
13993 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13994 to ...
13995 (_STRING_INLINE_unaligned): This.
13996
13997 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13998 H.J. Lu <hongjiu.lu@intel.com>
13999
14000 [BZ #19590]
14001 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14002 relocation.
14003
14004 2016-02-15 Carlos O'Donell <carlos@redhat.com>
14005
14006 [BZ #18665]
14007 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14008 *herrno_p.
14009 (gaih_getanswer): Document functional behviour. Return tryagain
14010 if any result is tryagain.
14011 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14012 when freed.
14013 * resolv/res_send.c: Add copyright text.
14014 (__libc_res_nsend): Document that MAXPACKET is expected.
14015 (send_vc): Document. Remove buffer reuse.
14016 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14017 size of the buffer. Add Dprint for truncated UDP buffer.
14018
14019 2016-02-14 Carlos O'Donell <carlos@redhat.com>
14020
14021 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14022 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14023 * INSTALL: Regenerate.
14024
14025 2016-02-14 Jakub Jelinek <jakub@redhat.com>
14026 Jonathan Wakely <jwakely@redhat.com>
14027 Carlos O'Donell <carlos@redhat.com>
14028
14029 [BZ 19439]
14030 * math/Makefile (tests): Add test-math-isinff.
14031 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14032 * math/bits/mathcalls.h [__USE_MISC]: Use
14033 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14034 functions not in C++11 and which don't conflict e.g. isinff,
14035 isinfl etc.
14036 * math/test-math-isinff.cc: New file.
14037
14038 2016-02-12 Florian Weimer <fweimer@redhat.com>
14039
14040 * misc/bug18240.c (do_test): Set RLIMIT_AS.
14041
14042 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
14043
14044 [BZ #19529]
14045 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14046
14047 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14048
14049 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14050
14051 2016-02-01 Joseph Myers <joseph@codesourcery.com>
14052
14053 [BZ #19550]
14054 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14055 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14056 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14057 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14058 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14059 New syscall entry.
14060 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14061 New syscall entry.
14062 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14063 syscall entry.
14064
14065 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
14066
14067 [BZ #18240]
14068 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14069 unsigned int wraparound.
14070
14071 2016-01-27 Florian Weimer <fweimer@redhat.com>
14072
14073 [BZ #18240]
14074 * misc/bug18240.c: New test.
14075 * misc/Makefile (tests): Add it.
14076
14077 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
14078 Joseph Myers <joseph@codesourcery.com>
14079
14080 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14081 load in branch delay slot when less than a word of input left.
14082
14083 2016-01-27 Andreas Schwab <schwab@suse.de>
14084
14085 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14086 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14087 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14088 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14089
14090 2016-01-26 David S. Miller <davem@davemloft.net>
14091
14092 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14093
14094 2016-01-25 David S. Miller <davem@davemloft.net>
14095
14096 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14097 __sqrtl_finite.
14098 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14099 instead using versioned_symbol.
14100 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14101 of entries.
14102
14103 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14104 __sqrtl_finite to GLIBC_2.23
14105
14106 2016-01-25 Ricchard Henderson <rth@redhat.com>
14107
14108 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14109
14110 2016-01-25 Andreas Schwab <schwab@suse.de>
14111
14112 [BZ #17514]
14113 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14114 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14115 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14116 * nptl/tst-mutex-errorcheck.c: New file.
14117
14118 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14119
14120 [BZ #18560]
14121 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14122 (IPCOP_semop): Likewise.
14123 (IPCOP_semget): Likewise.
14124 (IPCOP_semctl): Likewise.
14125 (IPCOP_msgsnd): Likewise.
14126 (IPCOP_msgrcv): Likewise.
14127 (IPCOP_msgget): Likewise.
14128 (IPCOP_msgctl): Likewise.
14129 (IPCOP_shmat): Likewise.
14130 (IPCOP_shmdt): Likewise.
14131 (IPCOP_shmget): Likewise.
14132 (IPCOP_shmctl): Likewise.
14133
14134 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14135
14136 * string/tst-endian.c: Include <libc-internal.h>.
14137 (do_test): Ignore tautological-compare warnings around
14138 "htobeXX (beXXtoh (i)) != i" and
14139 "htoleXX (leXXtoh (i)) != i" if-statements.
14140
14141 2016-01-24 David S. Miller <davem@davemloft.net>
14142
14143 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14144 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14145 alias.
14146 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14147 __sqrtl_finite.
14148
14149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14150
14151 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
14152
14153 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14154 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14155 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14156
14157 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14158
14159 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14160 (thread_func): Use new function to simplify barrier check.
14161 (do_test): Use new function to simplify checking barrier exit
14162 code, and actually join the child thread.
14163
14164 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14165
14166 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14167 semicolon.
14168 (__libc_tend): Likewise.
14169 (__libc_tabort): Likewise.
14170
14171 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
14172
14173 * sysdeps/nios2/libm-test-ulps: Update.
14174 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14175 (__gtsf2): Likewise.
14176 (__unorddf2): Likewise.
14177 (__unordsf2): Likewise.
14178 (__ledf2): Likewise.
14179
14180 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
14181
14182 * nis/nis_table.c (__follow_path): Disable diagnostic for
14183 uninitialized variable that is a false positive for gcc 4.7.
14184 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14185
14186 2016-01-20 Roland McGrath <roland@hack.frob.com>
14187
14188 * sysdeps/nacl/lowlevellock-futex.h
14189 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14190 Always evaluate PRIVATE argument.
14191
14192 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14193
14194 [BZ #19490]
14195 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14196 (pthread_cond_broadcast): Use ENTRY/END
14197 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14198 (pthread_cond_signal): Likewise.
14199 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14200 Likewise.
14201 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14202 Likewise.
14203 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14204 Likewise.
14205
14206 2016-01-20 Joseph Myers <joseph@codesourcery.com>
14207
14208 * sysdeps/ieee754/dbl-64/s_finite.c
14209 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14210 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14211 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14212 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14213 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14214
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14216 (__gtsf2): Add as optional for libc.so.
14217 (__unordsf2): Likewise.
14218 (__signbit): Remove for libc.so.
14219 (__signbitl): Likewise.
14220
14221 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14222
14223 * iconvdata/bug-iconv11.c (test_ibm93x):
14224 Use %zu printf format specifier for size_t argument.
14225
14226 2016-01-19 Joseph Myers <joseph@codesourcery.com>
14227
14228 * math/gen-libm-test.pl (parse_ulps): Do not reduce
14229 already-recorded ulps.
14230 * sysdeps/arm/libm-test-ulps: Regenerated.
14231 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14232 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14233 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14234
14235 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
14236 Paul Pluzhnikov <ppluzhnikov@google.com>
14237
14238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14239 assembler not supporting AVX-512.
14240
14241 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14242
14243 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14244
14245 2016-01-18 Joseph Myers <joseph@codesourcery.com>
14246
14247 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14248 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14249
14250 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14251
14252 * sysdeps/arm/libm-test-ulps: Regenerated.
14253
14254 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14255
14256 [BZ #19451]
14257 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14258
14259 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14260
14261 [BZ #19486]
14262 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14263 * sysdeps/generic/fix-fp-int-convert-overflow.h
14264 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14265 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14266 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14267 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14268 Likewise.
14269 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14270 Avoid conversions to long int where inexact exceptions
14271 could be raised.
14272 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14273 Likewise.
14274 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14275 Avoid conversions to long long int where inexact exceptions
14276 could be raised.
14277 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14278 Likewise.
14279
14280 2016-01-17 Mike Frysinger <vapier@gentoo.org>
14281
14282 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14283 * configure: Regenerated.
14284
14285 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14286
14287 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14288
14289 2016-01-16 Mike Frysinger <vapier@gentoo.org>
14290
14291 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14292 outside of comment.
14293
14294 2016-01-15 Torvald Riegel <triegel@redhat.com>
14295
14296 * nptl/tst-barrier1.c: Add description on first line.
14297 * nptl/tst-barrier2.c: Likewise.
14298 * nptl/tst-barrier3.c: Likewise.
14299 * nptl/tst-barrier4.c: Likewise.
14300 * nptl/tst-barrier5.c: Likewise.
14301
14302 2016-01-15 Torvald Riegel <triegel@redhat.com>
14303
14304 [BZ #18868]
14305 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14306
14307 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14308
14309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14311 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14312 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14313 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14314 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14315 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14316 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14317 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14318 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14319 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14320
14321 2016-01-15 Torvald Riegel <triegel@redhat.com>
14322
14323 [BZ #13065]
14324 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14325 new implementation.
14326 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14327 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14328 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14329 (BARRIER_IN_THRESHOLD): New macro.
14330 * nptl/pthread_barrierattr_setpshared.c
14331 (pthread_barrierattr_setpshared): Clean up.
14332 * nptl/tst-barrier4.c: Correct comment.
14333 * nptl/tst-barrier5.c: New file.
14334 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14335 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14336 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14337 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14338 * nptl/lowlevelbarrier.sym: Remove.
14339 * nptl/DESIGN-barrier.txt: Remove.
14340 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14341 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14342 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14343 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14344 error.
14345 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14346 implementation.
14347
14348 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14349
14350 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14351 (do_child): Mask SIGRTMIN while thr is running.
14352
14353 2016-01-15 Martin Sebor <msebor@redhat.com>
14354
14355 [BZ #19432]
14356 * iconvdata/Makefile: Add bug-iconv11.
14357 * iconvdata/bug-iconv11.c: New test.
14358 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14359 * iconvdata/ibm933.c: Same.
14360 * iconvdata/ibm935.c: Same.
14361 * iconvdata/ibm937.c: Same.
14362 * iconvdata/ibm939.c: Same.
14363
14364 2016-01-15 Martin Sebor <msebor@redhat.com>
14365
14366 [BZ #19443]
14367 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14368 [DEBUG] (_ufc_set_bits): Declare used.
14369 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14370 [DEBUG] (print_all): Declare used.
14371 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14372 operands of the ternary ?: expression to target type.
14373 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14374 calling the undeclared abort.
14375 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14376
14377 2016-01-15 Martin Sebor <msebor@redhat.com>
14378
14379 [BZ #18755]
14380 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14381 warnings.
14382 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14383 (__gai_create_helper_thread): Same.
14384 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14385 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14386 to suppress -Wmaybe-uninitialized warnings.
14387
14388 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14389
14390 [BZ #19465]
14391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14392 inside if.
14393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14394 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14396
14397 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14398
14399 [BZ #19466]
14400 * time/tst-mktime2.c (time_t_max): Removed.
14401 (time_t_min): Likewise.
14402 (TYPE_SIGNED): New.
14403 (TYPE_MINIMUM): Likewise.
14404 (TYPE_MAXIMUM): Likewise.
14405 (TIME_T_MIN): Likewise.
14406 (TIME_T_MAX): Likewise.
14407 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14408 and TIME_T_MIN.
14409 (do_test): Likewise.
14410
14411 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14412
14413 [BZ #19467]
14414 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14415 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14416
14417 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14418
14419 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14420
14421 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14422
14423 * benchtests/Makefile (PYTHON): Define.
14424 (bench-func): Use $(PYTHON) to run python scripts.
14425 ($(objpfx)bench-%.c): Likewise.
14426
14427 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14428
14429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14430 leading slash when `file_name' is "/".
14431
14432 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14433
14434 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14435 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14436 Likewise.
14437 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14438 Likewise.
14439 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14440 Likewise.
14441 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14442 enum constant and macro.
14443 (PTRACE_SETSIGMASK): Likewise.
14444 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14445 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14446 (PTRACE_GETSIGMASK): Likewise.
14447 (PTRACE_SETSIGMASK): Likewise.
14448 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14450 Likewise.
14451 (PTRACE_SETSIGMASK): Likewise.
14452 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14454 (PTRACE_GETSIGMASK): Likewise.
14455 (PTRACE_SETSIGMASK): Likewise.
14456 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14457 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14458 Likewise.
14459 (PTRACE_SETSIGMASK): Likewise.
14460 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14461 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14462 Likewise.
14463 (PTRACE_SETSIGMASK): Likewise.
14464 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14465 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14466 Likewise.
14467 (PTRACE_SETSIGMASK): Likewise.
14468 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14469
14470 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14471 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14472
14473 [BZ #19439]
14474 * math/bits/mathcalls.h
14475 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14476 prototype.
14477 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14478
14479 2016-01-11 Andreas Schwab <schwab@suse.de>
14480
14481 [BZ #19253]
14482 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14483 cache when TZDEFRULES was used.
14484 * time/tst-tzname.c: New file.
14485 * time/Makefile (test): Add tst-tzname.
14486 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14487 * timezone/Makefile (test-zones): Add $(posixrules-file).
14488 ($(testdata)/$(posixrules-file)): New rule.
14489
14490 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14491
14492 Fix doc quoting problems with Texinfo 5
14493 Without this change, in the info file output, Texinfo 5 quotes code
14494 in text with undirected single quotes 'like this' and generates
14495 code examples that with many PDF readers cannot be cut out of PDFs
14496 and pasted into code.
14497 * manual/libc.texinfo: Configure the libc manual like the GNU
14498 Emacs manual, by using @documentencoding and setting
14499 txicodequoteundirected and txicodequotebacktick. This way,
14500 Texinfo 5 quotes code in text with directed single quotes ‘like
14501 this’ and produces examples that can be cut out of PDFs. This
14502 change causes Texinfo 5 to generate info files that contain UTF-8
14503 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14504 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14505
14506 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14507
14508 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14509 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14510 barriers to their respective compiler built-ins.
14511 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14512 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14513 * sysdeps/powerpc/sysdep.h: Likewise.
14514 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14515 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14516 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14517
14518 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14519
14520 * scripts/config.guess: Revert previous shebang change.
14521 * scripts/config.sub: Likewise.
14522 * scripts/mkinstalldirs: Likewise.
14523
14524 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14525
14526 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14527 PPC_FEATURE2_HAS_IEEE128.
14528 * sysdeps/powerpc/dl-procinfo.c:
14529 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14530
14531 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14532
14533 [BZ #19415]
14534 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14535 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14536 (_dl_lookup_address): Rewrite using function resolver trampoline.
14537 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14538 two bits in address.
14539
14540 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14541
14542 * longlong.h: Change !__SHMEDIA__ to
14543 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14544 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14545
14546 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14547 Joseph Myers <joseph@codesourcery.com>
14548 Mark Shinwell <shinwell@codesourcery.com>
14549 Andrew Stubbs <ams@codesourcery.com>
14550 Rich Felker <dalias@libc.org>
14551
14552 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14553
14554 2016-01-07 Richard Henderson <rth@redhat.com>
14555
14556 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14557
14558 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14559
14560 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14561 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14562 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14563 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14564 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14565
14566 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14567 Joseph Myers <joseph@codesourcery.com>
14568
14569 * timezone/private.h: Update from tzcode 2015g.
14570 * timezone/tzfile.h: Likewise.
14571 * timezone/tzselect.ksh: Likewise.
14572 * timezone/zdump.c: Likewise.
14573 * timezone/zic.c: Likewise.
14574 * timezone/ialloc.c: Remove file.
14575 * timezone/scheck.c: Likewise.
14576 * timezone/Makefile (extra-objs): Remove variable.
14577 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14578 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14579 -Wno-maybe-uninitialized.
14580 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14581 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14582 (CFLAGS-ialloc.c): Remove variable.
14583 (CFLAGS-scheck.c): Likewise.
14584 * timezone/README: Update list of files from tzcode.
14585
14586 2016-01-07 Khem Raj <raj.khem@gmail.com>
14587
14588 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14589 instead of __fxprintf when _LIBC is undefined.
14590
14591 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14592
14593 * catgets/test-gencat.sh: Remove space after shebang.
14594 * conform/GlibcConform.pm: Likewise.
14595 * conform/check-header-lists.sh: Likewise.
14596 * conform/conformtest.pl: Likewise.
14597 * conform/linknamespace.pl: Likewise.
14598 * conform/list-header-symbols.pl: Likewise.
14599 * debug/catchsegv.sh: Likewise.
14600 * elf/genrtldtbl.awk: Likewise.
14601 * elf/tst-pathopt.sh: Likewise.
14602 * elf/tst-rtld-load-self.sh: Likewise.
14603 * grp/tst_fgetgrent.sh: Likewise.
14604 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14605 * iconvdata/gen-8bit-gap.sh: Likewise.
14606 * iconvdata/gen-8bit.sh: Likewise.
14607 * iconvdata/run-iconv-test.sh: Likewise.
14608 * intl/tst-gettext.sh: Likewise.
14609 * intl/tst-gettext2.sh: Likewise.
14610 * intl/tst-gettext4.sh: Likewise.
14611 * intl/tst-gettext6.sh: Likewise.
14612 * intl/tst-translit.sh: Likewise.
14613 * io/ftwtest-sh: Likewise.
14614 * libio/test-freopen.sh: Likewise.
14615 * locale/gen-translit.pl: Likewise.
14616 * malloc/tst-mtrace.sh: Likewise.
14617 * manual/check-safety.sh: Likewise.
14618 * manual/libc-texinfo.sh: Likewise.
14619 * manual/tsort.awk: Likewise.
14620 * manual/xtract-typefun.awk: Likewise.
14621 * nptl/tst-cancel-wrappers.sh: Likewise.
14622 * nptl/tst-tls6.sh: Likewise.
14623 * posix/globtest.sh: Likewise.
14624 * posix/tst-getconf.sh: Likewise.
14625 * posix/wordexp-tst.sh: Likewise.
14626 * scripts/check-c++-types.sh: Likewise.
14627 * scripts/check-local-headers.sh: Likewise.
14628 * scripts/config.guess: Likewise.
14629 * scripts/config.sub: Likewise.
14630 * scripts/cpp: Likewise.
14631 * scripts/cross-test-ssh.sh: Likewise.
14632 * scripts/documented.sh: Likewise.
14633 * scripts/evaluate-test.sh: Likewise.
14634 * scripts/gen-libc-abis: Likewise.
14635 * scripts/gen-sorted.awk: Likewise.
14636 * scripts/list-fixed-bugs.py: Likewise.
14637 * scripts/merge-test-results.sh: Likewise.
14638 * scripts/mkinstalldirs: Likewise.
14639 * scripts/rellns-sh: Likewise.
14640 * scripts/test-installation.pl: Likewise.
14641 * scripts/update-copyrights: Likewise.
14642 * stdio-common/tst-printf.sh: Likewise.
14643 * stdio-common/tst-unbputc.sh: Likewise.
14644 * stdlib/tst-fmtmsg.sh: Likewise.
14645 * stdlib/tst-setcontext3.sh: Likewise.
14646 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14647 * sysdeps/unix/make-syscalls.sh: Likewise.
14648
14649 2016-01-06 John David Anglin <dave.anglin@bell.net>
14650
14651 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14652 asm stw with atomic_exchange_rel. Add explanatory comment.
14653 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14654 Likewise.
14655
14656 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14657
14658 [BZ #19122]
14659 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14660 * sysdeps/generic/dl-unistd.h: New file.
14661 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14662
14663 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 [BZ #19122]
14666 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14667 * sysdeps/generic/dl-mman.h: New file.
14668 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14669
14670 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14671
14672 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14673 trailing whitespace removed.
14674 * scripts/config.guess: Update to version 2016-01-01.
14675 * scripts/config.sub: Update to version 2016-01-01.
14676 * scripts/move-if-change: Update from gnulib.
14677
14678 2016-01-04 Anton Blanchard <anton@samba.org>
14679
14680 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14681 for array indices.
14682 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14683
14684 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14685
14686 * NEWS: Update copyright dates.
14687 * catgets/gencat.c (print_version): Likewise.
14688 * csu/version.c (banner): Likewise.
14689 * debug/catchsegv.sh: Likewise.
14690 * debug/pcprofiledump.c (print_version): Likewise.
14691 * debug/xtrace.sh (do_version): Likewise.
14692 * elf/ldconfig.c (print_version): Likewise.
14693 * elf/ldd.bash.in: Likewise.
14694 * elf/pldd.c (print_version): Likewise.
14695 * elf/sotruss.sh: Likewise.
14696 * elf/sprof.c (print_version): Likewise.
14697 * iconv/iconv_prog.c (print_version): Likewise.
14698 * iconv/iconvconfig.c (print_version): Likewise.
14699 * locale/programs/locale.c (print_version): Likewise.
14700 * locale/programs/localedef.c (print_version): Likewise.
14701 * login/programs/pt_chown.c (print_version): Likewise.
14702 * malloc/memusage.sh (do_version): Likewise.
14703 * malloc/memusagestat.c (print_version): Likewise.
14704 * malloc/mtrace.pl: Likewise.
14705 * manual/libc.texinfo: Likewise.
14706 * nptl/version.c (banner): Likewise.
14707 * nscd/nscd.c (print_version): Likewise.
14708 * nss/getent.c (print_version): Likewise.
14709 * nss/makedb.c (print_version): Likewise.
14710 * posix/getconf.c (main): Likewise.
14711 * scripts/test-installation.pl: Likewise.
14712 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14713
14714 * All files with FSF copyright notices: Update copyright dates
14715 using scripts/update-copyrights.
14716 * intl/plural.c: Regenerated.
14717 * locale/programs/charmap-kw.h: Likewise.
14718 * locale/programs/locfile-kw.h: Likewise.
14719
14720 2016-01-02 Helge Deller <deller@gmx.de>
14721
14722 [BZ #19285]
14723 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14724 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14725 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14726 (MADV_xxK_PAGES): Remove.
14727
14728 2016-01-01 Mike Frysinger <vapier@gentoo.org>
14729
14730 [BZ #15421]
14731 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14732 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
14733 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14734 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14735
14736 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
14737
14738 [BZ #19408]
14739 * sysdeps/unix/sysv/linux/personality.c: New file.
14740 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14741 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14742 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14743 (sysdep_routines): Add personality.
14744 (tests): Add tst-personality.
14745 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14747 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14748 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14749 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14750 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14751 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14752 Likewise.
14753 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14754 Likewise.
14755 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14756 Likewise.
14757 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14758 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14759 Likewise.
14760
14761 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14762
14763 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14764 (PATH_ARM_SYSTYPE): Remove.
14765 (PATH_CPUINFO): Likewise.
14766 (IO_BASE_FOOTBRIDGE): Likewise.
14767 (IO_SHIFT_FOOTBRIDGE): Likewise.
14768 (struct platform): Likewise.
14769 (init_iosys): Remove compatibility code for 2.4 kernels.
14770 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14771
14772 2015-12-29 Florian Weimer <fweimer@redhat.com>
14773
14774 * malloc/tst-malloc-thread-fail.c: New file.
14775 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14776 (tst-malloc-thread-fail): Link against libpthread.
14777
14778 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14779
14780 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14781 (get_parser): New function.
14782 (main): New function.
14783
14784 2015-12-29 Rob Wu <rob@robwu.nl>
14785
14786 [BZ #19369]
14787 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14788
14789 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14790
14791 [BZ #19270]
14792 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14793
14794 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14795
14796 [BZ #15421]
14797 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14798
14799 2015-12-23 Torvald Riegel <triegel@redhat.com>
14800
14801 [BZ #13690]
14802 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14803 after releasing it.
14804 (__lll_robust_unlock): Likewise.
14805 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14806 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14807 (lll_robust_unlock): Likewise.
14808 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14809 Prevent warnings in callers.
14810
14811 2015-12-23 Florian Weimer <fweimer@redhat.com>
14812
14813 * malloc/arena.c (list_lock): Update comment.
14814
14815 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14816
14817 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14818 __parse_hwcap_and_convert_at_platform to libc.a.
14819
14820 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14821
14822 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14823 platform and feature support for POWER9.
14824 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14825 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14826 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14827 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14828 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14829 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14830 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14831 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14832
14833 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14834
14835 Harmonize generic stdio-lock support with nptl
14836
14837 This fixes build when _IO_funlockfile is a macro, fixes build where
14838 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14839 stack unwind.
14840
14841 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14842 _IO_release_lock ): Use cleanup attribute on new
14843 _IO_acquire_lock_file variable instead of assuming that
14844 _IO_release_lock will be called.
14845 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14846 _IO_acquire_lock_needs_exceptions_enabled.
14847 (_IO_acquire_lock_clear_flags2): New macro.
14848
14849 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14850
14851 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14852
14853 2015-12-21 Florian Weimer <fweimer@redhat.com>
14854
14855 [BZ #19182]
14856 * malloc/arena.c (list_lock): Document lock ordering requirements.
14857 (free_list_lock): New lock.
14858 (ptmalloc_lock_all): Comment on free_list_lock.
14859 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14860 (detach_arena): Update comment. free_list_lock is now needed.
14861 (_int_new_arena): Use free_list_lock around detach_arena call.
14862 Acquire arena lock after list_lock. Add comment, including FIXME
14863 about incorrect synchronization.
14864 (get_free_list): Switch to free_list_lock.
14865 (reused_arena): Acquire free_list_lock around detach_arena call
14866 and attached threads counter update. Add two FIXMEs about
14867 incorrect synchronization.
14868 (arena_thread_freeres): Switch to free_list_lock.
14869 * malloc/malloc.c (struct malloc_state): Update comments to
14870 mention free_list_lock.
14871
14872 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14873
14874 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14875 Remove functions.
14876 (sloww, sloww1): Accept argument to offset quadrant.
14877 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14878 quadrant.
14879 (__sin, __cos): Consolidate common code into new functions.
14880 (reduce_sincos_1, do_sincos_1): New functions.
14881 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14882
14883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14884 code to new functions.
14885 (reduce_sincos_2, do_sincos_2): New functions.
14886 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14887
14888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14889 common code for sincos.
14890 (__cos) [!IN_SINCOS]: Likewise.
14891 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14892 New function.
14893 (__sincos): Use it.
14894
14895 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14896
14897 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14898 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14899 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14900
14901 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14902
14903 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14906 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14907 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14908 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14909 index_Prefer_No_VZEROUPPER): New feature.
14910 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14911 Prefer_No_VZEROUPPER for Knights Landing.
14912
14913 015-12-18 Torvald Riegel <triegel@redhat.com>
14914
14915 * math/atest-exp2.c (mp_exp_m1): Remove.
14916
14917 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14918
14919 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14920 syscalls.
14921 (__SYSCALL0): New macro.
14922 (__SYSCALL1): Likewise.
14923 (__SYSCALL2): Likewise.
14924 (__SYSCALL3): Likewise.
14925 (__SYSCALL4): Likewise.
14926 (__SYSCALL5): Likewise.
14927 (__SYSCALL6): Likewise.
14928 (__SYSCALL_CONCAT_X): Likewise.
14929 (__SYSCALL_CONCAT): Likewise.
14930 (__SYSCALL_DIST): Likewise.
14931 (__SYSCALL_CALL): Likewise.
14932
14933 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14934
14935 [BZ #19363]
14936 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14937
14938 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14939
14940 [BZ #19375]
14941 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14942 negative subnormals.
14943
14944 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14945
14946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14947 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14948 (INTERNAL_SYSCALL_NCS): Use it.
14949 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14950
14951 2015-12-16 Florian Weimer <fweimer@redhat.com>
14952
14953 [BZ #19243]
14954 * malloc/arena.c (get_free_list): Remove assert and adjust
14955 reference count handling. Add comment about reused_arena
14956 interaction.
14957 (reused_arena): Add comments abount get_free_list interaction.
14958 * malloc/tst-malloc-thread-exit.c: New file.
14959 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14960 (tst-malloc-thread-exit): Link against libpthread.
14961
14962 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14963
14964 [BZ #19367]
14965 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14966 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14967 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14968 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14969 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14970
14971 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14972
14973 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14974 Silvermont optimizations for Knights Landing.
14975
14976 2015-12-15 Andreas Schwab <schwab@suse.de>
14977
14978 [BZ #17197]
14979 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14980 immediately after emitting SI.
14981 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14982 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14983 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14984 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14985 * iconvdata/bug-iconv10.c: New file.
14986 * iconvdata/Makefile (tests): Add bug-iconv10.
14987 ($(objpfx)bug-iconv10.out): New rule.
14988
14989 2015-12-15 Florian Weimer <fweimer@redhat.com>
14990
14991 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14992 aliasing violation.
14993
14994 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14995
14996 [BZ #18472]
14997 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14998 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14999 conditionals for them.
15000 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15001 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15003 sys/kdaemon.h.
15004 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15005 compat-only syscall, obsoleted in glibc 2.23.
15006 (create_module): Likewise.
15007 (get_kernel_syms): Likewise.
15008 (query_module): Likewise.
15009 (uselib): Likewise.
15010 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15011
15012 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
15013
15014 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15015 <linux/version.h>.
15016 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15017 conditional code.
15018 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15019 and ioshift_name initialization.
15020
15021 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15022
15023 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15024 Fix indentation.
15025
15026 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15027
15028 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15029
15030 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15031
15032 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15033
15034 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
15035 Jakub Wilk <jwilk@debian.org>
15036
15037 [BZ #19347]
15038 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15039 to change the group of the device to the tty group.
15040
15041 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
15042
15043 Split large string section; add truncation advice
15044 * manual/examples/strncat.c: Remove.
15045 This example was misleading, as the code would have undefined
15046 behavior if "hello" was longer than SIZE. Anyway, the manual
15047 shouldn't encourage strncpy+strncat for this sort of thing.
15048 * manual/string.texi (Copying Strings and Arrays): Split into
15049 three sections Copying Strings and Arrays, Concatenating Strings,
15050 and Truncating Strings, as this section was way too long. All
15051 cross-referenced changed. Add advice about string-truncation
15052 functions. Remove misleading strncat example.
15053
15054 2015-12-10 Carlos O'Donell <carlos@redhat.com>
15055
15056 * manual/nss.texi (NSS Modules Interface): Document
15057 NSS_STATUS_NOTFOUND and SUCCESS.
15058
15059 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15060
15061 [BZ 18568]
15062 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15063 201505L, for Unicode 8.
15064
15065 2015-12-09 Carlos O'Donell <carlos@redhat.com>
15066
15067 * locale/C-translit.h: Regenerate.
15068
15069 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15070
15071 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15072 and U+0153.
15073
15074 2015-12-09 Joseph Myers <joseph@codesourcery.com>
15075
15076 [BZ #19351]
15077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15078 expanding log(1+z), compare z rather than its square with epsilon
15079 to determine when to avoid evaluating the expansion.
15080
15081 [BZ #19350]
15082 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15083 Increase overflow threshold.
15084
15085 [BZ #19349]
15086 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15087 when small.
15088
15089 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15090 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15091 New macro.
15092 [__LINUX_KERNEL_VERSION >= 0x040300]
15093 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15094 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15095 Likewise.
15096 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15097 Likewise.
15098 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15099 Likewise.
15100 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15101 Likewise.
15102 [__LINUX_KERNEL_VERSION >= 0x040300]
15103 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15104 [__LINUX_KERNEL_VERSION >= 0x040300]
15105 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15106 [__LINUX_KERNEL_VERSION >= 0x040300]
15107 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15108 [__LINUX_KERNEL_VERSION >= 0x040300]
15109 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15110 [__LINUX_KERNEL_VERSION >= 0x040300]
15111 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15112 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15113 Likewise.
15114 [__LINUX_KERNEL_VERSION >= 0x040300]
15115 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15116 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15117 Likewise.
15118 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15119 Likewise.
15120 [__LINUX_KERNEL_VERSION >= 0x040300]
15121 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15122 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15123 Likewise.
15124 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15125 Likewise.
15126 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15127 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15128 Likewise.
15129 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15130 Likewise.
15131 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15132 Likewise.
15133 [__LINUX_KERNEL_VERSION >= 0x040300]
15134 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15135 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15136 Likewise.
15137 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15138 Likewise.
15139 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15140 Likewise.
15141 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15142 Likewise.
15143 [__LINUX_KERNEL_VERSION >= 0x040300]
15144 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15145 [__LINUX_KERNEL_VERSION >= 0x040300]
15146 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15147 [__LINUX_KERNEL_VERSION >= 0x040300]
15148 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15149 [__LINUX_KERNEL_VERSION >= 0x040300]
15150 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15151 [__LINUX_KERNEL_VERSION >= 0x040300]
15152 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15153 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15154 Likewise.
15155 [__LINUX_KERNEL_VERSION >= 0x040300]
15156 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15157 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15158 Likewise.
15159 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15160 Likewise.
15161 [__LINUX_KERNEL_VERSION >= 0x040300]
15162 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15163 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15164 Likewise.
15165 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15166 Likewise.
15167 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15168 (__ASSUME_SOCKET_SYSCALL): Likewise.
15169 (__ASSUME_BIND_SYSCALL): Likewise.
15170 (__ASSUME_CONNECT_SYSCALL): Likewise.
15171 (__ASSUME_LISTEN_SYSCALL): Likewise.
15172 (__ASSUME_ACCEPT_SYSCALL): Likewise.
15173 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15174 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15175 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15176 (__ASSUME_SEND_SYSCALL): Likewise.
15177 (__ASSUME_SENDTO_SYSCALL): Likewise.
15178 (__ASSUME_RECV_SYSCALL): Likewise.
15179 (__ASSUME_RECVFROM_SYSCALL): Likewise.
15180 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15181 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15182 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15183 (__ASSUME_SENDMSG_SYSCALL): Likewise.
15184 (__ASSUME_RECVMSG_SYSCALL): Likewise.
15185 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15186 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15187 Likewise.
15188 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15189 Likewise.
15190 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15191 Likewise.
15192 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15193 Likewise.
15194 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15195 Likewise.
15196 [__LINUX_KERNEL_VERSION >= 0x020625]
15197 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15198 [__LINUX_KERNEL_VERSION >= 0x020625]
15199 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15200 [__LINUX_KERNEL_VERSION >= 0x020625]
15201 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15202 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15203 Likewise.
15204 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15205 Likewise.
15206 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15207 Likewise.
15208 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15209 Likewise.
15210 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15211 Likewise.
15212 [__LINUX_KERNEL_VERSION >= 0x020625]
15213 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15214 [__LINUX_KERNEL_VERSION >= 0x020625]
15215 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15216 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15217 Likewise.
15218 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15219 Likewise.
15220
15221 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15222
15223 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15224 record the current if the current ABI and CPU support the FP64
15225 extension.
15226 (has-modd-spreg): Define to record the current if the current ABI and
15227 CPU support 32-bit floating point values in odd FPU registers.
15228 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15229 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15230 $(has-modd-spreg) equals yes.
15231 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15232 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15233 $(has-modd-spreg) equal yes.
15234
15235 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15236
15237 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15238 basename.
15239
15240 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
15241
15242 * benchtests/Makefile (bench-math): Move ffs and ffsll...
15243 (bench-string): ... here.
15244 (bench): Add bench-string.
15245 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15246 to *-benchset to reflect what they are.
15247 (benchset): Adjust.
15248
15249 * benchtests/sincos-inputs: Add inputs from sin-inputs and
15250 cos-inputs.
15251
15252 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
15253
15254 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15255 __attribute__ ((__simd__)) for vector math function declarations.
15256
15257 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15258
15259 Fix typo in strncat, wcsncat manual entries
15260 * manual/string.texi (Copying and Concatenation): Fix typos in
15261 sample implementations of strncat and wcsncat, by having them use
15262 the old value of the destination length, not the new one.
15263
15264 2015-12-04 Joseph Myers <joseph@codesourcery.com>
15265
15266 [BZ #16961]
15267 [BZ #16962]
15268 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15269 string on the stack for strtod.
15270 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15271 a string on the stack for strtof.
15272 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15273 constructing a string on the stack for strtold.
15274 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15275 __strtold_nan to GLIBC_PRIVATE.
15276 * math/test-nan-overflow.c: New file.
15277 * math/test-nan-payload.c: Likewise.
15278 * math/Makefile (tests): Add test-nan-overflow and
15279 test-nan-payload.
15280
15281 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15282
15283 Consistency about byte vs character in string.texi
15284 * manual/string.texi (String and Array Utilities):
15285 Distinguish more carefully among bytes, multibyte characters,
15286 and wide characters. Use "byte" when talking about C 'char',
15287 to distinguish it more clearly from multibyte characters.
15288 Say "wide character" or "multibyte character" instead of
15289 "character", when a wide or multibyte character is intended.
15290 Similarly for "multibyte string" versus "string".
15291 Define these terms more carefully.
15292
15293 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
15294
15295 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15296 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15297 Likewise.
15298 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15299 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15300 * sysdeps/sh/math_private.h: New file.
15301 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15302 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15303 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15304 long double function name.
15305 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15306 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15307 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15311 Remove __finitel, __isinfl, and __isnanl.
15312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15313 Likewise.
15314 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15316 Remove __finitel.
15317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15318 Likewise.
15319 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15320
15321 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15322
15323 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15324 installed libmvec_nonshared.a.
15325
15326 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15327
15328 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15329 (sysdep_routines): Likewise.
15330 (sysdep-rtld-routines): Likewise.
15331 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15332 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15333 * sysdeps/powerpc/Versions: Added new
15334 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15335 * sysdeps/powerpc/hwcapinfo.c: New file.
15336 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15337 and parse hwcap, hwcap2 and platform number information.
15338 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15339 to store HWCAP+HWCAP2 and platform number.
15340 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15341 for HWCAP+HWCAP2 and platform number in the TCB.
15342 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15343 the HWCAP, HWCAP2 and platform number in the TCB.
15344 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15345 (TLS_INIT_TP): Included calls to add the hwcap and
15346 at_platform values in the TCB in TP initialization.
15347 (TLS_DEFINE_INIT_TP): Likewise.
15348 (THREAD_GET_HWCAP): New macro.
15349 (THREAD_SET_HWCAP): Likewise.
15350 (THREAD_GET_AT_PLATFORM): Likewise.
15351 (THREAD_SET_AT_PLATFORM): Likewise.
15352 * sysdeps/powerpc/powerpc32/dl-machine.h:
15353 (dl_platform_init): New function that calls
15354 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15355 powerpc32.
15356 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15357 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15358 this functionality, static linking case.
15359 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15360 linking case.
15361 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15362 __parse_hwcap_and_convert_at_platform for the static linking case.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15364 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15365 ABI list for GLIBC 2.23.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15367 Likewise.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15369 Likewise.
15370
15371 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15372
15373 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15374 * configure: Regenerate.
15375 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15376 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15377
15378 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15379
15380 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15381 * iconvdata/ibm933.c: Likewise.
15382 * iconvdata/ibm935.c: Likewise.
15383 * iconvdata/ibm937.c: Likewise.
15384 * iconvdata/ibm939.c: Likewise.
15385
15386 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15387
15388 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15389 pthread_join.
15390 * nptl/tst-cancel21.c (tf): Likewise.
15391
15392 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15393
15394 [BZ #19313]
15395 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15396 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15397 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15398 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15399 Likewise.
15400 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15401 Likewise.
15402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15403 Likewise.
15404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15405 Likewise.
15406 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15407 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15408 unsigned long int with __CPU_MASK_TYPE.
15409
15410 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15411
15412 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15413
15414 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15415
15416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15417 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15418 t512.x.
15419 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15420
15421 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15422
15423 [BZ #19214]
15424 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15425 argument to return extended model. Update family and model
15426 with extended family and model when family == 0x0f.
15427 (init_cpu_features): Updated.
15428
15429 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15430
15431 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15432 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15433
15434 * sysdeps/mach/hurd/mmap64.c: New file.
15435
15436 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15437
15438 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15439 rights for its main user thread in NEWTASK.
15440
15441 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15442
15443 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15444 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15445
15446 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15447
15448 [BZ #14259]
15449 * Makeconfig: Rename localedir to complocaledir.
15450 Rename inst_localedir to inst_complocaledir.
15451 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15452 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15453 * configure.ac: Use libc_cv_complocaledir.
15454 * configure: Regenerate.
15455 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15456 -DCOMPLOCALEDIR.
15457 * locale/findlocale.c: Use COMPLOCALEDIR.
15458 * locale/loadarchive.c: Likewise.
15459 * locale/programs/locale.c: Likewise.
15460 * locale/programs/localedef.c: Likewise.
15461 * locale/programs/locarchive.c: Likewise.
15462 * localedata/Makefile: Use inst_complocaledir.
15463 * sysdeps/gnu/configure: Regenerate.
15464 * sysdeps/hppa/configure: Regenerate.
15465 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15466 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15468 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15469 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15470 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15471 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15472
15473 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15474
15475 [BZ #19058]
15476 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15477 AS_NEEDED.
15478 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15479 workaround.
15480 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15481 libmvec-static-only-routines): Added new file.
15482 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15483
15484 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15485
15486 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15487 of interrupted RPC instead of restoring it.
15488
15489 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15490 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15491 libc_hidden_def.
15492 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15493 into initialized data instead of common. Define rtld_hidden_data_def.
15494 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15495 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15496 libc_hidden_def.
15497 (if_freenameindex): Add libc_hidden_weak.
15498 (if_nameindex): Add libc_hidden_weak.
15499 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15500 __open64.
15501 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15502 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15503 * sysdeps/mach/nanosleep.c: Include <time.h>
15504 (__nanosleep): Rename to __libc_nanosleep.
15505 (__nanosleep): Add weak_alias.
15506 (nanosleep): Update alias.
15507
15508 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15509
15510 * stdlib/strtod_nan.c: New file.
15511 * stdlib/strtod_nan_double.h: Likewise.
15512 * stdlib/strtod_nan_float.h: Likewise.
15513 * stdlib/strtod_nan_main.c: Likewise.
15514 * stdlib/strtod_nan_narrow.h: Likewise.
15515 * stdlib/strtod_nan_wide.h: Likewise.
15516 * stdlib/strtof_nan.c: Likewise.
15517 * stdlib/strtold_nan.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15519 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15520 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15521 * wcsmbs/wcstod_nan.c: Likewise.
15522 * wcsmbs/wcstof_nan.c: Likewise.
15523 * wcsmbs/wcstold_nan.c: Likewise.
15524 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15525 strtold_nan.
15526 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15527 wcstof_nan.
15528 * include/stdlib.h (__strtof_nan): Declare and use
15529 libc_hidden_proto.
15530 (__strtod_nan): Likewise.
15531 (__strtold_nan): Likewise.
15532 (__wcstof_nan): Likewise.
15533 (__wcstod_nan): Likewise.
15534 (__wcstold_nan): Likewise.
15535 * include/wchar.h (____wcstoull_l_internal): Declare.
15536 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15537 (____strtoull_l_internal): Remove declaration.
15538 (STRTOF_NAN): Define macro.
15539 (SET_MANTISSA): Remove macro.
15540 (STRTOULL): Likewise.
15541 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15542 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15543 (STRTOF_NAN): Define macro.
15544 (SET_MANTISSA): Remove macro.
15545 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15546 (SET_MANTISSA): Remove macro.
15547 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15548 macro.
15549 (SET_MANTISSA): Remove macro.
15550 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15551 macro.
15552 (SET_MANTISSA): Remove macro.
15553 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15554 (SET_MANTISSA): Remove macro.
15555 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15556 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15557 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15558
15559 [BZ #19266]
15560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15561 upper case and lower case letters inside NAN(), not using TOLOWER.
15562 * stdlib/tst-strtod-nan-locale-main.c: New file.
15563 * stdlib/tst-strtod-nan-locale.c: Likewise.
15564 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15565 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15566 Depend on $(gen-locales).
15567 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15568 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15569 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15570 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15571 Depend on $(gen-locales).
15572 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15573
15574 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15575
15576 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15577
15578 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15580 __finitel, __isinfl, and __isnanl.
15581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15582 Likewise.
15583 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15585 __finitel.
15586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15587 Likewise.
15588 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15589
15590 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15591
15592 * malloc/memusage.c (me): Remove redundant getenv call.
15593
15594 2015-10-24 Florian Weimer <fweimer@redhat.com>
15595
15596 [BZ #19143]
15597 [BZ #19164]
15598 * nptl/check-cpuset.h: Remove.
15599 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15600 Remove CPU set size check.
15601 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15602 Likewise.
15603 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15604 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15605 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15606 (__pthread_setaffinity_new): Remove CPU set size check.
15607 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15608 (__kernel_cpumask_size): Remove.
15609 (__sched_setaffinity_new): Remove CPU set size check.
15610 * manual/threads.texi (Default Thread Attributes): Remove stale
15611 reference to check_cpuset_attr, determine_cpumask_size in comment.
15612 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15613 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15614 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15615 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15616 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15617 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15618 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15619 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15620 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15621 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15622 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15623 skeleton test file.
15624 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15625 tst-affinity-pid.
15626
15627 2015-11-24 Florian Weimer <fweimer@redhat.com>
15628
15629 * scripts/update-abilist.sh: New file.
15630 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15631 * Makerules (update-all-abi-%, update-all-abi)
15632 (subdir_update-all-abi): New targets.
15633 * elf/Makefile (update-all-abi): New target.
15634
15635 2015-11-24 Florian Weimer <fweimer@redhat.com>
15636
15637 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15638 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15639 (__libc_lock_define_initialized): Use it.
15640 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15641 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15642 * malloc/malloc.c (main_arena): Likewise.
15643 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15644 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15645
15646 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15647
15648 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15649 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15650 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15651 (PTRACE_O_MASK): Update value.
15652 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15653 New value in enum __ptrace_setoptions.
15654 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15655 (PTRACE_O_MASK): Update value.
15656 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15657 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15658 (PTRACE_O_MASK): Update value.
15659 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15660 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15661 (PTRACE_O_MASK): Update value.
15662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15663 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15664 (PTRACE_O_MASK): Update value.
15665 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15666 New value in enum __ptrace_setoptions.
15667 (PTRACE_O_MASK): Update value.
15668 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15669 New value in enum __ptrace_setoptions.
15670 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15671 (PTRACE_O_MASK): Update value.
15672
15673 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15674 New macro.
15675 (PACKET_AUXDATA): Likewise.
15676 (PACKET_ORIGDEV): Likewise.
15677 (PACKET_VERSION): Likewise.
15678 (PACKET_HDRLEN): Likewise.
15679 (PACKET_RESERVE): Likewise.
15680 (PACKET_TX_RING): Likewise.
15681 (PACKET_LOSS): Likewise.
15682 (PACKET_VNET_HDR): Likewise.
15683 (PACKET_TX_TIMESTAMP): Likewise.
15684 (PACKET_TIMESTAMP): Likewise.
15685 (PACKET_FANOUT): Likewise.
15686 (PACKET_TX_HAS_OFF): Likewise.
15687 (PACKET_QDISC_BYPASS): Likewise.
15688 (PACKET_ROLLOVER_STATS): Likewise.
15689 (PACKET_FANOUT_DATA): Likewise.
15690 (PACKET_MR_UNICAST): Likewise.
15691
15692 [BZ #19242]
15693 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15694 (TOUPPER): Likewise.
15695 * stdlib/tst-strtol-locale-main.c: New file.
15696 * stdlib/tst-strtol-locale.c: Likewise.
15697 * stdlib/Makefile (tests): Add tst-strtol-locale.
15698 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15699 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15700 Depend on $(gen-locales).
15701 * wcsmbs/tst-wcstol-locale.c: New file.
15702 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15703 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15704 tr_TR.ISO-8859-9.
15705 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15706 Depend on $(gen-locales).
15707
15708 2015-11-20 Roland McGrath <roland@hack.frob.com>
15709
15710 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15711 __glibc_likely instead of __builtin_expect. After falling back to
15712 dyncode_create in a non-ET_DYN case, use the allocate_code_data
15713 system interface to register the code pages as occupied.
15714
15715 2015-11-20 Joseph Myers <joseph@codesourcery.com>
15716
15717 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15718 [!ARM_MATH_PRIVATE_H].
15719 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15720 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15721 [!HPPA_MATH_PRIVATE_H].
15722 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15723 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15724 to [!I386_MATH_PRIVATE_H].
15725 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15726 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15727 Change guard to [!M68K_MATH_PRIVATE_H].
15728 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15729 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15730 guard to [!MICROBLAZE_MATH_PRIVATE_H].
15731 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15732 macro.
15733 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15734 [!MIPS_MATH_PRIVATE_H].
15735 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15736 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15737 [!NIO2_MATH_PRIVATE_H].
15738 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15739 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15740 [!TILE_MATH_PRIVATE_H].
15741 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15742
15743 [BZ #15421]
15744 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15745 initialize with 0 and define as weak alias of __signgam.
15746 * include/math.h [!_ISOMAC] (__signgam): Declare.
15747 * math/Makefile (libm-calls): Add w_lgamma_compat.
15748 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15749 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15750 test-signgam-ullong-init.
15751 (tests-static): Add test-signgam-uchar-static,
15752 test-signgam-uchar-init-static, test-signgam-uint-static,
15753 test-signgam-uint-init-static, test-signgam-ullong-static and
15754 test-signgam-ullong-init-static.
15755 (CFLAGS-test-signgam-uchar.c): New variable.
15756 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15757 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15758 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15759 (CFLAGS-test-signgam-uint.c): Likewise.
15760 (CFLAGS-test-signgam-uint-init.c): Likewise.
15761 (CFLAGS-test-signgam-uint-static.c): Likewise.
15762 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15763 (CFLAGS-test-signgam-ullong.c): Likewise.
15764 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15765 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15766 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15767 * math/Versions (libm): Add GLIBC_2.23.
15768 * math/lgamma-compat.h: New file.
15769 * math/test-signgam-main.c: Likewise.
15770 * math/test-signgam-uchar-init-static.c: Likewise.
15771 * math/test-signgam-uchar-init.c: Likewise.
15772 * math/test-signgam-uchar-static.c: Likewise.
15773 * math/test-signgam-uchar.c: Likewise.
15774 * math/test-signgam-uint-init-static.c: Likewise.
15775 * math/test-signgam-uint-init.c: Likewise.
15776 * math/test-signgam-uint-static.c: Likewise.
15777 * math/test-signgam-uint.c: Likewise.
15778 * math/test-signgam-ullong-init-static.c: Likewise.
15779 * math/test-signgam-ullong-init.c: Likewise.
15780 * math/test-signgam-ullong-static.c: Likewise.
15781 * math/test-signgam-ullong.c: Likewise.
15782 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15783 wrapper of w_lgamma_main.c.
15784 * math/w_lgamma_compat.c: New file.
15785 * math/w_lgamma_compatf.c: Likewise.
15786 * math/w_lgamma_compatl.c: Likewise.
15787 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15788 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15789 defining compatibility symbols.
15790 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15791 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15792 wrapper of w_lgammaf_main.c.
15793 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15794 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15795 defining compatibility symbols.
15796 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15797 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15798 wrapper of w_lgammal_main.c.
15799 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15800 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15801 defining compatibility symbols.
15802 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15803 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15804 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15805 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15806 <lgamma-compat.h>.
15807 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15808 (__ieee754_gamma): Define as alias.
15809 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15810 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15811 <lgamma-compat.h>.
15812 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15813 (__ieee754_gammaf): Define as alias.
15814 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15815 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15816 <lgamma-compat.h>.
15817 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15818 (__ieee754_gammal): Define as alias.
15819 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15820 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15821 <math/w_lgamma_compat.c>.
15822 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15823 Define as alias of __lgamma_compat and use in defining lgammal.
15824 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15825 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15826 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15827 (USE_AS_COMPAT): New macro.
15828 (LGAMMA_OLD_VER): Undefine and redefine.
15829 (lgammal): Do not define here.
15830 (gammal): Only define here if [GAMMA_ALIAS].
15831 * conform/linknamespace.pl (@whitelist): Remove signgam.
15832 * sysdeps/nacl/libm.abilist: Update.
15833 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15834 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15835 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15837 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15838 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15839 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15840 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15841 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15842 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15843 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15844 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15846 Likewise.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15848 Likewise.
15849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15850 Likewise.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15852 Likewise.
15853 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15859 Likewise.
15860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15861 Likewise.
15862 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15865
15866 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15867
15868 [BZ #16364]
15869 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15870 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15871
15872 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15873
15874 * sysdeps/s390/fpu/bits/mathinline.h:
15875 Use __asm__ [__volatile__] instead of asm [volatile].
15876 * sysdeps/s390/abort-instr.h: Likewise.
15877 * sysdeps/s390/atomic-machine.h: Likewise.
15878 * sysdeps/s390/bits/string.h: Likewise.
15879 * sysdeps/s390/dl-tls.h: Likewise.
15880 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15881 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15882 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15883 * sysdeps/s390/fpu/fesetround.c: Likewise.
15884 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15885 * sysdeps/s390/fpu/s_fma.c: Likewise.
15886 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15887 * sysdeps/s390/memusage.h: Likewise.
15888 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15889 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15890 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15891 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15892 * sysdeps/s390/nptl/tls.h: Likewise.
15893 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15894 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15895 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15896 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15897 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15898 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15899 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15900 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15901 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15902 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15903 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15904 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15905 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15906 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15907 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15908 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15909 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15910 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15911 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15913 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15914 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15915 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15916
15917 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15918 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15919
15920 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15921 Add lwarx hint, and use macro for acquire instruction.
15922 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15923 Likewise.
15924 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15925 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15926 update to use new atomic macros.
15927
15928 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15929
15930 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15931 (__lll_trylock_elision): Fix setting of adapt_count.
15932 * sysdeps/unix/sysv/linux/powerpc/htm.h
15933 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15934 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15935 (_ABORT_SYSCALL): Renumber, and clarify definition.
15936 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15937
15938 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15939
15940 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15941 after system headers to prevent MIN/MAX redefinition. Define
15942 HAVE_ALLOCA to preserve builtin alloca usage.
15943
15944 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15945
15946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15947 static and don't set or restore rounding.
15948 (__cos)[IN_SINCOS]: Likewise.
15949 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15950 (__sincos): Set and restore rounding mode. Remove check for infinite
15951 or NaN input.
15952
15953 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15954
15955 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15956 as used.
15957
15958 2015-11-16 Florian Weimer <fweimer@redhat.com>
15959
15960 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15961
15962 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15963
15964 * config.make.in (have-glob-dat-reloc): New.
15965 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15966 target supports GLOB_DAT relocaton. AC_SUBST.
15967 * configure: Regenerated.
15968 * elf/Makefile (tests): Add tst-prelink.
15969 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15970 (tst-prelink-ENV): New.
15971 ($(objpfx)tst-prelink-conflict.out): Likewise.
15972 ($(objpfx)tst-prelink-cmp.out): Likewise.
15973 * sysdeps/x86/tst-prelink.c: Moved to ...
15974 * elf/tst-prelink.c: Here.
15975 * sysdeps/x86/tst-prelink.exp: Moved to ...
15976 * elf/tst-prelink.exp: Here.
15977 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15978 (tst-prelink-ENV): Removed.
15979 ($(objpfx)tst-prelink-conflict.out): Likewise.
15980 ($(objpfx)tst-prelink-cmp.out): Likewise.
15981 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15982
15983 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #14551]
15986 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15987 (__mpn_construct_long_double): If high part overflows to infinity,
15988 set errno and recompute overflowed result of the correct sign.
15989 * sysdeps/ieee754/ldbl-128ibm/Makefile
15990 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15991 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15992 $(libm).
15993 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15994
15995 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15996
15997 [BZ #15479]
15998 [BZ #19238]
15999 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16000 floating-point state after first operation on input. Restore full
16001 state rather than just rounding mode.
16002 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16003 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16004 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16005
16006 [BZ #19235]
16007 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16008 add 0.5 to integer arguments.
16009 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16010 Likewise.
16011 (.LC2): New object.
16012
16013 2015-11-11 Mike Frysinger <vapier@gentoo.org>
16014
16015 * scripts/pylintrc (reports): Set to no.
16016
16017 2015-11-10 Roland McGrath <roland@hack.frob.com>
16018
16019 * elf/dl-load.c (open_verify): Take new argument FD.
16020 Skip __open call if passed FD is not -1.
16021 (_dl_map_object, open_path): Update callers.
16022 * elf/dl-sysdep-open.h: New file.
16023 * elf/dl-load.c: Include it.
16024 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16025 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16026 * sysdeps/nacl/dl-sysdep-open.h: New file.
16027 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16028 from libc to rtld.
16029
16030 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16031
16032 [BZ #19228]
16033 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16034 and restore full floating-point state.
16035 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16036 Likewise.
16037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16038 Likewise.
16039 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16040 Likewise.
16041 * math/test-nearbyint-except-2.c: New file.
16042 * math/Makefile (tests): Add test-nearbyint-except-2.
16043
16044 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
16045
16046 [BZ #19178]
16047 * sysdeps/x86/Makefile (tests): Add tst-prelink.
16048 (tst-prelink-ENV): New.
16049 ($(objpfx)tst-prelink-conflict.out): Likewise.
16050 ($(objpfx)tst-prelink-cmp.out): Likewise.
16051 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16052 * sysdeps/x86/tst-prelink.c: New file.
16053 * sysdeps/x86/tst-prelink.exp: Likewise.
16054
16055 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16056
16057 * math/auto-libm-test-in: Add another test of pow.
16058 * math/auto-libm-test-out: Regenerated.
16059 * math/libm-test.inc (pow_test_data): Add another test.
16060
16061 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16062
16063 [BZ #19219]
16064 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16065 weak_alias to nearbyintl.
16066
16067 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16068
16069 * sysdeps/aarch64/bits/string.h: New file.
16070 (_STRING_ARCH_unaligned): Define.
16071
16072 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16073
16074 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16075 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16076 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16077 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16079
16080 2015-11-09 Ulrich Drepper <drepper@gmail.com>
16081
16082 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16083 for original name of the DSO. Add it to the name list of the DSO
16084 if it is actually given.
16085 (_dl_map_object): Keep track of whether an audit module rewrote
16086 the file name. If yes, pass the original name to
16087 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
16088 debugging is enabled, log the change of the file name.
16089 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16090 _dl_map_object_from_fd.
16091 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16092 * elf/tst-audit11.c: New file
16093 * elf/tst-auditmod11.c: New file.
16094 * elf/tst-audit11mod1.c: New file.
16095 * elf/tst-audit11mod2.c: New file.
16096 * elf/tst-audit11mod2.map: New file.
16097 * elf/tst-audit12.c: New file
16098 * elf/tst-auditmod12.c: New file.
16099 * elf/tst-audit12mod1.c: New file.
16100 * elf/tst-audit12mod2.c: New file.
16101 * elf/tst-audit12mod2.map: New file.
16102 * elf/tst-audit12mod3.c: New file.
16103
16104 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16105
16106 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16107 Don't create weak aliases,
16108 because versioned symbols are created later.
16109 * sysdeps/s390/s390-32/setjmp.S
16110 (setjmp, _setjmp): Remove weak and rename to an unique name
16111 in SHARED case due to existing versioned symbols.
16112 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16113 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16114 (getcontext): Create weak alias only in non SHARED case.
16115 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16116
16117 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16118
16119 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16120 (__ASSUME_*_SYSCALL) Define new macros.
16121 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16122 Remove socketcall syscalls.
16123 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16124 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16125 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16126 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16127 * sysdeps/unix/sysv/linux/send.c (__libc_send):
16128 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16129
16130 2015-11-09 Florian Weimer <fweimer@redhat.com>
16131
16132 [BZ #12926]
16133 Terminate process on invalid netlink response.
16134 * sysdeps/unix/sysv/linux/netlinkaccess.h
16135 (__netlink_assert_response): Declare.
16136 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16137 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16138 (sysdep_routines): Add netlink_assert_response.
16139 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16140 __netlink_assert_response.
16141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16142 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16143 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16144 __netlink_assert_response.
16145
16146 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
16147
16148 [BZ #19178]
16149 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16150 (RTYPE_CLASS_PLT): Likewise.
16151 (RTYPE_CLASS_COPY): Likewise.
16152 (RTYPE_CLASS_TLS): Likewise.
16153 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16154 to set relocation type class for DL_DEBUG_PRELINK. Keep only
16155 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16156 DL_DEBUG_PRELINK.
16157
16158 2015-11-06 Joseph Myers <joseph@codesourcery.com>
16159
16160 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16161 calls with argument -0.5.
16162 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16163
16164 * configure.ac (libc_cv_z_nodelete): Remove configure test.
16165 (libc_cv_z_nodlopen): Likewise.
16166 (libc_cv_z_initfirst): Likewise.
16167 * configure: Regenerated.
16168
16169 2015-11-06 Florian Weimer <fweimer@redhat.com>
16170
16171 Simplify abilist format to be line-based.
16172 * scripts/abilist.awk: Collect descriptors in the descs variable.
16173 (emit): Write descs variable and sort it
16174 externally, with sort.
16175 * sysdeps/**/*.abilist: Convert to new format.
16176
16177 2015-11-06 Mark Wielaard <mjw@redhat.com>
16178
16179 [BZ #11460]
16180 * io/Makefile (routines): Add fts64.
16181 (tests): Add tst-fts and tst-fts-lfs.
16182 (CFLAGS-fts64.c): New.
16183 * io/Versions (GLIBC_2.23): New.
16184 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16185 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16186 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16187 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16188 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16189 (FTSENT64): Likewise.
16190 (fts64_children): Likewise.
16191 (fts64_close): Likewise.
16192 (fts64_open): Likewise.
16193 (fts64_read): Likewise.
16194 (fts64_set): Likewise.
16195 * io/fts64.c: New file.
16196 * io/tst-fts.c: New test.
16197 * io/tst-fts-lfs.c: Likewise.
16198 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16199 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16200 fts64_set.
16201 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16202 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16203 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16204 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16205 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16206 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16207 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16208 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16209 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16210 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16212 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16213 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16215 Likewise.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16217 Likewise.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16228 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16230 * sysdeps/wordsize-64/fts.c: New file.
16231 * sysdeps/wordsize-64/fts64.c: Likewise.
16232 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16233 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16234 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16236
16237 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16238
16239 * math/libm-test.inc (NON_FINITE): New macro.
16240 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16241 * math/gen-libm-test.pl (show_exceptions): Add argument
16242 $non_finite.
16243 (parse_args): Update call to show_exceptions.
16244 * math/test-math-finite.h: New file.
16245 * math/test-math-no-finite.h: Likewise.
16246 * math/test-double-finite.c: Likewise.
16247 * math/test-float-finite.c: Likewise.
16248 * math/test-ldouble-finite.c: Likewise.
16249 * math/test-double.c: Include "test-math-no-finite.h".
16250 * math/test-float.c: Include "test-math-no-finite.h".
16251 * math/test-ldouble.c: Include "test-math-no-finite.h".
16252 * math/test-math-inline.h (TEST_FINITE): New macro.
16253 * math/test-math-vector.h (TEST_FINITE): Likewise.
16254 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16255 (libm-tests): Add test-float-finite and test-double-finite.
16256 ($(objpfx)test-float-finite.o): New dependency on
16257 $(objpfx)libm-test.stmp.
16258 ($(objpfx)test-double-finite.o): Likewise.
16259 ($(objpfx)test-ldouble-finite.o): Likewise.
16260 (libm-test-no-inline-cflags): New variable.
16261 (libm-test-finite-cflags): Likewise.
16262 (CFLAGS-test-float-finite.c): Likewise.
16263 (CFLAGS-test-double-finite.c): Likewise.
16264 (CFLAGS-test-ldouble-finite.c): Likewise.
16265 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16266 (CFLAGS-test-double.c): Likewise.
16267 (CFLAGS-test-ldouble.c): Likewise.
16268
16269 2015-11-05 Roland McGrath <roland@hack.frob.com>
16270
16271 * io/fcntl.c (__fcntl): Add ... to prototype.
16272 * misc/ioctl.c (__ioctl): Likewise.
16273 * misc/syscall.c (syscall): Likewise.
16274
16275 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16276
16277 * scripts/list-fixed-bugs.py: New file.
16278
16279 [BZ #19213]
16280 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16281 returned for argument 1.
16282 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16283 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16284 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16285 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16286 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16287 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16288
16289 [BZ #19211]
16290 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16291 __USE_XOPEN], not if [!__USE_ISOC99].
16292 (lgammaf): Likewise.
16293 (lgammal): Likewise.
16294 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16295 (gammaf): Likewise.
16296 (gammal): Likewise.
16297 * math/test-signgam-finite-c11.c: New file.
16298 * math/test-signgam-finite-c99.c: Likewise.
16299 * math/test-signgam-finite.c: Likewise.
16300 * math/Makefile (tests): Add test-signgam-finite,
16301 test-signgam-finite-c99 and test-signgam-finite-c11.
16302 (CFLAGS-test-signgam-finite.c): New variable.
16303 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16304 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16305
16306 [BZ #19212]
16307 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16308 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16309 500].
16310 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16311 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16312 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16313 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16314 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16315 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16316 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16317 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16318 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16319 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16320
16321 [BZ #19209]
16322 * math/bits/math-finite.h (ldexp): Remove declaration.
16323 (ldexpf): Likewise.
16324 (ldexpl): Likewise.
16325
16326 [BZ #19205]
16327 * math/bits/math-finite.h (acosf): Condition declaration on
16328 [__USE_ISOC99].
16329 (acosl): Likewise.
16330 (acoshf): Likewise.
16331 (acoshl): Likewise.
16332 (asinf): Likewise.
16333 (asinl): Likewise.
16334 (atan2f): Likewise.
16335 (atan2l): Likewise.
16336 (atanhf): Likewise.
16337 (atanhl): Likewise.
16338 (coshf): Likewise.
16339 (coshl): Likewise.
16340 (expf): Likewise.
16341 (expl): Likewise.
16342 (fmodf): Likewise.
16343 (fmodl): Likewise.
16344 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16345 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16346 (j0l): Likewise.
16347 (y0f): Likewise.
16348 (y0l): Likewise.
16349 (j1f): Likewise.
16350 (j1l): Likewise.
16351 (y1f): Likewise.
16352 (y1l): Likewise.
16353 (jnf): Likewise.
16354 (jnl): Likewise.
16355 (ynf): Likewise.
16356 (ynl): Likewise.
16357 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16358 (lgammal_r): Likewise.
16359 (__lgamma_r_finite): New declaration.
16360 (__lgammaf_r_finite): Likewise.
16361 (__lgammal_r_finite): Likewise.
16362 (lgamma): Use __lgamma_r_finite.
16363 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16364 __lgammaf_r_finite.
16365 (lgammal): Condition definition on [__USE_ISOC99]. Use
16366 __lgammal_r_finite.
16367 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16368 __lgamma_r_finite.
16369 (gammaf): Condition definition on [__USE_ISOC99]. Use
16370 __lgammaf_r_finite.
16371 (gammal): Condition definition on [__USE_ISOC99]. Use
16372 __lgammal_r_finite.
16373 (logf): Condition declaration on [__USE_ISOC99].
16374 (logl): Likewise.
16375 (log10f): Likewise.
16376 (log10l): Likewise.
16377 (ldexpf): Likewise.
16378 (ldexpl): Likewise.
16379 (powf): Likewise.
16380 (powl): Likewise.
16381 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16382 __USE_ISOC99].
16383 (remainderf): Condition declaration on [__USE_ISOC99].
16384 (remainderl): Likewise.
16385 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16386 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16387 (scalbl): Likewise.
16388 (sinhf): Condition declaration on [__USE_ISOC99].
16389 (sinhl): Likewise.
16390 (sqrtf): Likewise.
16391 (sqrtl): Likewise.
16392
16393 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16394
16395 * sysdeps/arm/atomic-machine.h
16396 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16397 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16398 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16399 Remove conditional code.
16400 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16401 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16402 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16403 Change conditional to [__ASSEMBLER__].
16404 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16405 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16406 [!__ASSEMBLER__].
16407 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16408 code.
16409 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16410 conditional macro definitions.
16411 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16412 (__arch_compare_and_exchange_val_16_acq): Likewise.
16413 (__arch_compare_and_exchange_val_32_acq): Likewise.
16414 (atomic_exchange_and_add): Likewise.
16415 (atomic_add): Likewise.
16416 (atomic_add_negative): Likewise.
16417 (atomic_add_zero): Likewise.
16418 (atomic_bit_set): Likewise.
16419 (atomic_bit_test_set): Likewise.
16420 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16421 code unconditional.
16422 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16423
16424 * math/test-math-errno.h: New file.
16425 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16426 empty.
16427 (TEST_ERRNO): New macro.
16428 (TEST_EXCEPTIONS): Likewise.
16429 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16430 (TEST_EXCEPTIONS): Likewise.
16431 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16432 * math/test-double.c: Include "test-math-errno.h".
16433 * math/test-float.c: Likewise.
16434 * math/test-ldouble.c: Likewise.
16435 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16436 code unconditional.
16437 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16438 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16439 unconditional.
16440 (test_errno): Only run code if TEST_ERRNO.
16441 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16442
16443 2015-11-04 Florian Weimer <fweimer@redhat.com>
16444
16445 * nptl/tst-once5.cc: Remove attribution.
16446
16447 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16448
16449 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16450 sqrt, tan, tanh, y0, y1 and yn.
16451 * math/auto-libm-test-out: Regenerated.
16452 * math/libm-test.inc (scalb_test_data): Add more tests.
16453 (scalbn_test_data): Likewise.
16454 (scalbln_test_data): Likewise.
16455 (signbit_test_data): Likewise.
16456 (sin_test_data): Likewise.
16457 (sincos_test_data): Likewise.
16458 (sinh_test_data): Likewise.
16459 (sqrt_test_data): Likewise.
16460 (tan_test_data): Likewise.
16461 (tanh_test_data): Likewise.
16462 (tgamma_test_data): Likewise.
16463 (y0_test_data): Likewise.
16464 (y1_test_data): Likewise.
16465 (yn_test_data): Likewise.
16466 (significand_test_data): Likewise.
16467 * sysdeps/i386/fpu/libm-test-ulps: Update.
16468
16469 2015-11-03 David Kastrup <dak@gnu.org>
16470
16471 [BZ #18604]
16472 * assert/assert.h (assert): Don't macro-expand failed assertion
16473 expression in error message.
16474 * malloc/malloc.c (assert): Likewise.
16475
16476 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16477
16478 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16479 test.
16480 * configure: Regenerated.
16481
16482 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16483
16484 * math/libm-test.inc (modf_test_data): Add more tests.
16485 (nearbyint_test_data): Likewise.
16486 (nextafter_test_data): Likewise.
16487 (nexttoward_test_data): Likewise.
16488 (pow_test_data): Likewise.
16489 (remainder_test_data): Likewise.
16490 (remquo_test_data): Likewise.
16491 (rint_test_data): Likewise.
16492
16493 [BZ #19201]
16494 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16495 Check for zero remainder in case of large exponents and ensure
16496 correct sign of result in that case.
16497 * math/libm-test.inc (remainder_test_data): Add more tests.
16498
16499 [BZ #6799]
16500 * math/s_nextafter.c: Include <errno.h>.
16501 (__nextafter): Set errno on overflow and underflow.
16502 * math/s_nexttowardf.c: Include <errno.h>.
16503 (__nexttowardf): Set errno on overflow and underflow.
16504 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16505 (__nextafterl): Set errno on overflow and underflow.
16506 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16507 (__nexttoward): Set errno on overflow and underflow.
16508 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16509 (__nexttowardf): Set errno on overflow and underflow.
16510 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16511 (__nextafterf): Set errno on overflow and underflow.
16512 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16513 (__nextafterl): Set errno on overflow and underflow.
16514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16515 (__nexttoward): Set errno on overflow and underflow.
16516 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16517 (__nexttowardf): Set errno on overflow and underflow.
16518 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16519 (__nextafterl): Set errno on overflow and underflow.
16520 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16521 (__nexttoward): Set errno on overflow and underflow.
16522 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16523 (__nexttowardf): Set errno on overflow and underflow.
16524 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16525 (__nexttoward): Set errno on overflow and underflow.
16526 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16527 (__nexttowardf): Set errno on overflow and underflow.
16528 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16529 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16530 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16531 (__nextafterl): Set errno on overflow and underflow.
16532 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16533 setting to be missing on overflow. Add more tests.
16534 (nexttoward_test_data): Likewise.
16535
16536 * configure.ac (libc_cv_initfini_array): Remove configure test.
16537 * configure: Regenerated.
16538
16539 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16540
16541 [BZ #19189]
16542 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16543 non-finite argument handle arguments with negative sign.
16544
16545 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16546 result from infinite argument.
16547 (j1_test_data): Likewise.
16548 (jn_test_data): Likewise.
16549 (y0_test_data): Likewise.
16550 (y1_test_data): Likewise.
16551 (yn_test_data): Likewise.
16552
16553 [BZ #16171]
16554 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16555 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16556 * math/w_remainderf.c (dremf): Define as weak alias of
16557 __remainderf.
16558 * math/w_remainderl.c (dreml): Define as weak alias of
16559 __remainderl.
16560 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16561 __remainder.
16562 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16563 __remainderf.
16564 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16565 __remainderl.
16566 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16567 weak alias of remainderl.
16568 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16569 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16570 alias of __remainder.
16571 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16572 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16573 strong alias of __remainderl.
16574 (dreml): Use long_double_symbol.
16575 * math/Makefile (libm-calls): Remove w_drem.
16576 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16577 (CFLAGS-nldbl-drem.c): Remove variable.
16578 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16579 * math/w_drem.c: Remove file.
16580 * math/w_dremf.c: Likewise.
16581 * math/w_dreml.c: Likewise.
16582 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16583 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16584 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16585
16586 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16587 * sysdeps/i386/configure: Regenerated.
16588 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16589 * sysdeps/x86_64/configure: Regenerated.
16590
16591 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16592 test.
16593 (libc_cv_visibility_attribute): Likewise.
16594 (libc_cv_protected_data): Test unconditionally.
16595 (libc_cv_broken_visibility_attribute): Remove configure test.
16596 (libc_cv_have_sdata_section): Test unconditionally.
16597 * configure: Regenerated.
16598
16599 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16600 * include/scratch_buffer.h: Include <stddef.h> instead of
16601 <libc-internal.h>.
16602 (struct scratch_buffer): Use max_align_t instead of
16603 libc_max_align_t.
16604
16605 2015-10-29 Florian Weimer <fweimer@redhat.com>
16606
16607 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16608 instead of extend_alloca. Change control flow to avoid a goto.
16609 Remove assert which is trivially always true.
16610
16611 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16612
16613 [BZ #16068]
16614 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16615 (FE_ALL_EXCEPT_X86): New macro.
16616 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16617 FE_ALL_EXCEPT. Ensure precision control is included in
16618 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16619 handle "denormal operand exception" and clear FZ and DAZ bits.
16620 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16621 (FE_ALL_EXCEPT_X86): New macro.
16622 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16623 FE_ALL_EXCEPT. Ensure precision control is included in
16624 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16625 handle "denormal operand exception" and clear FZ and DAZ bits.
16626 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16627 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16628 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16629 test-fenv-x87 and test-fenv-sse-2.
16630 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16631
16632 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16633 * math/test-double.h (BUILD_COMPLEX): New macro.
16634 * math/test-float.h (BUILD_COMPLEX): Likewise.
16635 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16636
16637 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16638 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16639 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16641 instead of DBL_DENORM_MIN in comment.
16642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16643 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16644 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16645 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16647 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16648
16649 2015-10-28 Florian Weimer <fweimer@redhat.com>
16650
16651 [BZ# 19048]
16652 * malloc/malloc.c (struct malloc_state): Update comment. Add
16653 attached_threads member.
16654 (main_arena): Initialize attached_threads.
16655 * malloc/arena.c (list_lock): Update comment.
16656 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16657 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16658 (deattach_arena): New function.
16659 (_int_new_arena): Initialize arena reference count and deattach
16660 replaced arena.
16661 (get_free_list, reused_arena): Update reference count and deattach
16662 replaced arena.
16663 (arena_thread_freeres): Update arena reference count and only put
16664 unreferenced arenas on the free list.
16665
16666 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16667
16668 [BZ #19181]
16669 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16670 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16671 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16672 * math/test-fenv-clear-main.c: New file.
16673 * math/test-fenv-clear.c: Likewise.
16674 * math/Makefile (tests): Add test-fenv-clear.
16675 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16676 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16677 test-fenv-clear-sse.
16678 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16679
16680 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16681 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16682 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16683
16684 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16685
16686 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16687 static libc.
16688
16689 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16690
16691 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16692 test.
16693 * sysdeps/i386/configure: Regenerated.
16694 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16695 test.
16696 * sysdeps/x86_64/configure: Regenerated.
16697 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16699 memset-avx2 unconditionally instead of conditionally on
16700 [$(config-cflags-avx2) = yes].
16701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16702 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16703 unconditional.
16704 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16705 * sysdeps/x86_64/multiarch/memset_chk.S
16706 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16707 to [IS_IN (libc) && SHARED].
16708
16709 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16710
16711 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16712 configure test.
16713 * sysdeps/arm/configure: Regenerated.
16714 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16715 Define variable if not already defined.
16716
16717 [BZ #17404]
16718 * sysdeps/mips/atomic-machine.h
16719 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16720 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16721 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16722
16723 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16724 unconditional.
16725 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16726 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16727 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16728 unconditional.
16729 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16730 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16731 unconditional.
16732 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16733 * stdlib/setenv.c
16734 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16735 code unconditional.
16736 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16737 Remove conditional code.
16738 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16739 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16740 unconditional.
16741 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16742 code.
16743 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16744 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16745 unconditional.
16746 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16747 code.
16748 * sysdeps/ieee754/ldbl-128/k_tanl.c
16749 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16750 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16751 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16752 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16753 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16754 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16755 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16756 unconditional.
16757 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16758 code.
16759 * sysdeps/ieee754/ldbl-96/k_tanl.c
16760 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16761 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16762
16763 * nptl/tst-initializers1-c11.c: New file.
16764 * nptl/tst-initializers1-gnu11.c: Likewise.
16765 * nptl/Makefile (tests): Add these new tests.
16766 (CFLAGS-tst-initializers1-c11.c): New variable.
16767 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16768
16769 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16770 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16771 instead of -std=gnu99.
16772 * configure.ac (systemtap): Test with -std=gnu11 instead of
16773 -std=gnu99.
16774 * configure: Regenerated.
16775 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16776 in compilation command in comment.
16777
16778 * sysdeps/nptl/configure.ac: Remove file.
16779 * sysdeps/nptl/configure: Remove generated file.
16780 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16781 * configure: Regenerated.
16782 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16783 * config.make.in (have-forced-unwind): Remove variable.
16784 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16785 unconditional.
16786 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16787 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16788 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16789 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16790 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16791 unconditional.
16792
16793 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16794
16795 [BZ #19174]
16796 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16797 .skip_lock_out_of_tbegin_retries.
16798 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16799 (__lll_lock_elision): Likewise, and respect a value of
16800 try_tbegin <= 0.
16801
16802 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16803
16804 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16805 statement.
16806
16807 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16808
16809 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16810 variable.
16811 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16812 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16813
16814 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16815 of -std=c1x -D_ISOC11_SOURCE.
16816
16817 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16818 * configure: Regenerated.
16819 * manual/install.texi (Tools for Compilation): Document
16820 requirement for GCC 4.7 or later.
16821 * INSTALL: Regenerated.
16822
16823 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16824
16825 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16826 on CNT to a conditional jump to 'puntdata'.
16827
16828 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16829
16830 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16831 (libc_cv_gcc_tls_model_attr): Likewise.
16832 * configure: Regenerated.
16833
16834 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16835 * configure: Regenerated.
16836 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16837
16838 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16839
16840 * configure.ac (old_glibc_headers): Remove configure test.
16841 * configure: Regenerated.
16842 * config.make.in (old-glibc-headers): Remove variable.
16843 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16844 (install): Remove dependency on remove-old-headers.
16845 (headers2_0): Remove variable.
16846 (remove-old-headers): Remove rule.
16847
16848 * configure.ac (libc_cv_dot_text): Remove configure test.
16849 (libc_cv_asm_set_directive): Use .text instead of
16850 ${libc_cv_dot_text} in configure test.
16851 * configure: Regenerated.
16852
16853 2015-10-26 Florian Weimer <fweimer@redhat.com>
16854
16855 [BZ #19168]
16856 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16857
16858 2015-10-26 Florian Weimer <fweimer@redhat.com>
16859
16860 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16861 not support static linking.
16862 * configure: Regenerate.
16863
16864 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16865
16866 * math/libm-test.inc (check_float_internal): Do not special-case
16867 errors up to 0.5 ulp.
16868
16869 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16870 log2.
16871 * math/auto-libm-test-out: Regenerated.
16872 * math/libm-test.inc (MAX_EXP): New macro.
16873 (ilogb_test_data): Add more tests.
16874 (isfinite_test_data): Likewise.
16875 (isgreater_test_data): Likewise.
16876 (isgreaterequal_test_data): Likewise.
16877 (isinf_test_data): Likewise.
16878 (isless_test_data): Likewise.
16879 (islessequal_test_data): Likewise.
16880 (islessgreater_test_data): Likewise.
16881 (isnan_test_data): Likewise.
16882 (isnormal_test_data): Likewise.
16883 (issignaling_test_data): Likewise.
16884 (isunordered_test_data): Likewise.
16885 (j0_test_data): Likewise.
16886 (j1_test_data): Likewise.
16887 (jn_test_data): Likewise.
16888 (lgamma_test_data): Likewise.
16889 (log_test_data): Likewise.
16890 (log10_test_data): Likewise.
16891 (log1p_test_data): Likewise.
16892 (log2_test_data): Likewise.
16893 (logb_test_data): Likewise.
16894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16895
16896 [BZ #18611]
16897 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16898 avoid excess range and precision on underflow.
16899 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16900 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16901 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16902 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16903 underflow.
16904 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16906 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16907 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16908 * math/auto-libm-test-in: Do not allow missing errno setting for
16909 tests of j1 and jn.
16910 * math/auto-libm-test-out: Regenerated.
16911
16912 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16913
16914 [BZ #15491]
16915 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16916 floating-point environment instead of clearing all exceptions.
16917 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16918 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16919 merging in "invalid" exceptions from frndint.
16920 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16921 * math/test-nearbyint-except.c: New file.
16922 * math/Makefile (tests): Add test-nearbyint-except.
16923
16924 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16925
16926 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16927
16928 * sysdeps/tile/libm-test-ulps: Regenerated.
16929
16930 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16931
16932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16933 (__NR_sync_file_range2): Assume it is always defined.
16934 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16935 (__NR_sync_file_range): Assume it is always defined.
16936
16937 2015-10-22 Andreas Schwab <schwab@suse.de>
16938
16939 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16940 INTERNAL_SYSCALL_ERRNO.
16941 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16942 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16943 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16944 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16945 Likewise.
16946 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16947
16948 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16949
16950 * io/tst-fcntl.c (fd): New static variable.
16951 (do_prepare): Open temporary file here....
16952 (do_test): ...not here.
16953
16954 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16955
16956 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16957
16958 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16959 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16960 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16961 Moved before "#ifdef __ASSEMBLER__".
16962
16963 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16964
16965 [BZ #19156]
16966 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16967 arguments very close to 0.
16968
16969 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16970
16971 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16972 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16973
16974 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16975
16976 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16977 New. Defined for GCC 5 and above when not compiling for
16978 profiling.
16979 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16980
16981 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16982 Renamed to ...
16983 (CFLAGS-epoll_pwait.o): This.
16984 (CFLAGS-mmap.c): Renamed to ...
16985 (CFLAGS-mmap.o): This.
16986 (CFLAGS-mmap64.c): Renamed to ...
16987 (CFLAGS-mmap64.o): This.
16988 (CFLAGS-epoll_pwait.os): New.
16989 (CFLAGS-mmap.os): Likewise.
16990 (CFLAGS-mmap64.os): Likewise.
16991 (CFLAGS-semtimedop.os): Likewise.
16992 (CFLAGS-semtimedop.c): Renamed to ...
16993 (CFLAGS-semtimedop.o): This.
16994
16995 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16996
16997 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16998 warning message.
16999
17000 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17001
17002 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17003 * Makefile ($(objpfx)c++-types-check.out): Filter out
17004 $(+gccwarn-c) instead of -Wstrict-prototypes.
17005
17006 * io/fts.c (fts_open): Convert to prototype-style function
17007 definition.
17008 * malloc/mcheck.c (mcheck): Likewise.
17009 (mcheck_pedantic): Likewise.
17010 * posix/regexec.c (re_search_2_stub): Likewise. Use
17011 internal_function.
17012 (re_search_internal): Likewise.
17013 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17014 prototype-style function definition.
17015 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17016 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17017 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17018 (xdr_utmpptr): Likewise.
17019 (xdr_utmparr): Likewise.
17020 (xdr_utmpidle): Likewise.
17021 (xdr_utmpidleptr): Likewise.
17022 (xdr_utmpidlearr): Likewise.
17023
17024 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17025 log, log10 and log2.
17026 * math/auto-libm-test-out: Regenerated.
17027 * math/libm-test.inc (fmod_test_data): Add more tests.
17028 (fpclassify_test_data): Likewise.
17029 (frexp_test_data): Likewise.
17030 (hypot_test_data): Likewise.
17031 (ilogb_test_data): Likewise.
17032
17033 2015-10-20 Joseph Myers <joseph@codesourcery.com>
17034
17035 * debug/fortify_fail.c (__fortify_fail): Convert to
17036 prototype-style function definition. Use internal_function.
17037 * libio/genops.c (save_for_backup): Convert to prototype-style
17038 function definition.
17039 * libio/wgenops.c (save_for_wbackup): Likewise.
17040 * login/grantpt.c (grantpt): Likewise.
17041 * login/ptsname.c (ptsname): Likewise.
17042 (__ptsname_r): Likewise.
17043 * login/unlockpt.c (unlockpt): Likewise.
17044 * mach/msgserver.c (__mach_msg_server): Likewise.
17045 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17046 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17047 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17048 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17049 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17050 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17051 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17052 Likewise.
17053 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
17054 internal_function.
17055 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17056 prototype-style function definition.
17057 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17058 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17059 (__pthread_create_2_0): Likewise.
17060 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17061 * nptl/register-atfork.c (__register_atfork): Likewise.
17062 * posix/glob.c (glob): Likewise.
17063 * posix/regcomp.c (re_comp): Likewise.
17064 * posix/regexec.c (re_exec): Likewise.
17065 * stdlib/add_n.c [__STDC__]: Make code unconditional.
17066 [!__STDC__]: Remove conditional code.
17067 * stdlib/cmp.c [__STDC__]: Make code unconditional.
17068 [!__STDC__]: Remove conditional code.
17069 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17070 [!__STDC__]: Remove conditional code.
17071 * stdlib/divrem.c [__STDC__]: Make code unconditional.
17072 [!__STDC__]: Remove conditional code.
17073 * stdlib/lshift.c [__STDC__]: Make code unconditional.
17074 [!__STDC__]: Remove conditional code.
17075 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17076 [!__STDC__]: Remove conditional code.
17077 * stdlib/mul.c [__STDC__]: Make code unconditional.
17078 [!__STDC__]: Remove conditional code.
17079 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17080 [!__STDC__]: Remove conditional code.
17081 * stdlib/rshift.c [__STDC__]: Make code unconditional.
17082 [!__STDC__]: Remove conditional code.
17083 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17084 function definition.
17085 (STRTOF): Likewise.
17086 * stdlib/strtod_l.c (__STRTOF): Likewise.
17087 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17088 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17089 (__strtol_l): Likewise.
17090 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17091 [!__STDC__]: Remove conditional code.
17092 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17093 definition.
17094 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17095 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17096 type.
17097 (__strcasecmp): Convert to prototype-style function definition.
17098 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17099 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17100 type.
17101 (__strncasecmp): Convert to prototype-style function definition.
17102 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17103 * sunrpc/xdr.c (xdr_union): Likewise.
17104 * sunrpc/xdr_array.c (xdr_array): Likewise.
17105 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17106 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17107 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17108 Likewise.
17109 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17110 Likewise.
17111 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17112 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17113 Likewise.
17114 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17115 (LOCALE_PARAM_PROTO): Likewise.
17116 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17117 argument type.
17118 (ut_argument_spec): Remove macro.
17119 (ut_argument_spec_iso): Rename to ut_argument_spec.
17120 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
17121 prototype-style function definition.
17122 (memcpy_uppcase): Likewise.
17123 (__strftime_internal): Likewise.
17124 (my_strftime): Likewise.
17125 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17126 (LOCALE_PARAM_DECL): Likewise.
17127 [_LIBC] (LOCALE_PARAM): Include argument type.
17128 (__strptime_internal): Convert to prototype-style function
17129 definition.
17130 (strptime): Likewise.
17131 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17132 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17133 type.
17134 (__wcscasecmp): Convert to prototype-style function definition.
17135 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17136 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17137 type.
17138 (__wcsncasecmp): Convert to prototype-style function definition.
17139
17140 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17141 function definition.
17142 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17143 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17144 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17145 * elf/dl-minimal.c (_itoa): Likewise.
17146 * hurd/hurdmalloc.c (malloc): Likewise.
17147 (free): Likewise.
17148 (realloc): Likewise.
17149 * inet/inet6_option.c (inet6_option_space): Likewise.
17150 (inet6_option_init): Likewise.
17151 (inet6_option_append): Likewise.
17152 (inet6_option_alloc): Likewise.
17153 (inet6_option_next): Likewise.
17154 (inet6_option_find): Likewise.
17155 * io/ftw.c (FTW_NAME): Likewise.
17156 (NFTW_NAME): Likewise.
17157 (NFTW_NEW_NAME): Likewise.
17158 (NFTW_OLD_NAME): Likewise.
17159 * libio/iofwide.c (_IO_fwide): Likewise.
17160 * libio/strops.c (_IO_str_init_static_internal): Likewise.
17161 (_IO_str_init_static): Likewise.
17162 (_IO_str_init_readonly): Likewise.
17163 (_IO_str_overflow): Likewise.
17164 (_IO_str_underflow): Likewise.
17165 (_IO_str_count): Likewise.
17166 (_IO_str_seekoff): Likewise.
17167 (_IO_str_pbackfail): Likewise.
17168 (_IO_str_finish): Likewise.
17169 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17170 (_IO_wstr_overflow): Likewise.
17171 (_IO_wstr_underflow): Likewise.
17172 (_IO_wstr_count): Likewise.
17173 (_IO_wstr_seekoff): Likewise.
17174 (_IO_wstr_pbackfail): Likewise.
17175 (_IO_wstr_finish): Likewise.
17176 * locale/programs/localedef.c (normalize_codeset): Likewise.
17177 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17178 (add_locales_to_archive): Likewise.
17179 (delete_locales_from_archive): Likewise.
17180 * malloc/malloc.c (__libc_mallinfo): Likewise.
17181 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17182 * misc/tsearch.c (__tfind): Likewise.
17183 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17184 * nptl/pthread_attr_getdetachstate.c
17185 (__pthread_attr_getdetachstate): Likewise.
17186 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17187 Likewise.
17188 * nptl/pthread_attr_getinheritsched.c
17189 (__pthread_attr_getinheritsched): Likewise.
17190 * nptl/pthread_attr_getschedparam.c
17191 (__pthread_attr_getschedparam): Likewise.
17192 * nptl/pthread_attr_getschedpolicy.c
17193 (__pthread_attr_getschedpolicy): Likewise.
17194 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17195 Likewise.
17196 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17197 Likewise.
17198 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17199 Likewise.
17200 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17201 Likewise.
17202 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17203 (__pthread_attr_init_2_0): Likewise.
17204 * nptl/pthread_attr_setdetachstate.c
17205 (__pthread_attr_setdetachstate): Likewise.
17206 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17207 Likewise.
17208 * nptl/pthread_attr_setinheritsched.c
17209 (__pthread_attr_setinheritsched): Likewise.
17210 * nptl/pthread_attr_setschedparam.c
17211 (__pthread_attr_setschedparam): Likewise.
17212 * nptl/pthread_attr_setschedpolicy.c
17213 (__pthread_attr_setschedpolicy): Likewise.
17214 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17215 Likewise.
17216 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17217 Likewise.
17218 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17219 Likewise.
17220 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17221 Likewise.
17222 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17223 Likewise.
17224 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17225 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17226 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17227 use internal_function.
17228 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17229 prototype-style function definition.
17230 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17231 (__pthread_mutex_cond_lock_adjust): Likewise. Use
17232 internal_function.
17233 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17234 Convert to prototype-style function definition.
17235 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17236 Likewise.
17237 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17238 Likewise.
17239 (__pthread_mutex_unlock): Likewise.
17240 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17241 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17242 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17243 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17244 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17245 * nss/makedb.c (process_input): Likewise.
17246 * posix/fnmatch.c (__strchrnul): Likewise.
17247 (__wcschrnul): Likewise.
17248 (fnmatch): Likewise.
17249 * posix/fnmatch_loop.c (FCT): Likewise.
17250 * posix/glob.c (globfree): Likewise.
17251 (__glob_pattern_type): Likewise.
17252 (__glob_pattern_p): Likewise.
17253 * posix/regcomp.c (re_compile_pattern): Likewise.
17254 (re_set_syntax): Likewise.
17255 (re_compile_fastmap): Likewise.
17256 (regcomp): Likewise.
17257 (regerror): Likewise.
17258 (regfree): Likewise.
17259 * posix/regexec.c (regexec): Likewise.
17260 (re_match): Likewise.
17261 (re_search): Likewise.
17262 (re_match_2): Likewise.
17263 (re_search_2): Likewise.
17264 (re_search_stub): Likewise. Use internal_function
17265 (re_copy_regs): Likewise.
17266 (re_set_registers): Convert to prototype-style function
17267 definition.
17268 (prune_impossible_nodes): Likewise. Use internal_function.
17269 * resolv/inet_net_pton.c (inet_net_pton): Convert to
17270 prototype-style function definition.
17271 (inet_net_pton_ipv4): Likewise.
17272 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17273 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17274 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17275 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17276 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17277 Make variadic.
17278 * time/strptime_l.c (localtime_r): Convert to prototype-style
17279 function definition.
17280 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17281 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17282 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17283 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17284
17285 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17286 definition.
17287 (_ufc_doit_r): Likewise.
17288 * crypt/crypt_util.c (_ufc_copymem): Likewise.
17289 (_ufc_output_conversion_r): Likewise.
17290 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17291 * inet/rcmd.c (rcmd_af): Likewise.
17292 (rcmd): Likewise.
17293 (ruserok_af): Likewise.
17294 (ruserok): Likewise.
17295 (ruserok2_sa): Likewise.
17296 (ruserok_sa): Likewise.
17297 (iruserok_af): Likewise.
17298 (iruserok): Likewise.
17299 (__ivaliduser): Likewise.
17300 (__validuser2_sa): Likewise.
17301 * inet/rexec.c (rexec_af): Likewise.
17302 (rexec): Likewise.
17303 * inet/ruserpass.c (ruserpass): Likewise.
17304 * locale/programs/xmalloc.c (xcalloc): Likewise.
17305 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17306 * math/w_drem.c (__drem): Likewise.
17307 * math/w_dremf.c (__dremf): Likewise.
17308 * math/w_dreml.c (__dreml): Likewise.
17309 * misc/daemon.c (daemon): Likewise.
17310 * resolv/res_debug.c (p_fqnname): Likewise.
17311 * stdlib/div.c (div): Likewise.
17312 * string/memcmp.c (memcmp_bytes): Likewise.
17313 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17314 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17315
17316 * crypt/cert.c (main): Convert to prototype-style function
17317 definition.
17318 * io/pipe.c (__pipe): Likewise.
17319 * io/pipe2.c (__pipe2): Likewise.
17320 * misc/futimesat.c (futimesat): Likewise.
17321 * misc/utimes.c (__utimes): Likewise.
17322 * posix/execve.c (__execve): Likewise.
17323 * posix/execvp.c (execvp): Likewise.
17324 * posix/execvpe.c (__execvpe): Likewise.
17325 * posix/fexecve.c (fexecve): Likewise.
17326 * socket/socketpair.c (socketpair): Likewise.
17327 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17328 * stdlib/erand48.c (erand48): Likewise.
17329 * stdlib/erand48_r.c (__erand48_r): Likewise.
17330 * stdlib/jrand48.c (jrand48): Likewise.
17331 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17332 * stdlib/lcong48.c (lcong48): Likewise.
17333 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17334 * stdlib/nrand48.c (nrand48): Likewise.
17335 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17336 * stdlib/seed48.c (seed48): Likewise.
17337 * stdlib/seed48_r.c (__seed48_r): Likewise.
17338 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17339 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17340 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17341
17342 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17343
17344 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17345 * configure: Regenerated.
17346 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17347 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17348 unconditional.
17349 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17350 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17351 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17352 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17353 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17354 unconditional.
17355 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17356
17357 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17358 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17359
17360 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17361 function definition.
17362 * crypt/crypt_util.c (__encrypt_r): Likewise.
17363 * libio/genops.c (_IO_no_init): Likewise.
17364 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17365 (_IO_old_fopencookie): Likewise.
17366 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17367 * libio/iogetline.c (_IO_getline): Likewise.
17368 (_IO_getline_info): Likewise.
17369 * libio/iogetwline.c (_IO_getwline): Likewise.
17370 (_IO_getwline_info): Likewise.
17371 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17372 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17373 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17374 (find_entry): Likewise.
17375 (iterate_table): Likewise.
17376 (lookup): Likewise.
17377 * login/forkpty.c (forkpty): Likewise.
17378 * misc/hsearch_r.c (__hsearch_r): Likewise.
17379 * misc/select.c (__select): Likewise.
17380 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17381 Likewise.
17382 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17383 Likewise.
17384 * nptl/old_pthread_cond_timedwait.c
17385 (__pthread_cond_timedwait_2_0): Likewise.
17386 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17387 * nptl/pthread_barrierattr_getpshared.c
17388 (pthread_barrierattr_getpshared): Likewise.
17389 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17390 Likewise.
17391 * nptl/pthread_mutex_setprioceiling.c
17392 (pthread_mutex_setprioceiling): Likewise.
17393 * nptl/pthread_mutexattr_getprioceiling.c
17394 (pthread_mutexattr_getprioceiling): Likewise.
17395 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17396 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17397 Likewise.
17398 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17399 Likewise.
17400 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17401 Likewise.
17402 * socket/recvfrom.c (__recvfrom): Likewise.
17403 * socket/sendto.c (__sendto): Likewise.
17404 * socket/setsockopt.c (__setsockopt): Likewise.
17405 * stdio-common/_itoa.c (_itoa): Likewise.
17406 * stdio-common/_itowa.c (_itowa): Likewise.
17407 * stdio-common/reg-printf.c (__register_printf_specifier):
17408 Likewise.
17409 (__register_printf_function): Likewise.
17410 * stdio-common/tempname.c (__path_search): Likewise.
17411 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17412 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17413 * stdlib/random_r.c (__initstate_r): Likewise.
17414 * stdlib/setenv.c (__add_to_environ): Likewise.
17415 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17416 * streams/getpmsg.c (getpmsg): Likewise.
17417 * streams/putmsg.c (putmsg): Likewise.
17418 * streams/putpmsg.c (putpmsg): Likewise.
17419 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17420 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17421 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17422 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17423 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17424 * sunrpc/svc_udp.c (cache_get): Likewise.
17425 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17426 * sysdeps/mach/hurd/getcwd.c
17427 (__canonicalize_directory_name_internal): Likewise.
17428 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17429 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17430 * sysdeps/mach/hurd/select.c (__select): Likewise.
17431 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17432 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17433 * sysdeps/sparc/nptl/pthread_barrier_init.c
17434 (__pthread_barrier_init): Likewise.
17435 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17436 (__pthread_cond_timedwait): Likewise.
17437 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17438 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17439 Likewise.
17440 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17441 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17442 Likewise.
17443 * sysvipc/semtimedop.c (semtimedop): Likewise.
17444 * time/setitimer.c (__setitimer): Likewise.
17445 * time/strftime_l.c (emacs_strftime): Likewise.
17446
17447 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17448
17449 * config.make.in (have-ssp): Delete.
17450 (stack-protector): New variable.
17451 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17452 cache test for -fstack-protector-strong. Export stack_protector to
17453 the best ssp flag.
17454 * configure: Regenerated.
17455 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17456 * nscd/Makefile (CFLAGS-nscd): Likewise.
17457 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17458
17459 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17460
17461 [BZ #19122]
17462 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17463 attribute_hidden.
17464
17465 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17466
17467 [BZ #18743]
17468 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17469 code to...
17470 (ELIDE_LOCK): ...here.
17471 (__get_new_count): New function with part of the code from
17472 __elide_lock that updates the value of adapt_count after a
17473 transaction abort.
17474 (__elided_trylock): Moved this code to...
17475 (ELIDE_TRYLOCK): ...here.
17476
17477 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17478
17479 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17480 * configure: Regenerate.
17481 * INSTALL: Regenerate.
17482 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17483 and tweak grammar.
17484
17485 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17486
17487 * login/programs/pt_chown.c: Include signal.h
17488 (main): Clear any signal mask from the parent process.
17489
17490 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17491
17492 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17493 * configure: Regenerated.
17494 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17495 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17496 $(gnu89-inline-CFLAGS).
17497
17498 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17499 test.
17500 (libc_cv_asm_weakext_directive): Likewise.
17501 * configure: Regenerated.
17502 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17503 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17504 * include/libc-symbols.h
17505 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17506 #error.
17507 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17508 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17509
17510 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17511 prototype-style function definition.
17512 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17513 * sysdeps/i386/ffs.c (__ffs): Likewise.
17514 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17515 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17516 Likewise.
17517 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17518 Likewise.
17519 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17520 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17521 Likewise.
17522 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17523 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17524 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17525 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17526 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17527 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17528 * sysdeps/mach/hurd/access.c (__access): Likewise.
17529 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17530 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17531 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17532 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17533 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17534 (cthread_getspecific): Likewise.
17535 (cthread_setspecific): Likewise.
17536 (__libc_getspecific): Likewise.
17537 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17538 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17539 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17540 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17541 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17542 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17543 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17544 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17545 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17546 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17547 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17548 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17549 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17550 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17551 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17552 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17553 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17554 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17555 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17556 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17557 * sysdeps/mach/hurd/link.c (__link): Likewise.
17558 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17559 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17560 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17561 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17562 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17563 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17564 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17565 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17566 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17567 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17568 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17569 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17570 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17571 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17572 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17573 * sysdeps/mach/hurd/send.c (__send): Likewise.
17574 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17575 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17576 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17577 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17578 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17579 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17580 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17581 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17582 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17583 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17584 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17585 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17586 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17587 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17588 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17589 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17590 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17591 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17592 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17593 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17594 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17595 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17596 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17597 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17598 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17599 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17600 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17601 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17602 * sysdeps/posix/alarm.c (alarm): Likewise.
17603 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17604 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17605 * sysdeps/posix/dup.c (__dup): Likewise.
17606 * sysdeps/posix/dup2.c (__dup2): Likewise.
17607 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17608 (main): Likewise.
17609 * sysdeps/posix/flock.c (__flock): Likewise.
17610 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17611 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17612 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17613 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17614 * sysdeps/posix/isatty.c (__isatty): Likewise.
17615 * sysdeps/posix/killpg.c (killpg): Likewise.
17616 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17617 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17618 * sysdeps/posix/raise.c (raise): Likewise.
17619 * sysdeps/posix/remove.c (remove): Likewise.
17620 * sysdeps/posix/rename.c (rename): Likewise.
17621 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17622 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17623 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17624 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17625 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17626 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17627 * sysdeps/posix/sigset.c (sigset): Likewise.
17628 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17629 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17630 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17631 * sysdeps/posix/time.c (time): Likewise.
17632 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17633 (ttyname): Likewise.
17634 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17635 * sysdeps/posix/utime.c (utime): Likewise.
17636 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17637 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17638 Likewise.
17639 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17640 (pthread_spin_trylock): Likewise.
17641 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17642 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17643 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17644 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17645 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17646 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17647 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17648 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17649 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17650 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17651 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17652 * sysdeps/s390/ffs.c (__ffs): Likewise.
17653 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17654 Likewise.
17655 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17656 Likewise.
17657 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17658 Likewise.
17659 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17660 (pthread_barrier_destroy): Likewise.
17661 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17662 (__pthread_barrier_wait): Likewise.
17663 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17664 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17665 (__pthread_barrier_wait): Likewise.
17666 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17667 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17668 (memcmp_not_common_alignment): Likewise.
17669 (MEMCMP): Likewise.
17670 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17671 (_wordcopy_fwd_dest_aligned): Likewise.
17672 (_wordcopy_bwd_aligned): Likewise.
17673 (_wordcopy_bwd_dest_aligned): Likewise.
17674 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17675 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17676 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17677 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17678 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17679 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17680 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17681 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17682 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17683 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17684 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17685 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17686 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17687 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17688 * sysdeps/unix/stime.c (stime): Likewise.
17689 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17690 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17691 Likewise. Use internal_function.
17692 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17693 Convert to prototype-style function definition.
17694 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17695 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17697 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17698 Likewise. Use internal_function.
17699 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17700 prototype-style function definition
17701 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17702 Likewise.
17703 (__getlogin_r): Likewise.
17704 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17705 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17706 (__pthread_cond_broadcast): Likewise.
17707 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17708 (__pthread_cond_destroy): Likewise.
17709 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17710 (__pthread_cond_init): Likewise.
17711 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17712 (__pthread_cond_signal): Likewise.
17713 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17714 (__pthread_cond_wait): Likewise.
17715 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17716 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17717 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17718 Likewise.
17719 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17720 Likewise.
17721 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17722 Likewise.
17723 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17724 Likewise.
17725 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17727 (__ftruncate64): Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17729 (truncate64): Likewise.
17730 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17731 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17732 (pthread_getcpuclockid): Likewise.
17733 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17734 Likewise.
17735 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17736 Likewise.
17737 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17738 Likewise.
17739 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17740 Likewise.
17741 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17742 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17743 (__libc_sigaction): Likewise.
17744 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17745 Likewise.
17746 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17747 (__sigprocmask): Likewise.
17748 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17749 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17750 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17751 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17752 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17753 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17754 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17755 Likewise.
17756 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17757 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17758 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17759 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17761 Likewise.
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17763 (__sigprocmask): Likewise.
17764 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17765 (cfgetispeed): Likewise.
17766 (cfsetospeed): Likewise.
17767 (cfsetispeed): Likewise.
17768 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17769 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17770 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17771 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17772 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17773 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17774 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17775 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17776 Likewise.
17777 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17778 Likewise.
17779 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17780 Likewise.
17781 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17782 Likewise.
17783 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17784
17785 2015-10-17 Florian Weimer <fweimer@redhat.com>
17786
17787 sunrpc: Rewrite with explicit TLS access using __thread.
17788 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17789 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17790 directly.
17791 (__rpc_thread_variables): Access thread_rpc_vars directly.
17792 Eliminate redundant assignment of the tvp variable.
17793
17794 2015-10-17 Florian Weimer <fweimer@redhat.com>
17795
17796 malloc: Rewrite with explicit TLS access using __thread.
17797 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17798 (tsd_setspecific, tsd_getspecific): Remove.
17799 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17800 (tsd_setspecific, tsd_getspecific): Likewise.
17801 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17802 (tsd_setspecific, tsd_getspecific): Likewise.
17803 * malloc/arena.c (thread_arena): New TLS variable.
17804 (arena_key): Remove variable.
17805 (arena_get): Use thread_arena.
17806 (arena_lookup): Remove macro.
17807 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17808 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17809 (_int_new_arena, get_free_list, reused_arena)
17810 (arena_thread_freeres): Use thread_arena.
17811 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17812 tsd_getspecific, tsd_setspecific from safety annotations.
17813 (Allocating Cleared Space): Remove arena_lookup from safety
17814 annotations.
17815
17816 2015-10-17 Florian Weimer <fweimer@redhat.com>
17817
17818 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17819 struct scratch_buffer instead of extend_alloca.
17820
17821 2015-10-17 Florian Weimer <fweimer@redhat.com>
17822
17823 * sysdeps/unix/sysv/linux/kernel-features.h
17824 (__ASSUME_SOCK_CLOEXEC): Remove.
17825 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17826 (__have_paccept): Remove unused macro.
17827 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17828 * misc/syslog.c (openlog_internal): Remove fallback code for
17829 !__ASSUME_SOCK_CLOEXEC.
17830 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17831 missing SOCK_CLOEXEC.
17832 * nscd/connections.c (have_sock_cloexec): Remove definition.
17833 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17834 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17835 !__ASSUME_SOCK_CLOEXEC.
17836 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17837 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17838 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17839 definition.
17840 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17841 code for !__ASSUME_SOCK_CLOEXEC.
17842
17843 2015-10-17 Florian Weimer <fweimer@redhat.com>
17844
17845 [BZ #18982]
17846 * manual/stdio.texi (Variable Arguments Output): Add portability
17847 note, explaining that vfprintf clobbers the va_list pointer.
17848
17849 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17850
17851 * math/libm-test.inc (fabs_test_data): Add more tests.
17852 (fdim_test_data): Likewise.
17853 (fma_test_data): Likewise.
17854 (fmax_test_data): Likewise.
17855 (fmin_test_data): Likewise.
17856 (fmod_test_data): Likewise.
17857
17858 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17859
17860 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17861 data.
17862
17863 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17864
17865 * math/libm-test.inc (ceil_test_data): Add more tests and more
17866 expectations for "inexact".
17867 (floor_test_data): Add more tests.
17868 (round_test_data): Likewise.
17869 (trunc_test_data): Likewise.
17870
17871 * crypt/cert.c (good_bye): Convert to prototype-style function
17872 definition.
17873 (get8): Likewise.
17874 (put8): Likewise.
17875 * crypt/crypt-entry.c (crypt): Likewise.
17876 (__fcrypt): Likewise.
17877 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17878 (_ufc_set_bits): Likewise.
17879 (_ufc_clearmem): Likewise.
17880 (__init_des_r): Likewise.
17881 (shuffle_sb): Likewise.
17882 (shuffle_sb): Likewise.
17883 (_ufc_setup_salt_r): Likewise.
17884 (_ufc_mk_keytab_r): Likewise.
17885 (_ufc_dofinalperm_r): Likewise.
17886 (encrypt): Likewise.
17887 (__setkey_r): Likewise.
17888 (setkey): Likewise.
17889 * crypt/md5.c (md5_init_ctx): Likewise.
17890 (md5_read_ctx): Likewise.
17891 (md5_finish_ctx): Likewise.
17892 (md5_stream): Likewise.
17893 (md5_buffer): Likewise.
17894 (md5_process_bytes): Likewise.
17895 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17896 (__sha256_finish_ctx): Likewise.
17897 (__sha256_process_bytes): Likewise.
17898 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17899 (__sha512_finish_ctx): Likewise.
17900 (__sha512_process_bytes): Likewise.
17901 * ctype/isctype.c (__isctype): Likewise.
17902 * debug/backtrace.c (__backtrace): Likewise.
17903 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17904 * debug/fgets_chk.c (__fgets_chk): Likewise.
17905 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17906 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17907 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17908 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17909 * debug/memset_chk.c (__memset_chk): Likewise.
17910 * debug/strcat_chk.c (__strcat_chk): Likewise.
17911 * debug/strncat_chk.c (__strncat_chk): Likewise.
17912 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17913 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17914 * dirent/dirfd.c (dirfd): Likewise.
17915 * dirent/getdents.c (__getdirentries): Likewise.
17916 * dirent/getdents64.c (getdirentries64): Likewise.
17917 * dirent/rewinddir.c (__rewinddir): Likewise.
17918 * dirent/seekdir.c (seekdir): Likewise.
17919 * dirent/telldir.c (telldir): Likewise.
17920 * elf/sln.c (makesymlinks): Likewise.
17921 (makesymlink): Likewise.
17922 * gmon/gmon.c (__moncontrol): Likewise.
17923 (__monstartup): Likewise.
17924 (write_hist): Likewise.
17925 (write_call_graph): Likewise.
17926 (write_bb_counts): Likewise.
17927 * grp/setgroups.c (setgroups): Likewise.
17928 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17929 * inet/inet_net.c (inet_network): Likewise.
17930 * inet/inet_netof.c (inet_netof): Likewise.
17931 * inet/rcmd.c (rresvport_af): Likewise.
17932 (rresvport): Likewise.
17933 * io/access.c (__access): Likewise.
17934 * io/chdir.c (__chdir): Likewise.
17935 * io/chmod.c (__chmod): Likewise.
17936 * io/chown.c (__chown): Likewise.
17937 * io/close.c (__close): Likewise.
17938 * io/creat.c (creat): Likewise.
17939 * io/creat64.c (creat64): Likewise.
17940 * io/dup.c (__dup): Likewise.
17941 * io/dup2.c (__dup2): Likewise.
17942 * io/dup3.c (__dup3): Likewise.
17943 * io/euidaccess.c (__euidaccess): Likewise.
17944 * io/faccessat.c (faccessat): Likewise.
17945 * io/fchmod.c (__fchmod): Likewise.
17946 * io/fchmodat.c (fchmodat): Likewise.
17947 * io/fchown.c (__fchown): Likewise.
17948 * io/fchownat.c (fchownat): Likewise.
17949 * io/fcntl.c (__fcntl): Likewise.
17950 * io/flock.c (__flock): Likewise.
17951 * io/fts.c (fts_load): Likewise.
17952 (fts_close): Likewise.
17953 (fts_read): Likewise.
17954 (fts_set): Likewise.
17955 (fts_children): Likewise.
17956 (fts_build): Likewise.
17957 (fts_stat): Likewise.
17958 (fts_sort): Likewise.
17959 (fts_alloc): Likewise.
17960 (fts_lfree): Likewise.
17961 (fts_palloc): Likewise.
17962 (fts_padjust): Likewise.
17963 (fts_maxarglen): Likewise.
17964 (fts_safe_changedir): Likewise.
17965 * io/getwd.c (getwd): Likewise.
17966 * io/isatty.c (__isatty): Likewise.
17967 * io/lchown.c (__lchown): Likewise.
17968 * io/link.c (__link): Likewise.
17969 * io/linkat.c (linkat): Likewise.
17970 * io/lseek.c (__libc_lseek): Likewise.
17971 * io/mkdir.c (__mkdir): Likewise.
17972 * io/mkdirat.c (mkdirat): Likewise.
17973 * io/mkfifo.c (mkfifo): Likewise.
17974 * io/mkfifoat.c (mkfifoat): Likewise.
17975 * io/open.c (__libc_open): Likewise.
17976 * io/open64.c (__libc_open64): Likewise.
17977 * io/readlink.c (__readlink): Likewise.
17978 * io/readlinkat.c (readlinkat): Likewise.
17979 * io/rmdir.c (__rmdir): Likewise.
17980 * io/symlink.c (__symlink): Likewise.
17981 * io/symlinkat.c (symlinkat): Likewise.
17982 * io/ttyname.c (ttyname): Likewise.
17983 * io/ttyname_r.c (__ttyname_r): Likewise.
17984 * io/umask.c (__umask): Likewise.
17985 * io/unlink.c (__unlink): Likewise.
17986 * io/unlinkat.c (unlinkat): Likewise.
17987 * io/utime.c (utime): Likewise.
17988 * libio/clearerr.c (clearerr): Likewise.
17989 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17990 * libio/feof.c (_IO_feof): Likewise.
17991 * libio/feof_u.c (feof_unlocked): Likewise.
17992 * libio/ferror.c (_IO_ferror): Likewise.
17993 * libio/ferror_u.c (ferror_unlocked): Likewise.
17994 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17995 * libio/fileno.c (__fileno): Likewise.
17996 * libio/fputc.c (fputc): Likewise.
17997 * libio/fputc_u.c (fputc_unlocked): Likewise.
17998 * libio/fputwc.c (fputwc): Likewise.
17999 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18000 * libio/freopen.c (freopen): Likewise.
18001 * libio/freopen64.c (freopen64): Likewise.
18002 * libio/fseek.c (fseek): Likewise.
18003 * libio/fseeko.c (fseeko): Likewise.
18004 * libio/fseeko64.c (fseeko64): Likewise.
18005 * libio/ftello.c (__ftello): Likewise.
18006 * libio/ftello64.c (ftello64): Likewise.
18007 * libio/fwide.c (fwide): Likewise.
18008 * libio/genops.c (_IO_un_link): Likewise.
18009 (_IO_link_in): Likewise.
18010 (_IO_least_marker): Likewise.
18011 (_IO_switch_to_main_get_area): Likewise.
18012 (_IO_switch_to_backup_area): Likewise.
18013 (_IO_switch_to_get_mode): Likewise.
18014 (_IO_free_backup_area): Likewise.
18015 (_IO_switch_to_put_mode): Likewise.
18016 (__overflow): Likewise.
18017 (__underflow): Likewise.
18018 (__uflow): Likewise.
18019 (_IO_setb): Likewise.
18020 (_IO_doallocbuf): Likewise.
18021 (_IO_default_underflow): Likewise.
18022 (_IO_default_uflow): Likewise.
18023 (_IO_default_xsputn): Likewise.
18024 (_IO_sgetn): Likewise.
18025 (_IO_default_xsgetn): Likewise.
18026 (_IO_sync): Likewise.
18027 (_IO_default_setbuf): Likewise.
18028 (_IO_default_seekpos): Likewise.
18029 (_IO_default_doallocate): Likewise.
18030 (_IO_init): Likewise.
18031 (_IO_old_init): Likewise.
18032 (_IO_default_sync): Likewise.
18033 (_IO_default_finish): Likewise.
18034 (_IO_default_seekoff): Likewise.
18035 (_IO_sputbackc): Likewise.
18036 (_IO_sungetc): Likewise.
18037 (_IO_set_column): Likewise.
18038 (_IO_set_column): Likewise.
18039 (_IO_adjust_column): Likewise.
18040 (_IO_get_column): Likewise.
18041 (_IO_init_marker): Likewise.
18042 (_IO_remove_marker): Likewise.
18043 (_IO_marker_difference): Likewise.
18044 (_IO_marker_delta): Likewise.
18045 (_IO_seekmark): Likewise.
18046 (_IO_unsave_markers): Likewise.
18047 (_IO_nobackup_pbackfail): Likewise.
18048 (_IO_default_pbackfail): Likewise.
18049 (_IO_default_seek): Likewise.
18050 (_IO_default_stat): Likewise.
18051 (_IO_default_read): Likewise.
18052 (_IO_default_write): Likewise.
18053 (_IO_default_showmanyc): Likewise.
18054 (_IO_default_imbue): Likewise.
18055 (_IO_iter_next): Likewise.
18056 (_IO_iter_file): Likewise.
18057 * libio/getc.c (_IO_getc): Likewise.
18058 * libio/getwc.c (_IO_getwc): Likewise.
18059 * libio/iofclose.c (_IO_new_fclose): Likewise.
18060 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18061 * libio/iofflush.c (_IO_fflush): Likewise.
18062 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18063 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18064 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18065 * libio/iofgets.c (_IO_fgets): Likewise.
18066 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18067 * libio/iofgetws.c (fgetws): Likewise.
18068 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18069 * libio/iofopen64.c (_IO_fopen64): Likewise.
18070 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18071 (_IO_cookie_write): Likewise.
18072 (_IO_cookie_seek): Likewise.
18073 (_IO_cookie_close): Likewise.
18074 (_IO_cookie_seekoff): Likewise.
18075 (_IO_old_cookie_seek): Likewise.
18076 * libio/iofputs.c (_IO_fputs): Likewise.
18077 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18078 * libio/iofputws.c (fputws): Likewise.
18079 * libio/iofputws_u.c (fputws_unlocked): Likewise.
18080 * libio/iofread.c (_IO_fread): Likewise.
18081 * libio/iofread_u.c (__fread_unlocked): Likewise.
18082 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18083 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18084 * libio/ioftell.c (_IO_ftell): Likewise.
18085 * libio/iofwrite.c (_IO_fwrite): Likewise.
18086 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18087 * libio/iogets.c (_IO_gets): Likewise.
18088 * libio/iopadn.c (_IO_padn): Likewise.
18089 * libio/iopopen.c (_IO_new_proc_open): Likewise.
18090 (_IO_new_popen): Likewise.
18091 (_IO_new_proc_close): Likewise.
18092 * libio/ioputs.c (_IO_puts): Likewise.
18093 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18094 (_IO_seekoff): Likewise.
18095 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18096 (_IO_seekpos): Likewise.
18097 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18098 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18099 * libio/ioungetc.c (_IO_ungetc): Likewise.
18100 * libio/ioungetwc.c (ungetwc): Likewise.
18101 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18102 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18103 * libio/iowpadn.c (_IO_wpadn): Likewise.
18104 * libio/libc_fatal.c (__libc_fatal): Likewise.
18105 * libio/memstream.c (__open_memstream): Likewise.
18106 (_IO_mem_sync): Likewise.
18107 (_IO_mem_finish): Likewise.
18108 * libio/oldfileops.c (_IO_old_file_init): Likewise.
18109 (_IO_old_file_close_it): Likewise.
18110 (_IO_old_file_finish): Likewise.
18111 (_IO_old_file_fopen): Likewise.
18112 (_IO_old_file_attach): Likewise.
18113 (_IO_old_file_setbuf): Likewise.
18114 (_IO_old_do_write): Likewise.
18115 (old_do_write): Likewise.
18116 (_IO_old_file_underflow): Likewise.
18117 (_IO_old_file_overflow): Likewise.
18118 (_IO_old_file_sync): Likewise.
18119 (_IO_old_file_seekoff): Likewise.
18120 (_IO_old_file_write): Likewise.
18121 (_IO_old_file_xsputn): Likewise.
18122 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18123 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18124 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18125 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18126 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18127 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18128 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18129 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18130 (_IO_old_popen): Likewise.
18131 (_IO_old_proc_close): Likewise.
18132 * libio/oldpclose.c (__old_pclose): Likewise.
18133 * libio/pclose.c (__new_pclose): Likewise.
18134 * libio/peekc.c (_IO_peekc_locked): Likewise.
18135 * libio/putc.c (_IO_putc): Likewise.
18136 * libio/putc_u.c (putc_unlocked): Likewise.
18137 * libio/putchar.c (putchar): Likewise.
18138 * libio/putchar_u.c (putchar_unlocked): Likewise.
18139 * libio/putwc.c (putwc): Likewise.
18140 * libio/putwc_u.c (putwc_unlocked): Likewise.
18141 * libio/putwchar.c (putwchar): Likewise.
18142 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18143 * libio/rewind.c (rewind): Likewise.
18144 * libio/setbuf.c (setbuf): Likewise.
18145 * libio/setlinebuf.c (setlinebuf): Likewise.
18146 * libio/vasprintf.c (_IO_vasprintf): Likewise.
18147 * libio/vscanf.c (_IO_vscanf): Likewise.
18148 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18149 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18150 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18151 * libio/wgenops.c (_IO_least_wmarker): Likewise.
18152 (_IO_switch_to_main_wget_area): Likewise.
18153 (_IO_switch_to_wbackup_area): Likewise.
18154 (_IO_wsetb): Likewise.
18155 (_IO_wdefault_pbackfail): Likewise.
18156 (_IO_wdefault_finish): Likewise.
18157 (_IO_wdefault_uflow): Likewise.
18158 (__woverflow): Likewise.
18159 (__wuflow): Likewise.
18160 (__wunderflow): Likewise.
18161 (_IO_wdefault_xsputn): Likewise.
18162 (_IO_wdefault_xsgetn): Likewise.
18163 (_IO_wdoallocbuf): Likewise.
18164 (_IO_wdefault_doallocate): Likewise.
18165 (_IO_switch_to_wget_mode): Likewise.
18166 (_IO_free_wbackup_area): Likewise.
18167 (_IO_switch_to_wput_mode): Likewise.
18168 (_IO_sputbackwc): Likewise.
18169 (_IO_sungetwc): Likewise.
18170 (_IO_adjust_wcolumn): Likewise.
18171 (_IO_init_wmarker): Likewise.
18172 (_IO_wmarker_delta): Likewise.
18173 (_IO_seekwmark): Likewise.
18174 (_IO_unsave_wmarkers): Likewise.
18175 * libio/wmemstream.c (open_wmemstream): Likewise.
18176 (_IO_wmem_sync): Likewise.
18177 (_IO_wmem_finish): Likewise.
18178 * locale/nl_langinfo.c (nl_langinfo): Likewise.
18179 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18180 * locale/programs/simple-hash.c (init_hash): Likewise.
18181 (delete_hash): Likewise.
18182 (insert_entry): Likewise.
18183 (set_entry): Likewise.
18184 (next_prime): Likewise.
18185 (is_prime): Likewise.
18186 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18187 (xmalloc): Likewise.
18188 (xrealloc): Likewise.
18189 * locale/programs/xstrdup.c (xstrdup): Likewise.
18190 * localedata/collate-test.c (xstrcoll): Likewise.
18191 * localedata/xfrm-test.c (xstrcmp): Likewise.
18192 * login/getlogin_r.c (__getlogin_r): Likewise.
18193 * login/getpt.c (__posix_openpt): Likewise.
18194 * login/login_tty.c (login_tty): Likewise.
18195 * login/setlogin.c (setlogin): Likewise.
18196 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18197 (mach_msg_destroy_port): Likewise.
18198 (mach_msg_destroy_memory): Likewise.
18199 * malloc/mcheck.c (flood): Likewise.
18200 * misc/acct.c (acct): Likewise.
18201 * misc/brk.c (__brk): Likewise.
18202 * misc/chflags.c (chflags): Likewise.
18203 * misc/chroot.c (chroot): Likewise.
18204 * misc/fchflags.c (fchflags): Likewise.
18205 * misc/fstab.c (getfsspec): Likewise.
18206 (getfsfile): Likewise.
18207 * misc/fsync.c (fsync): Likewise.
18208 * misc/ftruncate.c (__ftruncate): Likewise.
18209 * misc/ftruncate64.c (__ftruncate64): Likewise.
18210 * misc/getdomain.c (getdomainname): Likewise.
18211 (getdomainname): Likewise.
18212 * misc/gethostname.c (__gethostname): Likewise.
18213 * misc/getpass.c (getpass): Likewise.
18214 * misc/getttyent.c (skip): Likewise.
18215 (value): Likewise.
18216 * misc/gtty.c (gtty): Likewise.
18217 * misc/hsearch.c (hsearch): Likewise.
18218 (hcreate): Likewise.
18219 * misc/hsearch_r.c (__hcreate_r): Likewise.
18220 (__hdestroy_r): Likewise.
18221 * misc/ioctl.c (__ioctl): Likewise.
18222 * misc/mkdtemp.c (mkdtemp): Likewise.
18223 * misc/mkostemp.c (mkostemp): Likewise.
18224 * misc/mkostemp64.c (mkostemp64): Likewise.
18225 * misc/mkostemps.c (mkostemps): Likewise.
18226 * misc/mkostemps64.c (mkostemps64): Likewise.
18227 * misc/mkstemp.c (mkstemp): Likewise.
18228 * misc/mkstemp64.c (mkstemp64): Likewise.
18229 * misc/mkstemps.c (mkstemps): Likewise.
18230 * misc/mkstemps64.c (mkstemps64): Likewise.
18231 * misc/mktemp.c (__mktemp): Likewise.
18232 * misc/preadv.c (preadv): Likewise.
18233 * misc/preadv64.c (preadv64): Likewise.
18234 * misc/pwritev.c (pwritev): Likewise.
18235 * misc/pwritev64.c (pwritev64): Likewise.
18236 * misc/readv.c (__readv): Likewise.
18237 * misc/revoke.c (revoke): Likewise.
18238 * misc/setdomain.c (setdomainname): Likewise.
18239 * misc/setegid.c (setegid): Likewise.
18240 * misc/seteuid.c (seteuid): Likewise.
18241 * misc/sethostid.c (sethostid): Likewise.
18242 * misc/sethostname.c (sethostname): Likewise.
18243 * misc/setregid.c (__setregid): Likewise.
18244 * misc/setreuid.c (__setreuid): Likewise.
18245 * misc/sstk.c (sstk): Likewise.
18246 * misc/stty.c (stty): Likewise.
18247 * misc/syscall.c (syscall): Likewise.
18248 * misc/syslog.c (setlogmask): Likewise.
18249 * misc/truncate.c (__truncate): Likewise.
18250 * misc/truncate64.c (truncate64): Likewise.
18251 * misc/ualarm.c (ualarm): Likewise.
18252 * misc/usleep.c (usleep): Likewise.
18253 * misc/ustat.c (ustat): Likewise.
18254 * misc/writev.c (__writev): Likewise.
18255 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18256 * nptl/old_pthread_cond_broadcast.c
18257 (__pthread_cond_broadcast_2_0): Likewise.
18258 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18259 Likewise.
18260 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18261 Likewise.
18262 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18263 Likewise.
18264 * nptl/pt-raise.c (raise): Likewise.
18265 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18266 Likewise.
18267 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18268 * nptl/pthread_barrierattr_destroy.c
18269 (pthread_barrierattr_destroy): Likewise.
18270 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18271 Likewise.
18272 * nptl/pthread_barrierattr_setpshared.c
18273 (pthread_barrierattr_setpshared): Likewise.
18274 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18275 Likewise.
18276 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18277 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18278 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18279 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18280 Likewise.
18281 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18282 Likewise.
18283 * nptl/pthread_condattr_getpshared.c
18284 (pthread_condattr_getpshared): Likewise.
18285 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18286 Likewise.
18287 * nptl/pthread_condattr_setpshared.c
18288 (pthread_condattr_setpshared): Likewise.
18289 * nptl/pthread_detach.c (pthread_detach): Likewise.
18290 * nptl/pthread_equal.c (__pthread_equal): Likewise.
18291 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18292 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18293 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18294 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18295 Likewise.
18296 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18297 Likewise.
18298 * nptl/pthread_mutex_getprioceiling.c
18299 (pthread_mutex_getprioceiling): Likewise.
18300 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18301 Likewise.
18302 * nptl/pthread_mutexattr_getprotocol.c
18303 (pthread_mutexattr_getprotocol): Likewise.
18304 * nptl/pthread_mutexattr_getpshared.c
18305 (pthread_mutexattr_getpshared): Likewise.
18306 * nptl/pthread_mutexattr_getrobust.c
18307 (pthread_mutexattr_getrobust): Likewise.
18308 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18309 Likewise.
18310 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18311 Likewise.
18312 * nptl/pthread_mutexattr_setprioceiling.c
18313 (pthread_mutexattr_setprioceiling): Likewise.
18314 * nptl/pthread_mutexattr_setprotocol.c
18315 (pthread_mutexattr_setprotocol): Likewise.
18316 * nptl/pthread_mutexattr_setpshared.c
18317 (pthread_mutexattr_setpshared): Likewise.
18318 * nptl/pthread_mutexattr_setrobust.c
18319 (pthread_mutexattr_setrobust): Likewise.
18320 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18321 Likewise.
18322 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18323 Likewise.
18324 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18325 Likewise.
18326 * nptl/pthread_rwlockattr_getkind_np.c
18327 (pthread_rwlockattr_getkind_np): Likewise.
18328 * nptl/pthread_rwlockattr_getpshared.c
18329 (pthread_rwlockattr_getpshared): Likewise.
18330 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18331 Likewise.
18332 * nptl/pthread_rwlockattr_setkind_np.c
18333 (pthread_rwlockattr_setkind_np): Likewise.
18334 * nptl/pthread_rwlockattr_setpshared.c
18335 (pthread_rwlockattr_setpshared): Likewise.
18336 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18337 Likewise.
18338 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18339 Likewise.
18340 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18341 Likewise.
18342 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18343 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18344 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18345 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18346 * nptl/sem_close.c (sem_close): Likewise.
18347 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18348 * nptl/sem_init.c (__old_sem_init): Likewise.
18349 * nptl/sigaction.c (__sigaction): Likewise.
18350 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18351 * posix/_exit.c (_exit): Likewise.
18352 * posix/alarm.c (alarm): Likewise.
18353 * posix/confstr.c (confstr): Likewise.
18354 * posix/fpathconf.c (__fpathconf): Likewise.
18355 * posix/getgroups.c (__getgroups): Likewise.
18356 * posix/getpgid.c (__getpgid): Likewise.
18357 * posix/group_member.c (__group_member): Likewise.
18358 * posix/pathconf.c (__pathconf): Likewise.
18359 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18360 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18361 * posix/setgid.c (__setgid): Likewise.
18362 * posix/setpgid.c (__setpgid): Likewise.
18363 * posix/setuid.c (__setuid): Likewise.
18364 * posix/sleep.c (__sleep): Likewise.
18365 * posix/sysconf.c (__sysconf): Likewise.
18366 * posix/times.c (__times): Likewise.
18367 * posix/uname.c (__uname): Likewise.
18368 * posix/waitid.c (__waitid): Likewise.
18369 * pwd/getpw.c (__getpw): Likewise.
18370 * resolv/base64.c (b64_pton): Likewise.
18371 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18372 * resolv/gethnamaddr.c (Dprintf): Likewise.
18373 (gethostbyname): Likewise.
18374 (gethostbyname2): Likewise.
18375 (gethostbyaddr): Likewise.
18376 (_sethtent): Likewise.
18377 (_gethtbyname): Likewise.
18378 (_gethtbyname2): Likewise.
18379 (_gethtbyaddr): Likewise.
18380 (map_v4v6_address): Likewise.
18381 (map_v4v6_hostent): Likewise.
18382 (addrsort): Likewise.
18383 (ht_sethostent): Likewise.
18384 (ht_gethostbyname): Likewise.
18385 (ht_gethostbyaddr): Likewise.
18386 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18387 (inet_net_ntop_ipv4): Likewise.
18388 * resolv/inet_neta.c (inet_neta): Likewise.
18389 * resolv/inet_ntop.c (inet_ntop): Likewise.
18390 (inet_ntop4): Likewise.
18391 (inet_ntop6): Likewise.
18392 * resolv/inet_pton.c (__inet_pton): Likewise.
18393 (inet_pton4): Likewise.
18394 (inet_pton6): Likewise.
18395 * resolv/res_debug.c (loc_aton): Likewise.
18396 (loc_ntoa): Likewise.
18397 * resource/getpriority.c (__getpriority): Likewise.
18398 * resource/getrusage.c (__getrusage): Likewise.
18399 * resource/nice.c (nice): Likewise.
18400 * resource/setpriority.c (__setpriority): Likewise.
18401 * resource/setrlimit64.c (setrlimit64): Likewise.
18402 * resource/vlimit.c (vlimit): Likewise.
18403 * resource/vtimes.c (vtimes): Likewise.
18404 * rt/aio_error.c (aio_error): Likewise.
18405 * rt/aio_return.c (aio_return): Likewise.
18406 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18407 * signal/kill.c (__kill): Likewise.
18408 * signal/killpg.c (killpg): Likewise.
18409 * signal/raise.c (raise): Likewise.
18410 * signal/sigaction.c (__sigaction): Likewise.
18411 * signal/sigaddset.c (sigaddset): Likewise.
18412 * signal/sigaltstack.c (sigaltstack): Likewise.
18413 * signal/sigandset.c (sigandset): Likewise.
18414 * signal/sigblock.c (__sigblock): Likewise.
18415 * signal/sigdelset.c (sigdelset): Likewise.
18416 * signal/sigempty.c (sigemptyset): Likewise.
18417 * signal/sigfillset.c (sigfillset): Likewise.
18418 * signal/sighold.c (sighold): Likewise.
18419 * signal/sigignore.c (sigignore): Likewise.
18420 * signal/sigintr.c (siginterrupt): Likewise.
18421 * signal/sigisempty.c (sigisemptyset): Likewise.
18422 * signal/sigismem.c (sigismember): Likewise.
18423 * signal/signal.c (signal): Likewise.
18424 * signal/sigorset.c (sigorset): Likewise.
18425 * signal/sigpause.c (__sigpause): Likewise.
18426 * signal/sigpending.c (sigpending): Likewise.
18427 * signal/sigprocmask.c (__sigprocmask): Likewise.
18428 * signal/sigrelse.c (sigrelse): Likewise.
18429 * signal/sigreturn.c (__sigreturn): Likewise.
18430 * signal/sigset.c (sigset): Likewise.
18431 * signal/sigsetmask.c (__sigsetmask): Likewise.
18432 * signal/sigstack.c (sigstack): Likewise.
18433 * signal/sigsuspend.c (__sigsuspend): Likewise.
18434 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18435 * signal/sysv_signal.c (__sysv_signal): Likewise.
18436 * socket/accept.c (accept): Likewise.
18437 * socket/accept4.c (__libc_accept4): Likewise.
18438 * socket/bind.c (__bind): Likewise.
18439 * socket/connect.c (__connect): Likewise.
18440 * socket/getpeername.c (getpeername): Likewise.
18441 * socket/getsockname.c (__getsockname): Likewise.
18442 * socket/getsockopt.c (getsockopt): Likewise.
18443 * socket/listen.c (__listen): Likewise.
18444 * socket/recv.c (__recv): Likewise.
18445 * socket/recvmsg.c (__recvmsg): Likewise.
18446 * socket/send.c (__send): Likewise.
18447 * socket/sendmsg.c (__sendmsg): Likewise.
18448 * socket/shutdown.c (shutdown): Likewise.
18449 * socket/sockatmark.c (sockatmark): Likewise.
18450 * socket/socket.c (__socket): Likewise.
18451 * stdio-common/ctermid.c (ctermid): Likewise.
18452 * stdio-common/cuserid.c (cuserid): Likewise.
18453 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18454 * stdio-common/remove.c (remove): Likewise.
18455 * stdio-common/rename.c (rename): Likewise.
18456 * stdio-common/renameat.c (renameat): Likewise.
18457 * stdio-common/tempname.c (__gen_tempname): Likewise.
18458 * stdio-common/xbug.c (InitBuffer): Likewise.
18459 (AppendToBuffer): Likewise.
18460 (ReadFile): Likewise.
18461 * stdlib/a64l.c (a64l): Likewise.
18462 * stdlib/drand48_r.c (drand48_r): Likewise.
18463 * stdlib/getcontext.c (getcontext): Likewise.
18464 * stdlib/getenv.c (getenv): Likewise.
18465 * stdlib/l64a.c (l64a): Likewise.
18466 * stdlib/llabs.c (llabs): Likewise.
18467 * stdlib/lldiv.c (lldiv): Likewise.
18468 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18469 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18470 * stdlib/putenv.c (putenv): Likewise.
18471 * stdlib/random.c (__srandom): Likewise.
18472 (__initstate): Likewise.
18473 (__setstate): Likewise.
18474 * stdlib/random_r.c (__srandom_r): Likewise.
18475 (__setstate_r): Likewise.
18476 (__random_r): Likewise.
18477 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18478 * stdlib/setcontext.c (setcontext): Likewise.
18479 * stdlib/setenv.c (setenv): Likewise.
18480 (unsetenv): Likewise.
18481 * stdlib/srand48.c (srand48): Likewise.
18482 * stdlib/srand48_r.c (__srand48_r): Likewise.
18483 * stdlib/swapcontext.c (swapcontext): Likewise.
18484 * stdlib/system.c (__libc_system): Likewise.
18485 * stdlib/tst-strtod.c (expand): Likewise.
18486 * stdlib/tst-strtol.c (expand): Likewise.
18487 * stdlib/tst-strtoll.c (expand): Likewise.
18488 * streams/fattach.c (fattach): Likewise.
18489 * streams/fdetach.c (fdetach): Likewise.
18490 * streams/getmsg.c (getmsg): Likewise.
18491 * streams/isastream.c (isastream): Likewise.
18492 * string/ffs.c (__ffs): Likewise.
18493 * string/ffsll.c (ffsll): Likewise.
18494 * string/memcmp.c (memcmp_common_alignment): Likewise.
18495 (memcmp_not_common_alignment): Likewise.
18496 (MEMCMP): Likewise.
18497 * string/memcpy.c (memcpy): Likewise.
18498 * string/memmove.c (MEMMOVE): Likewise.
18499 * string/memset.c (memset): Likewise.
18500 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18501 * string/strchrnul.c (STRCHRNUL): Likewise.
18502 * string/strerror.c (strerror): Likewise.
18503 * string/strndup.c (__strndup): Likewise.
18504 * string/strverscmp.c (__strverscmp): Likewise.
18505 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18506 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18507 (clnttcp_freeres): Likewise.
18508 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18509 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18510 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18511 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18512 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18513 (xdr_callhdr): Likewise.
18514 * sunrpc/rpcinfo.c (udpping): Likewise.
18515 (tcpping): Likewise.
18516 (pstatus): Likewise.
18517 (pmapdump): Likewise.
18518 (brdcst): Likewise.
18519 (deletereg): Likewise.
18520 (getprognum): Likewise.
18521 (getvers): Likewise.
18522 (get_inet_address): Likewise.
18523 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18524 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18525 (svcudp_stat): Likewise.
18526 (svcudp_recv): Likewise.
18527 (svcudp_reply): Likewise.
18528 (svcudp_getargs): Likewise.
18529 (svcudp_freeargs): Likewise.
18530 (svcudp_destroy): Likewise.
18531 * sunrpc/xdr.c (xdr_bytes): Likewise.
18532 (xdr_netobj): Likewise.
18533 (xdr_string): Likewise.
18534 (xdr_wrapstring): Likewise.
18535 * sunrpc/xdr_float.c (xdr_float): Likewise.
18536 (xdr_double): Likewise.
18537 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18538 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18539 * sysvipc/ftok.c (ftok): Likewise.
18540 * sysvipc/msgctl.c (msgctl): Likewise.
18541 * sysvipc/msgget.c (msgget): Likewise.
18542 * sysvipc/msgrcv.c (msgrcv): Likewise.
18543 * sysvipc/msgsnd.c (msgsnd): Likewise.
18544 * sysvipc/semget.c (semget): Likewise.
18545 * sysvipc/semop.c (semop): Likewise.
18546 * sysvipc/shmat.c (shmat): Likewise.
18547 * sysvipc/shmctl.c (shmctl): Likewise.
18548 * sysvipc/shmdt.c (shmdt): Likewise.
18549 * sysvipc/shmget.c (shmget): Likewise.
18550 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18551 * termios/speed.c (cfgetospeed): Likewise.
18552 (cfgetispeed): Likewise.
18553 (cfsetospeed): Likewise.
18554 (cfsetispeed): Likewise.
18555 * termios/tcflow.c (tcflow): Likewise.
18556 * termios/tcflush.c (tcflush): Likewise.
18557 * termios/tcgetattr.c (__tcgetattr): Likewise.
18558 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18559 * termios/tcgetsid.c (tcgetsid): Likewise.
18560 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18561 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18562 * time/adjtime.c (__adjtime): Likewise.
18563 * time/dysize.c (dysize): Likewise.
18564 * time/ftime.c (ftime): Likewise.
18565 * time/getitimer.c (__getitimer): Likewise.
18566 * time/gettimeofday.c (__gettimeofday): Likewise.
18567 * time/gmtime.c (__gmtime_r): Likewise.
18568 (gmtime): Likewise.
18569 * time/localtime.c (__localtime_r): Likewise.
18570 (localtime): Likewise.
18571 * time/offtime.c (__offtime): Likewise.
18572 * time/settimeofday.c (__settimeofday): Likewise.
18573 * time/stime.c (stime): Likewise.
18574 * time/strftime_l.c (tm_diff): Likewise.
18575 (iso_week_days): Likewise.
18576 * time/strptime.c (strptime): Likewise.
18577 * time/time.c (time): Likewise.
18578 * time/timespec_get.c (timespec_get): Likewise.
18579 * time/tzset.c (tzset_internal): Likewise.
18580 (compute_change): Likewise.
18581 (__tz_compute): Likewise.
18582 * wcsmbs/btowc.c (__btowc): Likewise.
18583 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18584 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18585 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18586 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18587 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18588 * wcsmbs/wcscat.c (__wcscat): Likewise.
18589 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18590 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18591 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18592 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18593 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18594 * wcsmbs/wcslen.c (__wcslen): Likewise.
18595 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18596 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18597 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18598 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18599 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18600 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18601 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18602 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18603 * wcsmbs/wcstok.c (wcstok): Likewise.
18604 * wcsmbs/wctob.c (wctob): Likewise.
18605 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18606 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18607 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18608 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18609 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18610 * wcsmbs/wmemset.c (__wmemset): Likewise.
18611 * wctype/wcfuncs.c (__towlower): Likewise.
18612 (__towupper): Likewise.
18613
18614 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18615 (lll_unlock_elision): Add adapt_count parameter.
18616
18617 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18618
18619 * sysdeps/nptl/configure.ac: Do not give errors based on the
18620 results of top-level configure tests.
18621 * sysdeps/nptl/configure: Regenerated.
18622
18623 * configure.ac (libc_cv_Bgroup): Remove configure test.
18624 * configure: Regenerated.
18625 * config.make.in (have-Bgroup): Remove variable.
18626
18627 * configure.ac (sizeof_long_double): Remove configure test.
18628 * configure: Regenerated.
18629 * config.make.in (sizeof-long-double): Remove variable.
18630
18631 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18632 * configure: Regenerated.
18633 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18634 variable.
18635 (exceptions): Likewise.
18636 * sysdeps/arm/configure: Regenerated.
18637 * config.make.in (exceptions): Remove variable.
18638 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18639 $(exceptions).
18640 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18641 (CFLAGS-vdprintf_chk.c): Likewise.
18642 (CFLAGS-printf_chk.c): Likewise.
18643 (CFLAGS-fprintf_chk.c): Likewise.
18644 (CFLAGS-vprintf_chk.c): Likewise.
18645 (CFLAGS-vfprintf_chk.c): Likewise.
18646 (CFLAGS-gets_chk.c): Likewise.
18647 (CFLAGS-fgets_chk.c): Likewise.
18648 (CFLAGS-fgets_u_chk.c): Likewise.
18649 (CFLAGS-fread_chk.c): Likewise.
18650 (CFLAGS-fread_u_chk.c): Likewise.
18651 (CFLAGS-wprintf_chk.c): Likewise.
18652 (CFLAGS-fwprintf_chk.c): Likewise.
18653 (CFLAGS-vwprintf_chk.c): Likewise.
18654 (CFLAGS-vfwprintf_chk.c): Likewise.
18655 (CFLAGS-fgetws_chk.c): Likewise.
18656 (CFLAGS-fgetws_u_chk.c): Likewise.
18657 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18658 (CFLAGS-fputc.c): Likewise.
18659 (CFLAGS-fputwc.c): Likewise.
18660 (CFLAGS-freopen64.c): Likewise.
18661 (CFLAGS-freopen.c): Likewise.
18662 (CFLAGS-fseek.c): Likewise.
18663 (CFLAGS-fseeko64.c): Likewise.
18664 (CFLAGS-fseeko.c): Likewise.
18665 (CFLAGS-ftello64.c): Likewise.
18666 (CFLAGS-ftello.c): Likewise.
18667 (CFLAGS-fwide.c): Likewise.
18668 (CFLAGS-genops.c): Likewise.
18669 (CFLAGS-getc.c): Likewise.
18670 (CFLAGS-getchar.c): Likewise.
18671 (CFLAGS-getwc.c): Likewise.
18672 (CFLAGS-getwchar.c): Likewise.
18673 (CFLAGS-iofclose.c): Likewise.
18674 (CFLAGS-iofflush.c): Likewise.
18675 (CFLAGS-iofgetpos64.c): Likewise.
18676 (CFLAGS-iofgetpos.c): Likewise.
18677 (CFLAGS-iofgets.c): Likewise.
18678 (CFLAGS-iofgetws.c): Likewise.
18679 (CFLAGS-iofputs.c): Likewise.
18680 (CFLAGS-iofputws.c): Likewise.
18681 (CFLAGS-iofread.c): Likewise.
18682 (CFLAGS-iofsetpos64.c): Likewise.
18683 (CFLAGS-iofsetpos.c): Likewise.
18684 (CFLAGS-ioftell.c): Likewise.
18685 (CFLAGS-iofwrite.c): Likewise.
18686 (CFLAGS-iogetdelim.c): Likewise.
18687 (CFLAGS-iogetline.c): Likewise.
18688 (CFLAGS-iogets.c): Likewise.
18689 (CFLAGS-iogetwline.c): Likewise.
18690 (CFLAGS-ioputs.c): Likewise.
18691 (CFLAGS-ioseekoff.c): Likewise.
18692 (CFLAGS-ioseekpos.c): Likewise.
18693 (CFLAGS-iosetbuffer.c): Likewise.
18694 (CFLAGS-iosetvbuf.c): Likewise.
18695 (CFLAGS-ioungetc.c): Likewise.
18696 (CFLAGS-ioungetwc.c): Likewise.
18697 (CFLAGS-oldfileops.c): Likewise.
18698 (CFLAGS-oldiofclose.c): Likewise.
18699 (CFLAGS-oldiofgetpos64.c): Likewise.
18700 (CFLAGS-oldiofgetpos.c): Likewise.
18701 (CFLAGS-oldiofsetpos64.c): Likewise.
18702 (CFLAGS-oldiofsetpos.c): Likewise.
18703 (CFLAGS-peekc.c): Likewise.
18704 (CFLAGS-putc.c): Likewise.
18705 (CFLAGS-putchar.c): Likewise.
18706 (CFLAGS-putwc.c): Likewise.
18707 (CFLAGS-putwchar.c): Likewise.
18708 (CFLAGS-rewind.c): Likewise.
18709 (CFLAGS-wfileops.c): Likewise.
18710 (CFLAGS-wgenops.c): Likewise.
18711 (CFLAGS-oldiofopen.c): Likewise.
18712 (CFLAGS-iofopen.c): Likewise.
18713 (CFLAGS-iofopen64.c): Likewise.
18714 (CFLAGS-oldtmpfile.c): Likewise.
18715 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18716 (CFLAGS-fprintf.c): Likewise.
18717 (CFLAGS-printf.c): Likewise.
18718 (CFLAGS-vfwprintf.c): Likewise.
18719 (CFLAGS-vfscanf.c): Likewise.
18720 (CFLAGS-vfwscanf.c): Likewise.
18721 (CFLAGS-fscanf.c): Likewise.
18722 (CFLAGS-scanf.c): Likewise.
18723 (CFLAGS-isoc99_vfscanf.c): Likewise.
18724 (CFLAGS-isoc99_vscanf.c): Likewise.
18725 (CFLAGS-isoc99_fscanf.c): Likewise.
18726 (CFLAGS-isoc99_scanf.c): Likewise.
18727 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18728 (CFLAGS-isoc99_fwscanf.c): Likewise.
18729 (CFLAGS-isoc99_vwscanf.c): Likewise.
18730 (CFLAGS-isoc99_vfwscanf.c): Likewise.
18731
18732 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18733 after mkstemp64.
18734 * login/tst-utmp.c (do_prepare): Likewise.
18735 * rt/tst-aio.c (do_prepare): Likewise.
18736 * rt/tst-aio64.c (do_prepare): Likewise.
18737
18738 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18739
18740 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18741 (__lll_lock_elision): Remove adapt_count decrement...
18742 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18743 (__lll_trylock_elision): Likewise.
18744 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18745 (__lll_unlock_elision): ... to here. And utilize
18746 new adapt_count parameter.
18747 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18748 (__lll_unlock_elision): Update to include adapt_count
18749 parameter.
18750 (lll_unlock_elision): Pass pointer to adapt_count
18751 variable.
18752
18753 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18754
18755 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18756 Add elision adapt_count parameter to list of arguments.
18757 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18758 (lll_unlock_elision): Update with new parameter list
18759 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18760 (lll_unlock_elision): Likewise.
18761 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18762 (lll_unlock_elision): Likewise.
18763
18764 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18765
18766 [BZ #19122]
18767 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18768 attribute_hidden.
18769
18770 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18771 attribute_hidden.
18772 [IS_IN (rtld)] (__strdup): Likewise.
18773 [IS_IN (rtld)] (__strerror_r): Likewise.
18774 [IS_IN (rtld)] (__strsep_g): Likewise.
18775 [IS_IN (rtld)] (memchr): Likewise.
18776 [IS_IN (rtld)] (memcmp): Likewise.
18777 [IS_IN (rtld)] (memcpy): Likewise.
18778 [IS_IN (rtld)] (memmove): Likewise.
18779 [IS_IN (rtld)] (memset): Likewise.
18780 [IS_IN (rtld)] (rawmemchr): Likewise.
18781 [IS_IN (rtld)] (stpcpy): Likewise.
18782 [IS_IN (rtld)] (strchr): Likewise.
18783 [IS_IN (rtld)] (strcmp): Likewise.
18784 [IS_IN (rtld)] (strlen): Likewise.
18785 [IS_IN (rtld)] (strnlen): Likewise.
18786 [IS_IN (rtld)] (strsep): Likewise.
18787
18788 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18789 attribute_hidden.
18790 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18791
18792 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18793 attribute_hidden.
18794 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18795
18796 * include/setjmp.h (__longjmp): Add attribute_hidden.
18797 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18798
18799 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18800 Add attribute_hidden.
18801
18802 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18803 [IS_IN (rtld)] (__open): Likewise.
18804 [IS_IN (rtld)] (__fcntl): Likewise.
18805
18806 * include/dirent.h (__opendirat): Add attribute_hidden.
18807 (__getdents): Likewise.
18808 (__getdents64): Likewise.
18809 (__alloc_dir): Likewise.
18810 [IS_IN (rtld)] (__closedir): Likewise.
18811 [IS_IN (rtld)] (__fdopendir): Likewise.
18812 [IS_IN (rtld)] (__readdir): Likewise.
18813 [IS_IN (rtld)] (__readdir64): Likewise.
18814 [IS_IN (rtld)] (__rewinddir): Likewise.
18815
18816 * include/dlfcn.h (_dl_catch_error): Moved to ...
18817 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18818 attribute_hidden.
18819
18820 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18821 (_itoa_word): Likewise.
18822
18823 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18824 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18825 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18826 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18827 (_dl_higher_prime_number): Likewise.
18828 (_dl_debug_printf_c): Likewise.
18829 (_dl_signal_cerror): Likewise.
18830 (_dl_receive_error): Likewise.
18831 (_dl_reloc_bad_type): Likewise.
18832 (_dl_resolve_conflicts): Likewise.
18833 (_dl_check_all_versions): Likewise.
18834 (_dl_check_map_versions): Likewise.
18835 (_dl_sort_fini): Likewise.
18836 (_dl_debug_initialize): Likewise.
18837 (_dl_init_paths): Likewise.
18838 (_dl_show_auxv): Likewise.
18839 (_dl_next_ld_env_entry): Likewise.
18840 (_dl_important_hwcaps): Likewise.
18841 (_dl_load_cache_lookup): Likewise.
18842 (_dl_update_slotinfo): Likewise.
18843 (_dl_show_scope): Likewise.
18844
18845 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18846 attribute_hidden.
18847 (_wordcopy_fwd_dest_aligned): Likewise.
18848 (_wordcopy_bwd_aligned): Likewise.
18849 (_wordcopy_bwd_dest_aligned): Likewise.
18850
18851 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18852 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18853 Likewise.
18854 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18855 Likewise.
18856 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18857
18858 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18861 GCC 5 requirement.
18862
18863 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18864
18865 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18866 test.
18867 * sysdeps/i386/configure: Regenerated.
18868 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18869 code unconditional.
18870
18871 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18872 test.
18873 (libc_cv_asm_popsection_directive): Likewise.
18874 * configure: Regenerated.
18875 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18876 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18877 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18878 (__make_section_unallocated): Make definition unconditional.
18879 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18880 Remove conditional definition.
18881 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18882 (__make_section_unallocated): Likewise.
18883
18884 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18885 * configure: Regenerated.
18886 * config.make.in (static-libgcc): Remove variable.
18887 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18888 $(static-libgcc).
18889 (build-module-helper): Likewise.
18890
18891 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18892 * configure: Regenerated.
18893
18894 2015-10-15 Florian Weimer <fweimer@redhat.com>
18895
18896 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18897 (struct char_buffer): New type.
18898 (char_buffer_start, char_buffer_size, char_buffer_error)
18899 (char_buffer_rewind, char_buffer_add): New functions.
18900 (ADDW): Remove macro, replaced by the char_buffer_add function.
18901 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18902 of extend_alloca. Make control flow more explicit.
18903
18904 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18905
18906 [BZ #19137]
18907 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18908 Add -fomit-frame-pointer.
18909 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18910
18911 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18912
18913 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18914 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18916 only if !__GNUC_PREREQ (5,0).
18917 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18918 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18919 (INTERNAL_SYSCALL_NCS): Likewise.
18920 (LOADREGS_0): New macro for GCC 5.
18921 (ASMARGS_0): Likewise.
18922 (LOADREGS_1): Likewise.
18923 (ASMARGS_1): Likewise.
18924 (LOADREGS_2): Likewise.
18925 (ASMARGS_2): Likewise.
18926 (LOADREGS_3): Likewise.
18927 (ASMARGS_3): Likewise.
18928 (LOADREGS_4): Likewise.
18929 (ASMARGS_4): Likewise.
18930 (LOADREGS_5): Likewise.
18931 (ASMARGS_5): Likewise.
18932 (LOADREGS_6): Likewise.
18933 (ASMARGS_6): Likewise.
18934
18935 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18936
18937 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18938 -fomit-frame-pointer.
18939 (CFLAGS-mmap64.c): Likewise.
18940 (CFLAGS-semtimedop.c): Likewise.
18941 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18942 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18943 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18944 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18945
18946 2015-10-15 Florian Weimer <fweimer@redhat.com>
18947
18948 [BZ #18928]
18949 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18950 _dl_pointer_guard member.
18951 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18952 initializer.
18953 (security_init): Always set up pointer guard.
18954 (process_envvars): Do not process LD_POINTER_GUARD.
18955
18956 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18957
18958 [BZ #19134]
18959 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18960 (.LC2): Likewise.
18961 (.LC3): Likewise.
18962 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18963
18964 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18965
18966 [BZ #19129]
18967 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18968 r0 and r1.
18969
18970 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18971
18972 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18973
18974 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18975
18976 * include/stap-probe.h: Fix macro definition formatting.
18977
18978 2015-10-14 Florian Weimer <fweimer@redhat.com>
18979
18980 [BZ #19074]
18981 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18982 load and store num_ifs.
18983
18984 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18985
18986 [BZ #18822]
18987 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18988 (__sched_getaffinity_new): Add libc_hidden_proto and
18989 libc_hidden_def.
18990
18991 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18992
18993 [BZ #19007]
18994 * scripts/localplt.awk: Also allow GOT references.
18995 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18996 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18997 with "+ REL R_386_GLOB_DAT".
18998 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18999 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19000
19001 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19004 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19005 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19006 Likewise.
19007 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19008 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19009 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19010 INTERNAL_SYSCALLINTERNAL_SYSCALL and
19011 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19012 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19013 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19014 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19015 Likewise.
19016 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19017
19018 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19019
19020 [BZ #19125]
19021 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19022 <math_private.h> and <stdint.h>.
19023 (__llround): Avoid conversions to and from long long int, and
19024 subtractions, where those might raise spurious exceptions.
19025 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19026 <math_private.h> and <stdint.h>.
19027 (__llroundf): Avoid conversions to and from long long int, and
19028 subtractions, where those might raise spurious exceptions.
19029
19030 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19033 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19034 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19035 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19036 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19037 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19038 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19039 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19040 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19041 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19042 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19043 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19044 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19045 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19046 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19047 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19048 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19049 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19050 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19051 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19052 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19053 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19054 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19055 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19056 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19057 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19058 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19059 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19060 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19061 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19062 (__xstat64_conv): Likewise.
19063 (__xstat32_conv): Likewise.
19064
19065 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19066
19067 * sysdeps/unix/sysv/linux/sysdep.h: New file.
19068 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19069 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19070 <sysdeps/unix/sysv/linux/sysdep.h>.
19071 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19072 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19073 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19074 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19075 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19076 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19077 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19078 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19079 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19084 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19085 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19087 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19088 (sysdep-dl-routines): Add sysdep.
19089 [$(subdir) == nptl] (libpthread-routines): Likewise.
19090 [$(subdir) == rt] (librt-routines): Likewise.
19091 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19092 PIC when branching to SYSCALL_ERROR_LABEL.
19093 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19095 <sysdeps/unix/sysv/linux/sysdep.h>.
19096 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19097 (SYSCALL_ERROR_ERRNO): Removed.
19098 (SYSCALL_ERROR_HANDLER): Changed to empty.
19099 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19100 (__syscall_error): New prototype.
19101 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19102 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19103
19104 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19105
19106 [BZ #19124]
19107 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19108 (_dl_runtime_resolve_avx512): Make it a hidden alias of
19109 _dl_runtime_resolve_avx.
19110 (_dl_runtime_profile_avx512): Make it a hidden alias of
19111 _dl_runtime_profile_avx.
19112
19113 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19114
19115 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19116 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19117 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19118 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19119
19120 [BZ #16422]
19121 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19122 New configure test.
19123 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19124 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19125 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19126 <math_private.h> and <stdint.h>.
19127 (__llrint): Avoid conversions to long long int where those might
19128 raise spurious exceptions.
19129 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19130 <math_private.h> and <stdint.h>.
19131 (__llrintf): Avoid conversions to long long int where those might
19132 raise spurious exceptions.
19133
19134 2015-10-12 Andreas Schwab <schwab@suse.de>
19135
19136 [BZ #18969]
19137 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
19138 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19139 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
19140 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19141 $(gen-locales).
19142 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
19143 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19144 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19145 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19146 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19147 $(gen-locales).
19148 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
19149 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19150 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19151 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19152 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19153 ($(objpfx)tst-ftell-active-handler.out)
19154 ($(objpfx)tst-ftell-append.out)
19155 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19156 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19157 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19158 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19159 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
19160 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19161 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19162 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19163 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19164 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19165 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19166 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19167 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19168 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19169 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19170 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19171 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19172 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19173 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
19174 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19175 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19176 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19177 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19178 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
19179 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19180 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19181 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19182 $(gen-locales).
19183 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
19184 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19185 $(gen-locales).
19186 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
19187 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19188 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19189 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19190 $(gen-locales).
19191 * libio/tst_wprintf2.c (main): Use explicit locale.
19192 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19193
19194 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19195
19196 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19197 __msg_sig_post.
19198 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19199
19200 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19201
19202 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19203 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19204
19205 * sysdeps/arm/libm-test-ulps: Regenerated.
19206
19207 [BZ #15470]
19208 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19209
19210 [BZ #16399]
19211 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19212 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19213 and <fix-fp-int-convert-overflow.h>.
19214 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19215 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19216 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19217 and <fix-fp-int-convert-overflow.h>.
19218 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19219 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19220 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19221 <fix-fp-int-convert-overflow.h>.
19222 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19223 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19224 * sysdeps/ieee754/dbl-64/s_lround.c: Include
19225 <fix-fp-int-convert-overflow.h>.
19226 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19227 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19228 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19229 and <fix-fp-int-convert-overflow.h>.
19230 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19231 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19232 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19233 <limits.h> and <fix-fp-int-convert-overflow.h>.
19234 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19235 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19236 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19237 and <fix-fp-int-convert-overflow.h>.
19238 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19239 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19240 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19241 and <fix-fp-int-convert-overflow.h>.
19242 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19243 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19244 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19245
19246 2015-10-09 Carlos O'Donell <carlos@redhat.com>
19247
19248 [BZ #18589]
19249 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19250 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19251 $(gen-locales).
19252
19253 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19254 Phil Blundell <pb@pbcl.net>
19255
19256 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19257 * nptl/tst-cancel26.c: New file.
19258 * nptl/tst-cancel27.c: Likewise.
19259
19260 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
19261
19262 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19263 __ILP32__ isn't defined.
19264 (lrint): Likewise.
19265 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19266 (lrintf): Likewise.
19267 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19268 (lrintl): Likewise.
19269 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19270 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19271 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19272
19273 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19274
19275 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19276 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19277
19278 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19279 file.
19280 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19281 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19282
19283 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19284
19285 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19286 configure test.
19287 * sysdeps/i386/configure: Regenerated.
19288 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19289 configure test.
19290 * sysdeps/x86_64/configure: Regenerated.
19291 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19292 Make code unconditional.
19293
19294 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19295 test.
19296 * sysdeps/i386/configure: Regenerated.
19297 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19298 test.
19299 * sysdeps/x86_64/configure: Regenerated.
19300 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19301 Make code unconditional.
19302 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19303 Likewise.
19304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19305 Likewise.
19306 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19307 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19308 code unconditional.
19309 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19310 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19311 code unconditional.
19312 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19313 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19314 code unconditional.
19315 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19316 code unconditional.
19317 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19318 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19319 code unconditional.
19320 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19321 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19322 code unconditional.
19323 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19324 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19325 code unconditional.
19326 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19327 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19328 code unconditional.
19329 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19330 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19331
19332 [BZ #19095]
19333 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19334 mantissa to long int before shifting left.
19335
19336 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19337
19338 [BZ #19094]
19339 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19340 <limits.h>.
19341 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19342 when result overflows but exception would not result from cast.
19343 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19344 <limits.h>.
19345 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19346 when result overflows but exception would not result from cast.
19347 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19348 <limits.h>.
19349 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19350 when result overflows but exception would not result from cast.
19351 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19352 <limits.h>.
19353 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19354 when result overflows but exception would not result from cast.
19355 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19356 <limits.h>.
19357 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19358 when result overflows but exception would not result from cast.
19359 * math/libm-test.inc (lrint_test_data): Add more tests.
19360 (llrint_test_data): Likewise.
19361
19362 2015-10-08 Roland McGrath <roland@hack.frob.com>
19363
19364 [BZ #18872]
19365 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19366 Move out from under [$(run-built-tests) = yes] conditional.
19367 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19368 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19369
19370 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19371
19372 [BZ #18589]
19373 * string/Makefile (tests): Add bug-strcoll2.
19374 (LOCALES): Add cs_CZ.UTF-8.
19375 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19376
19377 [BZ #18589]
19378 * string/bug-strcoll2.c: New file.
19379 * locale/categories.def: Revert commit
19380 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19381 * locale/langinfo.h: Likewise.
19382 * locale/localeinfo.h: Likewise.
19383 * locale/C-collate.c: Likewise.
19384 * locale/programs/ld-collate.c (collate_output): Likewise.
19385 * string/strcoll_l.c (STRDIFF): Likewise.
19386 (STRCOLL): Likewise.
19387 * wcsmbs/wcscoll_l.c: Likewise.
19388
19389 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19390
19391 * math/libm-test.inc (lround_test_data): Do not expect the absence
19392 of "inexact" for some tests with non-integer arguments.
19393 (llround_test_data): Likewise.
19394
19395 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19396 test.
19397 (libc_cv_cc_sse2avx): Likewise.
19398 * sysdeps/i386/configure: Regenerated.
19399 * sysdeps/i386/i686/multiarch/Makefile
19400 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19401 [$(subdir) = math].
19402 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19403 code unconditional.
19404 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19405 Likewise.
19406 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19407 Likewise.
19408 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19409 Likewise.
19410 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19411 test.
19412 (libc_cv_cc_sse2avx): Likewise.
19413 * sysdeps/x86_64/configure: Regenerated.
19414 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19415 unconditional.
19416 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19417 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19418 unconditional.
19419 (_dl_runtime_profile)
19420 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19421 conditional code.
19422 * sysdeps/x86_64/fpu/multiarch/Makefile
19423 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19425 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19426 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19427 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19428 * sysdeps/x86_64/fpu/multiarch/e_log.c
19429 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19430 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19431 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19432 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19433 Likewise.
19434 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19435 Likewise.
19436 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19437 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19438 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19439 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19440 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19441 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19442 (HAVE_SSE2AVX_SUPPORT): Likewise.
19443
19444 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19445
19446 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19447 instead of #pragma optimize.
19448
19449 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19450
19451 [BZ #17195]
19452 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19453 as is similarly done in systrim and _int_free already.
19454
19455 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19456
19457 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19458
19459 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19460
19461 [BZ #19088]
19462 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19463 <limits.h>.
19464 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19465 overflows but exception would not result from cast.
19466 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19467 and <limits.h>.
19468 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19469 overflows but exception would not result from cast.
19470 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19471 <limits.h>.
19472 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19473 overflows but exception would not result from cast.
19474 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19475 <limits.h>.
19476 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19477 overflows but exception would not result from cast.
19478 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19479 <limits.h>.
19480 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19481 overflows but exception would not result from cast.
19482 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19483 <limits.h>.
19484 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19485 overflows but exception would not result from cast.
19486 * math/libm-test.inc (lround_test_data): Add more tests.
19487 (llround_test_data): Likewise.
19488
19489 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19490
19491 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19492 (CFLAGS-ialloc.c): Ditto.
19493 (CFLAGS-scheck.c): Ditto.
19494
19495 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19496
19497 [BZ #19086]
19498 * manual/filesys.texi (Storage Allocation): Fix argument order for
19499 posix_fallocate64.
19500
19501 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19502
19503 [BZ #19085]
19504 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19505 exponent below 48 inside case for non-overflowing exponent.
19506 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19507
19508 2015-10-07 Florian Weimer <fweimer@redhat.com>
19509
19510 * iconvdata/cp737.h (from_idx): Add const.
19511 * iconvdata/cp775.h (from_idx): Likewise.
19512
19513 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19514
19515 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19516 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19517 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19518
19519 [BZ #19079]
19520 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19521 file, conditioned on [!_LP64].
19522 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19523 [!_LP64] (__lround): Do not define as function or alias.
19524 [!_LP64] (lround): Likewise.
19525 [!_LP64] (__lroundl): Likewise.
19526 [!_LP64] (lroundl): Likewise.
19527 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19528 macro.
19529 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19530 Likewise.
19531
19532 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19533
19534 * math/libm-test.inc (lrint_test_data): Add more tests.
19535 (llrint_test_data): Likewise.
19536 (lround_test_data): Likewise.
19537 (llround_test_data): Likewise.
19538
19539 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19540 (llrint_test_data): Add tests used for lrint.
19541
19542 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19543 test.
19544 * sysdeps/i386/configure: Regenerated.
19545 * sysdeps/i386/i686/multiarch/Makefile
19546 [$(config-cflags-sse4) = yes]: Make code unconditional.
19547 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19548 Likewise.
19549 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19550 Likewise.
19551 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19552 test.
19553 * sysdeps/x86_64/configure: Regenerated.
19554 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19555 Make code unconditional.
19556 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19557 Likewise.
19558 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19559 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19560
19561 * scripts/rpm2dynsym.sh: Remove file.
19562
19563 2015-10-06 Florian Weimer <fweimer@redhat.com>
19564
19565 * configure.ac (libc_cv_cxx_thread_local): Define.
19566 * configure: Regenerate.
19567 * config.make.in (have-cxx-thread_local): Define.
19568 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19569 (LDLIBS-tst-thread_local1): Define.
19570 (tests): Add tst-thread_local1.
19571 [have-cxx-thread_local != yes] (tests-unsupported): Add
19572 tst-thread_local1.
19573 * nptl/tst-thread_local1.cc: New file.
19574
19575 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19576
19577 [BZ #19078]
19578 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19579 (u_thres): Likewise.
19580 (__expl): Determine whether to call __kernel_standard_l based on
19581 value of result, not argument.
19582
19583 * math/libm-test.inc (scalb_test_data): Add more expectations for
19584 the "inexact" exception.
19585
19586 [BZ #19077]
19587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19588 0.0L for argument 1.0L.
19589
19590 [BZ #19076]
19591 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19592 constant 0.0L when computing infinite result.
19593
19594 2015-10-06 Florian Weimer <fweimer@redhat.com>
19595
19596 [BZ #10432]
19597 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19598 malloc_usable_size.
19599
19600 2015-10-06 Florian Weimer <fweimer@redhat.com>
19601
19602 [BZ #19018]
19603 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19604 Mangle function pointer before storing it.
19605 (__call_tls_dtors): Demangle function pointer before calling it.
19606
19607 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19608
19609 [BZ #19012]
19610 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19611 Clean up on failure.
19612
19613 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19614
19615 [BZ #19071]
19616 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19617 long int variable to store possibly incremented high part of
19618 mantissa.
19619 * math/libm-test.inc (lround_test_data): Add tests used for
19620 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19621 for tests requiring 64-bit long. Do not condition tests on
19622 [TEST_FLOAT] unnecessarily.
19623 (llround_test_data): Add tests used for lround. Add another
19624 expectation for the "inexact" exception. Do not condition tests
19625 on [TEST_FLOAT] unnecessarily.
19626
19627 [BZ #887]
19628 [BZ #19049]
19629 [BZ #19050]
19630 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19631 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19632 <fix-int-fp-convert-zero.h>.
19633 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19634 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19635 <fix-int-fp-convert-zero.h>.
19636 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19637 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19638 <fix-int-fp-convert-zero.h>.
19639 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19640 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19641 <fix-int-fp-convert-zero.h>.
19642 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19643 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19644 <fix-int-fp-convert-zero.h>.
19645 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19646 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19647 <fix-int-fp-convert-zero.h>.
19648 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19649 * sysdeps/ieee754/flt-32/s_erff.c: Include
19650 <fix-int-fp-convert-zero.h>.
19651 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19652 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19653 <fix-int-fp-convert-zero.h>.
19654 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19656 <fix-int-fp-convert-zero.h>.
19657 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19659 <fix-int-fp-convert-zero.h>.
19660 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19661 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19662 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19663 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19664 file.
19665 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19666
19667 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19668
19669 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19670
19671 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19672
19673 [BZ #19059]
19674 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19675 overflowing computation.
19676 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19677 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19678 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19679 Likewise.
19680 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19681 Likewise.
19682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19683 Likewise.
19684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19685 Likewise.
19686 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19687 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19688 Likewise.
19689 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19690 Likewise.
19691 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19692
19693 * nss/rewrite_field.c (__nss_rewrite_field): Use
19694 internal_function.
19695 * nss/valid_field.c (__nss_valid_field): Likewise.
19696 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19697
19698 2015-10-02 Florian Weimer <fweimer@redhat.com>
19699
19700 [BZ #18724]
19701 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19702 (__nss_invalid_field_characters, __nss_valid_field)
19703 (__nss_valid_list_field, __nss_rewrite_field): Declare.
19704 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19705 tst-field.c: New file.
19706 * nss/Makefile (routines): Add valid_field, rewrite_field.
19707 (tests-static): Define unconditionally.
19708 (tests): Include tests-static.
19709 [build-static-nss] (tests-static): Use append.
19710 [build-static-nss] (tests): Remove modification.
19711 * nss/getent.c (print_group): Call putgrent. Report error.
19712 (print_gshadow): Call putsgent. Report error.
19713 (print_passwd): Call putpwent. Report error.
19714 (print_shadow): Call putspent. Report error.
19715 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19716 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19717 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
19718 name, password, directory, shell fields for valid syntax. Rewrite
19719 GECOS field to match syntax.
19720 * pwd/Makefile (tests): Add tst-putpwent.
19721 * pwd/tst-putpwent.c: New file.
19722 * grp/putgrent.c (putgrent): Convert to ISO function definition.
19723 Check grName, grpasswd, gr_mem fields for valid syntax.
19724 Change loop variable i to size_t.
19725 * grp/Makefile (tests): Add tst-putgrent.
19726 * grp/tst-putgrent.c: New file.
19727 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19728 valid syntax.
19729 * shadow/Makefile (tests): Add tst-putspent.
19730 * shadow/tst-putspent.c: New file.
19731 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19732 sg_mem fields for valid syntax.
19733 * gshadow/Makefile (tests): Add tst-putsgent.
19734 * gshadow/tst-putsgent.c: New file.
19735
19736 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19737
19738 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19739 assembly instructions.
19740
19741 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19742
19743 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19744 prefix from operands.
19745
19746 2015-10-01 Joseph Myers <joseph@codesourcery.com>
19747
19748 [BZ #16347]
19749 [BZ #19046]
19750 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19751 <libc-internal.h>.
19752 (MAXLGM): Do not use diagnostic control macros.
19753 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19754 threshold for ldbl-128ibm.
19755 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19756 instead of multiplying by log then subtracting.
19757 * math/auto-libm-test-in: Add more tests of lgamma.
19758 * math/auto-libm-test-out: Regenerated.
19759
19760 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19761 (TYPE_HEX_DIG): Likewise.
19762 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19763 precisions when printing floating-point numbers.
19764 (check_float_internal): Likewise.
19765
19766 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19767
19768 [BZ #16620]
19769 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19770 of log (10) rounded downward to 48 bits.
19771 (log10_low): Use corresponding low part of log (10).
19772
19773 [BZ #19032]
19774 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19775 compute result as (x - x) / (x - x) not as 0 / 0.
19776 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19777 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19778
19779 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19780 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19781 and expm1.
19782 * math/auto-libm-test-out: Regenerated.
19783 * math/libm-test.inc (acos_test_data): Add more tests.
19784 (asin_test_data): Likewise.
19785 (asinh_test_data): Likewise.
19786 (atan_test_data): Likewise.
19787 (atanh_test_data): Likewise.
19788 (atan2_test_data): Likewise.
19789 (cbrt_test_data): Likewise.
19790 (ceil_test_data): Likewise.
19791 (copysign_test_data): Likewise.
19792 (cos_test_data): Likewise.
19793 (cosh_test_data): Likewise.
19794 (erf_test_data): Likewise.
19795 (erfc_test_data): Likewise.
19796 (exp_test_data): Likewise.
19797 (exp10_test_data): Likewise.
19798 (exp2_test_data): Likewise.
19799 (expm1_test_data): Likewise.
19800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19801
19802 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19803
19804 [BZ #19006]
19805 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19806 to ...
19807 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19808 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19809 to ...
19810 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19811 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19812 to ...
19813 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19814 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19815 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19816 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19817 to ...
19818 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19819 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19820 Moved to ...
19821 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19822 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19823 Moved to ...
19824 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19825 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19826 to ...
19827 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19828 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19829 Moved to ...
19830 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19831 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19832 to ...
19833 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19834 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19835 Removed.
19836 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19837 Likewise.
19838 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19839 Likewise.
19840 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19841 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19842 Likewise.
19843 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19844 Likewise.
19845 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19846 Likewise.
19847 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19848 Likewise.
19849 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19850 Likewise.
19851 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19852 Likewise.
19853 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19854 Likewise.
19855 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19856 Likewise.
19857 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19858 Likewise.
19859 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19860 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19861 Likewise.
19862 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19863 Likewise.
19864 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19865 Likewise.
19866 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19867 Likewise.
19868 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19869 Likewise.
19870 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19871 Replace ../i486/pthread_cond_timedwait.S with
19872 ../pthread_cond_timedwait.S.
19873
19874 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19875
19876 * math/libm-test.inc (acos_test_data): Refine expectations for
19877 errno and "inexact" exceptions.
19878 (acosh_test_data): Likewise.
19879 (asin_test_data): Likewise.
19880 (asinh_test_data): Likewise.
19881 (atan_test_data): Likewise.
19882 (atanh_test_data): Likewise.
19883 (atan2_test_data): Likewise.
19884 (cbrt_test_data): Likewise.
19885 (ceil_test_data): Likewise.
19886 (copysign_test_data): Likewise.
19887 (cosh_test_data): Likewise.
19888 (erf_test_data): Likewise.
19889 (erfc_test_data): Likewise.
19890 (exp_test_data): Likewise.
19891 (exp10_test_data): Likewise.
19892 (exp2_test_data): Likewise.
19893 (expm1_test_data): Likewise.
19894 (fabs_test_data): Likewise.
19895 (floor_test_data): Likewise.
19896 (fma_test_data): Likewise.
19897 (fmax_test_data): Likewise.
19898 (fmin_test_data): Likewise.
19899 (fmod_test_data): Likewise.
19900 (fpclassify_test_data): Likewise.
19901 (frexp_test_data): Likewise.
19902 (hypot_test_data): Likewise.
19903 (ilogb_test_data): Likewise.
19904 (isgreater_test_data): Likewise.
19905 (isgreaterequal_test_data): Likewise.
19906 (isinf_test_data): Likewise.
19907 (isless_test_data): Likewise.
19908 (islessequal_test_data): Likewise.
19909 (islessgreater_test_data): Likewise.
19910 (isnan_test_data): Likewise.
19911 (isnormal_test_data): Likewise.
19912 (issignaling_test_data): Likewise.
19913 (isunordered_test_data): Likewise.
19914 (j0_test_data): Likewise.
19915 (j1_test_data): Likewise.
19916 (jn_test_data): Likewise.
19917 (lgamma_test_data): Likewise.
19918 (lrint_test_data): Likewise.
19919 (llrint_test_data): Likewise.
19920 (log_test_data): Likewise.
19921 (log10_test_data): Likewise.
19922 (log1p_test_data): Likewise.
19923 (log2_test_data): Likewise.
19924 (logb_test_data): Likewise.
19925 (lround_test_data): Likewise.
19926 (llround_test_data): Likewise.
19927 (modf_test_data): Likewise.
19928 (nearbyint_test_data): Likewise.
19929 (nextafter_test_data): Likewise.
19930 (nexttoward_test_data): Likewise.
19931 (pow_test_data): Likewise.
19932 (remainder_test_data): Likewise.
19933 (remquo_test_data): Likewise.
19934 (rint_test_data): Likewise.
19935 (round_test_data): Likewise.
19936 (signbit_test_data): Likewise.
19937 (sinh_test_data): Likewise.
19938 (sqrt_test_data): Likewise.
19939 (tanh_test_data): Likewise.
19940 (tgamma_test_data): Likewise.
19941 (trunc_test_data): Likewise.
19942 (y0_test_data): Likewise.
19943 (y1_test_data): Likewise.
19944 (yn_test_data): Likewise.
19945 (significand_test_data): Likewise.
19946
19947 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19948
19949 * manual/filesys.texi (Storage Allocation): Document that
19950 posix_fallocate emulation fails when fd is open with O_WRONLY.
19951
19952 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19953
19954 [BZ #19016]
19955 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19956 allow more cases with X^2 + Y^2 >= 0.5.
19957 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19958 normal element in sum instead of special-casing based on values of
19959 arguments.
19960 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19961 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19962 -1 as normal element in sum instead of special-casing based on
19963 values of arguments.
19964 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19965 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19966 (__x2y2m1): Update comment.
19967 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19968 as normal element in sum instead of special-casing based on values
19969 of arguments.
19970 * math/s_clog.c (__clog): Handle more cases using log1p without
19971 hypot.
19972 * math/s_clog10.c (__clog10): Likewise.
19973 * math/s_clog10f.c (__clog10f): Likewise.
19974 * math/s_clog10l.c (__clog10l): Likewise.
19975 * math/s_clogf.c (__clogf): Likewise.
19976 * math/s_clogl.c (__clogl): Likewise.
19977 * math/auto-libm-test-in: Add more tests of clog and clog10.
19978 * math/auto-libm-test-out: Regenerated.
19979 * sysdeps/i386/fpu/libm-test-ulps: Update.
19980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19981
19982 2015-09-28 Martin Sebor <msebor@redhat.com>
19983
19984 [BZ #18969]
19985 * string/Makefile (LOCALES): Define.
19986 (gen-locales.mk): Include.
19987 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19988 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19989 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19990 on setlocale failure.
19991
19992 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19993
19994 [BZ #18985]
19995 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19996 (__strftime_internal): Likewise.
19997 * time/tst-strftime.c (do_bz18985): New test.
19998 (do_test): Call it.
19999
20000 2015-09-26 Joseph Myers <joseph@codesourcery.com>
20001
20002 [BZ #18956]
20003 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20004 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
20005 extracting high part.
20006 * math/auto-libm-test-in: Add another test of pow.
20007 * math/auto-libm-test-out: Regenerated.
20008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20009
20010 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20011
20012 [BZ #18825]
20013 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20014 New macro.
20015 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20016 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20017 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20018 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20019 DBL_NARROW_EVAL, reloading the PIC register as needed.
20020 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20021 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20022 FLT_NARROW_EVAL. Use separate return path for case when first
20023 argument is NaN.
20024 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
20025 DEFINE_LDBL_MIN.
20026 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20027 PIC register.
20028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20029 math_check_force_underflow_nonneg.
20030 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20031 underflow for subnormal result.
20032 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20034 math_check_force_underflow_nonneg.
20035 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20036 math_check_force_underflow.
20037 * sysdeps/x86_64/fpu/x86_64-math-asm.h
20038 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20039 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
20040 DEFINE_LDBL_MIN.
20041 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20042 * math/auto-libm-test-in: Add more tests of pow.
20043 * math/auto-libm-test-out: Regenerated.
20044
20045 2015-09-25 Florian Weimer <fweimer@redhat.com>
20046
20047 * nss/bug17079.c (init_test_items): Add diagnostic for
20048 inconsistent entries.
20049 (test_buffer_size): Skip inconsistent entries.
20050
20051 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20052
20053 [BZ #13304]
20054 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20055 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20056 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20057
20058 [BZ #13304]
20059 * sysdeps/microblaze/s_fma.c: New file.
20060 * sysdeps/microblaze/s_fmaf.c: Likewise.
20061 * sysdeps/microblaze/sfp-machine.h: Likewise.
20062
20063 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
20064
20065 [BZ #17250]
20066 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20067 member.
20068
20069 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20070
20071 [BZ #18803]
20072 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20073 (MO): New macro.
20074 (__ieee754_hypot) [PIC]: Load PIC register.
20075 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20076 DBL_NARROW_EVAL.
20077 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20078 math_check_force_underflow_nonneg in case where result might be
20079 tiny.
20080 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20081 Likewise.
20082 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20083 Likewise.
20084 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20085 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20086 * math/auto-libm-test-in: Add more tests of hypot.
20087 * math/auto-libm-test-out: Regenerated.
20088
20089 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
20090
20091 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20092
20093 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20094
20095 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20096 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20097 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20098 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20099 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20100 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20101 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20102
20103 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20104 LOAD_PIC_REG.
20105
20106 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20107 (FLT_CHECK_FORCE_UFLOW): Likewise.
20108 (DBL_CHECK_FORCE_UFLOW): Likewise.
20109 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20110 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20111 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20112 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20113 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20114 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20115 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20116 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20117 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20118 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20119 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20120 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20121 (flt_min): Replace with use of DEFINE_FLT_MIN.
20122 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20123 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20124 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20125 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20126 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20127 (flt_min): Replace with use of DEFINE_FLT_MIN.
20128 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20129 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20130 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20131 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20132 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20133 (flt_min): Replace with use of DEFINE_FLT_MIN.
20134 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20135 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20136 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20137 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20138 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20139 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20140 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20141 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20142 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20143 (__atan): Use DBL_CHECK_FORCE_UFLOW.
20144 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20145 (flt_min): Replace with use of DEFINE_FLT_MIN.
20146 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20147 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20148 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20149 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
20150 main computation.
20151 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20152 (flt_min): Replace with use of DEFINE_FLT_MIN.
20153 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
20154 main computation.
20155 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20156 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20157 (MO): New macro.
20158 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20159 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20160 (flt_min): Replace with use of DEFINE_FLT_MIN.
20161 (MO): New macro.
20162 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20163 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20164 (__log1pl): Use MO.
20165
20166 [BZ #19003]
20167 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20168 $(config-cflags-nofma).
20169
20170 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20171
20172 * sysdeps/aarch64/libm-test-ulps: Regenerated.
20173
20174 2015-09-23 Joseph Myers <joseph@codesourcery.com>
20175
20176 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20177 (TWO127): Likewise.
20178
20179 * sysdeps/generic/math_private.h (fabs_tg): New macro.
20180 (min_of_type): Likewise.
20181 (math_check_force_underflow): Likewise.
20182 (math_check_force_underflow_nonneg): Likewise.
20183 (math_check_force_underflow_complex): Likewise.
20184 * math/e_exp2l.c (__ieee754_exp2l): Use
20185 math_check_force_underflow_nonneg.
20186 * math/k_casinh.c (__kernel_casinh): Likewise.
20187 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20188 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20189 * math/s_catan.c (__catan): Use
20190 math_check_force_underflow_complex.
20191 * math/s_catanf.c (__catanf): Likewise.
20192 * math/s_catanh.c (__catanh): Likewise.
20193 * math/s_catanhf.c (__catanhf): Likewise.
20194 * math/s_catanhl.c (__catanhl): Likewise.
20195 * math/s_catanl.c (__catanl): Likewise.
20196 * math/s_ccosh.c (__ccosh): Likewise.
20197 * math/s_ccoshf.c (__ccoshf): Likewise.
20198 * math/s_ccoshl.c (__ccoshl): Likewise.
20199 * math/s_cexp.c (__cexp): Likewise.
20200 * math/s_cexpf.c (__cexpf): Likewise.
20201 * math/s_cexpl.c (__cexpl): Likewise.
20202 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20203 * math/s_clog10.c (__clog10): Likewise.
20204 * math/s_clog10f.c (__clog10f): Likewise.
20205 * math/s_clog10l.c (__clog10l): Likewise.
20206 * math/s_clogf.c (__clogf): Likewise.
20207 * math/s_clogl.c (__clogl): Likewise.
20208 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20209 * math/s_csinf.c (__csinf): Likewise.
20210 * math/s_csinh.c (__csinh): Likewise.
20211 * math/s_csinhf.c (__csinhf): Likewise.
20212 * math/s_csinhl.c (__csinhl): Likewise.
20213 * math/s_csinl.c (__csinl): Likewise.
20214 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20215 * math/s_csqrtf.c (__csqrtf): Likewise.
20216 * math/s_csqrtl.c (__csqrtl): Likewise.
20217 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20218 * math/s_ctanf.c (__ctanf): Likewise.
20219 * math/s_ctanh.c (__ctanh): Likewise.
20220 * math/s_ctanhf.c (__ctanhf): Likewise.
20221 * math/s_ctanhl.c (__ctanhl): Likewise.
20222 * math/s_ctanl.c (__ctanl): Likewise.
20223 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20224 instead of volatile.
20225 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20226 math_check_force_underflow.
20227 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20228 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20229 volatile when forcing underflow.
20230 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20231 math_check_force_underflow_nonneg.
20232 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20233 Likewise.
20234 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20235 math_check_force_underflow.
20236 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20237 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20238 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20239 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20240 math_check_force_underflow_nonneg.
20241 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20242 math_check_force_underflow.
20243 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20245 instead of volatile.
20246 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20247 math_check_force_underflow.
20248 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20250 math_check_force_underflow_nonneg.
20251 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20252 math_check_force_underflow.
20253 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20254 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20255 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20256 math_check_force_underflow_nonneg.
20257 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20258 Likewise.
20259 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20260 math_check_force_underflow.
20261 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20262 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20263 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20264 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20265 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20266 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20267 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20268 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20269 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20270 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20271 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20272 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20273 Likewise.
20274 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20275 math_check_force_underflow_nonneg.
20276 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20277 Likewise.
20278 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20279 math_check_force_underflow.
20280 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20281 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20282 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20283 Likewise.
20284 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20285 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20286 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20287 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20288 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20289 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20291 instead of volatile.
20292 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20293 math_check_force_underflow.
20294 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20296 math_check_force_underflow.
20297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20298 Likewise.
20299 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20300 Use math_check_force_underflow_nonneg.
20301 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20302 math_check_force_underflow.
20303 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20304 Likewise.
20305 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20306 Likewise.
20307 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20308 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20309 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20310 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20312 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20313 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20314 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20316 math_check_force_underflow_nonneg.
20317 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20318 math_check_force_underflow.
20319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20320 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20321 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20322 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20323 math_check_force_underflow_nonneg.
20324 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20325 math_check_force_underflow.
20326 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20328 instead of volatile.
20329 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20330 math_check_force_underflow.
20331
20332 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20333 * stdlib/strtod_l.c: Include <math_private.h>.
20334 (overflow_value): Use math_narrow_eval.
20335 (underflow_value): Likewise.
20336 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20337 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20338 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20339 (__ieee754_gamma_r): Likewise.
20340 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20341 Likewise.
20342 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20343 Likewise.
20344 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20345 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20346 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20347 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20348 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20349 (__ieee754_gammaf_r): Likewise.
20350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20351 Likewise.
20352 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20353 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20354 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20355 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20356 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20357 volatile.
20358 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20359 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20360 math_narrow_eval.
20361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20362 Likewise.
20363 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20364 Likewise.
20365 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20366 Likewise.
20367 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20368 volatile.
20369 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20370 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20371 math_narrow_eval.
20372 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20373 Likewise.
20374 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20375 Likewise.
20376
20377 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20378
20379 * nptl/Versions: Remove ignored symbols.
20380
20381 2015-09-22 Florian Weimer <fweimer@redhat.com>
20382
20383 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20384 * nss/Makefile (tests): Update.
20385
20386 2015-09-22 Florian Weimer <fweimer@redhat.com>
20387
20388 * nss/bug18287.c: New file.
20389 * nss/Makefile (tests): Add bug18287.
20390
20391 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20392
20393 * mach/Versions (__mach_host_self_): Add symbol.
20394
20395 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20396
20397 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20398 vm_page_size.
20399
20400 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20401
20402 Really fix sysdeps/i386/fpu/s_scalbn.S build
20403
20404 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20405 (libc: GLIBC_2_22): Remove unused version set.
20406
20407 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20408
20409 * config.make.in (enable-timezone-tools): New variable.
20410 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20411 (enable_timezone_tools): Export to generated files.
20412 * configure: Regenerate.
20413 * INSTALL: Regenerate.
20414 * manual/install.texi (--disable-timezone-tools): Document new flag.
20415 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20416 ifeq ($(enable-timezone-tools),yes) check.
20417
20418 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20419
20420 * timezone/Makefile: Revert previous change.
20421
20422 [BZ #18980]
20423 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20424 (DEFINE_DBL_MIN): Likewise.
20425 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20426 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20427 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20428 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20429 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20430 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20431 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20432 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20433 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20434 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20435 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20436 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20437 (flt_min): Replace with use of DEFINE_FLT_MIN.
20438 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20439 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20440 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20441 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20442 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20443 (flt_min): Replace with use of DEFINE_FLT_MIN.
20444 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20445 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20446 (flt_min): Replace with use of DEFINE_FLT_MIN.
20447 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20448 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20449 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20450 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20451 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20452 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20453 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20454 (__ieee754_pow): Use DBL_NARROW_EVAL.
20455 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20456 (__ieee754_powf): Use FLT_NARROW_EVAL.
20457 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20458 (__ieee754_expf_sse2): Convert double-precision result to single
20459 precision.
20460 * sysdeps/i386/fpu/libm-test-ulps: Update.
20461
20462 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20463
20464 * timezone/Makefile: Ignore unused variable errors due to private.h
20465 (time_t_min) and (time_t_max).
20466 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20467 Likewise.
20468
20469 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20470
20471 [BZ #18981]
20472 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20473 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20474 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20475 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20476 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20477 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20478 (__scalbn): Use DBL_NARROW_EVAL.
20479 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20480 (__scalbnf): Use FLT_NARROW_EVAL.
20481
20482 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20483
20484 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20485 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20486 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20487 * stdio-common/printf_fp.c (___printf_fp):
20488 Use signbit to get the sign. Use isinf macro to allow inlining.
20489 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20490 * stdio-common/printf_size.c (__printf_size): Likewise.
20491
20492 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20493
20494 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20495
20496 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20497
20498 [BZ #18980]
20499 * sysdeps/generic/math_private.h: Include <float.h>.
20500 (math_narrow_eval): New macro.
20501 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20502 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20503 math_narrow_eval on overflowing return value.
20504 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20505 Likewise.
20506 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20507 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20508 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20509 Likewise.
20510 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20511
20512 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20513
20514 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20515 * math/Makefile: Remove isinf_ns.c.
20516 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20517 * math/multc3.c (__multc3): Likewise.
20518 * math/s_casin.c (__casin): Likewise.
20519 * math/s_casinf.c (__casinf): Likewise.
20520 * math/s_casinl.c (__casinl): Likewise.
20521 * math/s_cproj.c (__cproj): Likewise.
20522 * math/s_cprojf.c (__cprojf): Likewise.
20523 * math/s_cprojl.c (__cprofl): Likewise.
20524 * math/s_ctan.c (__ctan): Likewise.
20525 * math/s_ctanf.c (__ctanf): Likewise.
20526 * math/s_ctanh.c (__ctanh): Likewise.
20527 * math/s_ctanhf.c (__ctanhf): Likewise.
20528 * math/s_ctanhl.c (__ctanhl): Likewise.
20529 * math/s_ctanl.c (__ctanl): Likewise.
20530 * math/w_fmod.c (__fmod): Likewise.
20531 * math/w_fmodf.c (__fmodf): Likewise.
20532 * math/w_fmodl.c (_fmodl): Likewise.
20533 * math/w_remainder.c (__remainder): Likewise.
20534 * math/w_remainderf.c (__remainderf): Likewise.
20535 * math/w_remainderl.c (__remainderl): Likewise.
20536 * math/w_scalb.c (__scalb): Likewise.
20537 * math/w_scalbf.c (__scalbf): Likewise.
20538 * math/w_scalbl.c (__scalbl): Likewise.
20539 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20540 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20541 with isinf.
20542 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20544 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20545 __isinf_nsf with isinf.
20546 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20548 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20549 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20550 with isinf.
20551 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20552 __isinf_nsl with isinf.
20553 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20554 with isinf.
20555 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20556 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20557 __isinf_nsl with isinf.
20558 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20559 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20560 with isinf.
20561
20562 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20563
20564 * resolv/base64.c (rcsid): Remove unused static.
20565 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20566 static. (tqpi1): Likewise.
20567 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20568 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20569 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20570 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20571 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20572 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20573 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20574 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20575 Likewise.
20576
20577 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20578
20579 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20580 <nptl/pthreadP.h>.
20581 (_longjmp_unwind): Use __libc_ptf_call.
20582 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20583
20584 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20585
20586 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20587 * sysdeps/arm/__longjmp.S: Likewise.
20588
20589 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20590
20591 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20592 Use __builtin_signbit.
20593 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20594 Use __builtin_signbitf.
20595 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20596 Use __builtin_signbitl.
20597 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20598 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20599
20600 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20601
20602 [BZ #15367]
20603 [BZ #17441]
20604
20605 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20606 * math/math.h (fpclassify): Use __builtin_fpclassify when
20607 available. (signbit): Use __builtin_signbit(f/l).
20608 (isfinite): Use__builtin_isfinite. (isnormal): Use
20609 __builtin_isnormal. (isnan): Use __builtin_isnan.
20610 (isinf): Use __builtin_isinf_sign.
20611
20612 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20613
20614 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20615 * benchtests/bench-math-inlines.c: New benchmark.
20616 * benchtests/bench-util.h: New file.
20617 * benchtests/bench-util.c: New file.
20618 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20619
20620 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20621
20622 * elf/tst-dlmopen1.c: Define TEST_SO.
20623 (do_test): Use TEST_SO.
20624
20625 * elf/dl-load.c: Include libc-internal.h.
20626 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20627
20628 2015-09-18 Vincent Bernat <vincent@bernat.im>
20629
20630 [BZ #17887]
20631 * time/strptime_l.c (__strptime_internal): Make %z accept
20632 [+-]HH:MM time zones.
20633
20634 2015-09-18 Vincent Bernat <vincent@bernat.im>
20635
20636 [BZ #17886]
20637 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20638 valid time zone.
20639
20640 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20641
20642 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20643 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20644 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20645 (__ASSUME_FDATASYNC): Delete.
20646
20647 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20648
20649 * conform/linknamespace.pl: Require weak undefined symbols to be
20650 in the standard namespace.
20651 (%strong_syms): Rename to %seen_syms.
20652 (%strong_seen): Rename to %seen_where.
20653
20654 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20655
20656 [BZ #18970]
20657 * misc/error.c (error): Replace pthread_setcancelstate with
20658 __pthread_setcancelstate.
20659 (error_at_line): Likewise.
20660 * posix/wordexp.c (parse_comm): Likewise.
20661 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20662 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20663 (__pthread_setcancelstate): This.
20664 (pthread_setcancelstate): Add an alias.
20665 * nptl/nptl-init.c (pthread_functions): Replace
20666 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20667 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20668 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20669 hidden_proto.
20670 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20671 it with hidden_def.
20672 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20673 (pthread_setcancelstate): Renamed to ...
20674 (__pthread_setcancelstate): This.
20675 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20676 __libc_ptf_call with __pthread_setcancelstate.
20677
20678 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20679 Andreas Schwab <schwab@suse.de>
20680
20681 [BZ #17118]
20682 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20683 result when imaginary part of argument is infinite using sine and
20684 cosine.
20685 * math/s_ctanf.c (__ctanf): Likewise.
20686 * math/s_ctanl.c (__ctanl): Likewise.
20687 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20688 of result when real part of argument is infinite using sine and
20689 cosine.
20690 * math/s_ctanhf.c (__ctanhf): Likewise.
20691 * math/s_ctanhl.c (__ctanhl): Likewise.
20692 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20693 (ctanh_test_data): Add more tests of ctanh.
20694
20695 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20696
20697 [BZ #15384]
20698 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20699 bit-mask as in subtraction.
20700 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20701 Likewise.
20702 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20703 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20704 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20705
20706 [BZ #18951]
20707 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20708 underflow exception for small results.
20709 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20710 Likewise.
20711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20712 Likewise.
20713 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20714 Likewise.
20715 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20716 Likewise.
20717 * math/auto-libm-test-in: Add more tests of tgamma.
20718 * math/auto-libm-test-out: Regenerated.
20719
20720 2015-09-17 Andreas Schwab <schwab@suse.de>
20721
20722 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20723
20724 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20725
20726 [BZ #18977]
20727 * math/bits/mathcalls.h
20728 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20729 not declare.
20730 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20731 Likewise.
20732 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20733 Likewise.
20734 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20735 Likewise.
20736 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20737 Likewise.
20738 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20739 Likewise.
20740 * conform/data/math.h-data
20741 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20742 function.
20743 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20744 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20745 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20746 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20747 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20748 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20749 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20750 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20751 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20752 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20753 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20754
20755 [BZ #6803]
20756 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20757 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20758 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20759 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20760 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20761 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20762 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20763 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20764 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20766 Likewise.
20767 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20768 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20770 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20771 long_double_symbol calls.
20772 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20773 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20774 strong alias of __ldexpl.
20775 (scalbnl): Define using long_double_symbol.
20776 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20777 Remove alias.
20778 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20779 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20780 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20781 (scalbln_test_data): Add more errno expectations.
20782
20783 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20784
20785 Cache the host port like we cache the task port. This way we do not
20786 need to call the kernel just to get the port. Furthermore, we no
20787 longer increase the reference count on every invocation of
20788 `mach_host_self'.
20789
20790 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20791 Protect declarations against the macro expansion.
20792 * mach/mach_init.c (__mach_host_self_): New variable.
20793 (mach_init): Initialize `__mach_host_self_'.
20794 * mach/mach_init.h (__mach_host_self_): New declaration.
20795 (__mach_host_self, mach_host_self): New macros.
20796 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20797 Release reference.
20798
20799 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20800
20801 [BZ #4404]
20802 * po/de.po: Update from Translation Project.
20803
20804 [BZ #16415]
20805 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20806 (__expm1l): Remove code to handle positive infinity and overflow.
20807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20808 variable.
20809 (__expm1l): Remove code to handle positive infinity and overflow.
20810
20811 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20812 Paul Pluzhnikov <ppluzhnikov@google.com>
20813
20814 [BZ #18872]
20815 * stdio-common/Makefile (tst-printf-bz18872): New test.
20816 (tst-printf-bz18872-mem.out): Likewise.
20817 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20818 * stdio-common/vfprintf.c: Fix memory leaks.
20819
20820 2015-09-16 Andreas Schwab <schwab@suse.de>
20821
20822 [BZ #17244]
20823 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20824 Remove extra va_start/va_end calls.
20825
20826 [BZ #17243]
20827 * posix/execl.c (execl): Add missing va_end.
20828 * posix/execle.c (execle): Likewise.
20829 * posix/execlp.c (execlp): Likewise.
20830
20831 2015-09-15 Roland McGrath <roland@hack.frob.com>
20832
20833 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20834 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20835
20836 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20837
20838 [BZ #18967]
20839 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20840 undefine around includes of <bits/mathcalls.h>.
20841 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20842 not declare function.
20843 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20844 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20845 (scalb): Likewise.
20846 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20847 not define macro.
20848 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20849 variable.
20850 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20851 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20852 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20853
20854 [BZ #18857]
20855 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20856 return non-finite argument without doing ordered comparisons on
20857 it.
20858
20859 [BZ #16296]
20860 * math/fenv.h (fegetround): Use __attribute_pure__.
20861 * include/fenv.h (__fegetround): Likewise.
20862
20863 [BZ #18595]
20864 * math/s_ctan.c (__ctan): Force underflow exception for results
20865 whose real or imaginary part has small absolute value.
20866 * math/s_ctanf.c (__ctanf): Likewise.
20867 * math/s_ctanh.c (__ctanh): Likewise.
20868 * math/s_ctanhf.c (__ctanhf): Likewise.
20869 * math/s_ctanhl.c (__ctanhl): Likewise.
20870 * math/s_ctanl.c (__ctanl): Likewise.
20871 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20872 and ctanh. Add more tests of ctan and ctanh.
20873
20874 [BZ #15918]
20875 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20876 handling of cases where one argument is an infinity.
20877
20878 [BZ #18875]
20879 [BZ #18966]
20880 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20881 (MO): New macro.
20882 (__ieee754_exp10): For small results, force underflow exception
20883 and remove excess range and precision from return value.
20884 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20885 (MO): New macro.
20886 (__ieee754_exp10f): For small results, force underflow exception
20887 and remove excess range and precision from return value.
20888 * math/auto-libm-test-in: Add more tests of exp10.
20889 * math/auto-libm-test-out: Regenerated.
20890
20891 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20892
20893 [BZ #18875]
20894 [BZ #18961]
20895 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20896 (MO): New macro.
20897 (__ieee754_exp): For small results, force underflow exception and
20898 remove excess range and precision from return value.
20899 (__exp_finite): Likewise.
20900 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20901 (MO): New macro.
20902 (__ieee754_expf): For small results, force underflow exception and
20903 remove excess range and precision from return value.
20904 (__expf_finite): Likewise.
20905 * math/auto-libm-test-in: Add more tests of exp.
20906 * math/auto-libm-test-out: Regenerated.
20907
20908 [BZ #16521]
20909 [BZ #18875]
20910 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20911 small results.
20912 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20913 (MO): New macro.
20914 (__ieee754_exp2): For small results, force underflow exception and
20915 remove excess range and precision from return value.
20916 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20917 (MO): New macro.
20918 (__ieee754_exp2f): For small results, force underflow exception
20919 and remove excess range and precision from return value.
20920 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20921 (MO): New macro.
20922 (__ieee754_exp2l): Force underflow exception for small results.
20923 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20924 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20925 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20926 (MO): New macro.
20927 (__ieee754_exp2l): Force underflow exception for small results.
20928 * math/auto-libm-test-in: Add more tests or exp2.
20929 * math/auto-libm-test-out: Regenerated.
20930
20931 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20932
20933 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20934
20935 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20936 /dev/null.
20937
20938 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20939
20940 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20941 io fs process)): Drop spurious backslash.
20942
20943 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20944
20945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20946 Use sysinfo system call instead of parsing /proc/meminfo.
20947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20948 Likewise.
20949
20950 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20951
20952 [BZ #16985]
20953 * programs/localedef.c (main): Display argv[remaining] when
20954 output_path is NULL.
20955
20956 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20957
20958 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20959 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20960 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20961 tanh.
20962 * math/auto-libm-test-out: Regenerated.
20963 * sysdeps/i386/fpu/libm-test-ulps: Update.
20964 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20965 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20967
20968 2015-09-11 Roland McGrath <roland@hack.frob.com>
20969
20970 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20971 Use 'override' keyword to freeze the value here, preventing
20972 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20973
20974 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20975
20976 [BZ #14912]
20977 * sysdeps/aarch64/bits/atomic.h: Move to ...
20978 * sysdeps/aarch64/atomic-machine.h: ...here.
20979 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20980 _AARCH64_ATOMIC_MACHINE_H.
20981 * sysdeps/alpha/bits/atomic.h: Move to ...
20982 * sysdeps/alpha/atomic-machine.h: ...here.
20983 * sysdeps/arm/bits/atomic.h: Move to ...
20984 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20985 * bits/atomic.h: Move to ...
20986 * sysdeps/generic/atomic-machine.h: ...here.
20987 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20988 * sysdeps/i386/bits/atomic.h: Move to ...
20989 * sysdeps/i386/atomic-machine.h: ...here.
20990 * sysdeps/ia64/bits/atomic.h: Move to ...
20991 * sysdeps/ia64/atomic-machine.h: ...here.
20992 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20993 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20994 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20995 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20996 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20997 * sysdeps/microblaze/bits/atomic.h: Move to ...
20998 * sysdeps/microblaze/atomic-machine.h: ...here.
20999 * sysdeps/mips/bits/atomic.h: Move to ...
21000 * sysdeps/mips/atomic-machine.h: ...here.
21001 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21002 * sysdeps/powerpc/bits/atomic.h: Move to ...
21003 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
21004 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21005 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
21006 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
21007 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21008 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
21009 <atomic-machine.h> instead of <bits/atomic.h>.
21010 * sysdeps/s390/bits/atomic.h: Move to ...
21011 * sysdeps/s390/atomic-machine.h: ...here.
21012 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21013 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21014 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21015 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21016 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21017 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21018 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21019 * sysdeps/tile/bits/atomic.h: Move to ...
21020 * sysdeps/tile/atomic-machine.h: ...here.
21021 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21022 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
21023 <sysdeps/tile/atomic-machine.h> instead of
21024 <sysdeps/tile/bits/atomic.h>.
21025 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21026 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21027 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
21028 <sysdeps/tile/atomic-machine.h> instead of
21029 <sysdeps/tile/bits/atomic.h>.
21030 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21031 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21032 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
21033 <sysdeps/arm/atomic-machine.h> instead of
21034 <sysdeps/arm/bits/atomic.h>.
21035 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21036 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21037 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21038 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21039 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21040 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21041 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21042 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21043 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21044 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21045 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21046 * sysdeps/x86_64/bits/atomic.h: Move to ...
21047 * sysdeps/x86_64/atomic-machine.h: ...here.
21048 * include/atomic.h: Include <atomic-machine.h> instead of
21049 <bits/atomic.h>.
21050
21051 * sysdeps/mips/mips32/libm-test-ulps: Update.
21052 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21053
21054 [BZ #18952]
21055 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21056 not convert non-integer negative arguments to int to determine the
21057 value of signgam.
21058 * math/auto-libm-test-in: Add more tests of lgamma.
21059 * math/auto-libm-test-out: Regenerated.
21060
21061 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21062 cosh, csqrt, erfc, expm1 and lgamma.
21063 * math/auto-libm-test-out: Regenerated.
21064 * sysdeps/i386/fpu/libm-test-ulps: Update.
21065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21066
21067 2015-09-10 Joseph Myers <joseph@codesourcery.com>
21068
21069 [BZ #2542]
21070 [BZ #2543]
21071 [BZ #2558]
21072 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21073 __lgamma_neg for arguments from -28.0 to -2.0.
21074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21075 __lgamma_negf for arguments from -15.0 to -2.0.
21076 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21077 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21078 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21079 Call __lgamma_negl for arguments from -33.0 to -2.0.
21080 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21081 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21082 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21083 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21084 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21090 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21091 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21092 (__lgamma_neg): Likewise.
21093 (__lgamma_negl): Likewise.
21094 (__lgamma_product): Likewise.
21095 (__lgamma_productl): Likewise.
21096 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21097 * math/auto-libm-test-in: Add more tests of lgamma.
21098 * math/auto-libm-test-out: Regenerated.
21099 * sysdeps/i386/fpu/libm-test-ulps: Update.
21100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21101
21102 2015-09-09 Justin Maggard <jmaggard@netgear.com>
21103
21104 [BZ #18675]
21105 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21106
21107 2015-09-08 Joseph Myers <joseph@codesourcery.com>
21108
21109 [BZ #14912]
21110 * bits/libc-lock.h: Move to ...
21111 * sysdeps/generic/libc-lock.h: ...here.
21112 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21113 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21114 * sysdeps/mach/hurd/libc-lock.h: ...here.
21115 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21116 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21117 * sysdeps/mach/bits/libc-lock.h: Move to ...
21118 * sysdeps/mach/libc-lock.h: ...here.
21119 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21120 * sysdeps/nptl/bits/libc-lock.h: Move to ...
21121 * sysdeps/nptl/libc-lock.h: ...here.
21122 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21123 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21124 * sysdeps/nptl/libc-lockP.h: ...here.
21125 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21126 * crypt/crypt_util.c: Include <libc-lock.h> instead of
21127 <bits/libc-lock.h>.
21128 * dirent/scandir-tail.c: Likewise.
21129 * dlfcn/dlerror.c: Likewise.
21130 * elf/dl-close.c: Likewise.
21131 * elf/dl-iteratephdr.c: Likewise.
21132 * elf/dl-lookup.c: Likewise.
21133 * elf/dl-open.c: Likewise.
21134 * elf/dl-support.c: Likewise.
21135 * elf/dl-writev.h: Likewise.
21136 * elf/rtld.c: Likewise.
21137 * grp/fgetgrent.c: Likewise.
21138 * gshadow/fgetsgent.c: Likewise.
21139 * gshadow/sgetsgent.c: Likewise.
21140 * iconv/gconv_conf.c: Likewise.
21141 * iconv/gconv_db.c: Likewise.
21142 * iconv/gconv_dl.c: Likewise.
21143 * iconv/gconv_int.h: Likewise.
21144 * iconv/gconv_trans.c: Likewise.
21145 * include/link.h: Likewise.
21146 * inet/getnameinfo.c: Likewise.
21147 * inet/getnetgrent.c: Likewise.
21148 * inet/getnetgrent_r.c: Likewise.
21149 * intl/bindtextdom.c: Likewise.
21150 * intl/dcigettext.c: Likewise.
21151 * intl/finddomain.c: Likewise.
21152 * intl/gettextP.h: Likewise.
21153 * intl/loadmsgcat.c: Likewise.
21154 * intl/localealias.c: Likewise.
21155 * intl/textdomain.c: Likewise.
21156 * libidn/idn-stub.c: Likewise.
21157 * libio/libioP.h: Likewise.
21158 * locale/duplocale.c: Likewise.
21159 * locale/freelocale.c: Likewise.
21160 * locale/newlocale.c: Likewise.
21161 * locale/setlocale.c: Likewise.
21162 * login/getutent_r.c: Likewise.
21163 * login/getutid_r.c: Likewise.
21164 * login/getutline_r.c: Likewise.
21165 * login/utmp-private.h: Likewise.
21166 * login/utmpname.c: Likewise.
21167 * malloc/mtrace.c: Likewise.
21168 * misc/efgcvt.c: Likewise.
21169 * misc/error.c: Likewise.
21170 * misc/fstab.c: Likewise.
21171 * misc/getpass.c: Likewise.
21172 * misc/mntent.c: Likewise.
21173 * misc/syslog.c: Likewise.
21174 * nis/nis_call.c: Likewise.
21175 * nis/nis_callback.c: Likewise.
21176 * nis/nss-default.c: Likewise.
21177 * nis/nss_compat/compat-grp.c: Likewise.
21178 * nis/nss_compat/compat-initgroups.c: Likewise.
21179 * nis/nss_compat/compat-pwd.c: Likewise.
21180 * nis/nss_compat/compat-spwd.c: Likewise.
21181 * nis/nss_nis/nis-alias.c: Likewise.
21182 * nis/nss_nis/nis-ethers.c: Likewise.
21183 * nis/nss_nis/nis-grp.c: Likewise.
21184 * nis/nss_nis/nis-hosts.c: Likewise.
21185 * nis/nss_nis/nis-network.c: Likewise.
21186 * nis/nss_nis/nis-proto.c: Likewise.
21187 * nis/nss_nis/nis-pwd.c: Likewise.
21188 * nis/nss_nis/nis-rpc.c: Likewise.
21189 * nis/nss_nis/nis-service.c: Likewise.
21190 * nis/nss_nis/nis-spwd.c: Likewise.
21191 * nis/nss_nisplus/nisplus-alias.c: Likewise.
21192 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21193 * nis/nss_nisplus/nisplus-grp.c: Likewise.
21194 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21195 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21196 * nis/nss_nisplus/nisplus-network.c: Likewise.
21197 * nis/nss_nisplus/nisplus-proto.c: Likewise.
21198 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21199 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21200 * nis/nss_nisplus/nisplus-service.c: Likewise.
21201 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21202 * nis/ypclnt.c: Likewise.
21203 * nptl/libc_pthread_init.c: Likewise.
21204 * nss/getXXbyYY.c: Likewise.
21205 * nss/getXXent.c: Likewise.
21206 * nss/getXXent_r.c: Likewise.
21207 * nss/nss_db/db-XXX.c: Likewise.
21208 * nss/nss_db/db-netgrp.c: Likewise.
21209 * nss/nss_db/nss_db.h: Likewise.
21210 * nss/nss_files/files-XXX.c: Likewise.
21211 * nss/nss_files/files-alias.c: Likewise.
21212 * nss/nsswitch.c: Likewise.
21213 * posix/regex_internal.h: Likewise.
21214 * posix/wordexp.c: Likewise.
21215 * pwd/fgetpwent.c: Likewise.
21216 * resolv/res_hconf.c: Likewise.
21217 * resolv/res_libc.c: Likewise.
21218 * shadow/fgetspent.c: Likewise.
21219 * shadow/lckpwdf.c: Likewise.
21220 * shadow/sgetspent.c: Likewise.
21221 * socket/opensock.c: Likewise.
21222 * stdio-common/reg-modifier.c: Likewise.
21223 * stdio-common/reg-printf.c: Likewise.
21224 * stdio-common/reg-type.c: Likewise.
21225 * stdio-common/vfprintf.c: Likewise.
21226 * stdio-common/vfscanf.c: Likewise.
21227 * stdlib/abort.c: Likewise.
21228 * stdlib/cxa_atexit.c: Likewise.
21229 * stdlib/fmtmsg.c: Likewise.
21230 * stdlib/random.c: Likewise.
21231 * stdlib/setenv.c: Likewise.
21232 * string/strsignal.c: Likewise.
21233 * sunrpc/auth_none.c: Likewise.
21234 * sunrpc/bindrsvprt.c: Likewise.
21235 * sunrpc/create_xid.c: Likewise.
21236 * sunrpc/key_call.c: Likewise.
21237 * sunrpc/rpc_thread.c: Likewise.
21238 * sysdeps/arm/backtrace.c: Likewise.
21239 * sysdeps/generic/ldsodefs.h: Likewise.
21240 * sysdeps/generic/stdio-lock.h: Likewise.
21241 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21242 * sysdeps/i386/backtrace.c: Likewise.
21243 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21244 * sysdeps/m68k/backtrace.c: Likewise.
21245 * sysdeps/mach/hurd/cthreads.c: Likewise.
21246 * sysdeps/mach/hurd/dirstream.h: Likewise.
21247 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21248 * sysdeps/nptl/malloc-machine.h: Likewise.
21249 * sysdeps/nptl/stdio-lock.h: Likewise.
21250 * sysdeps/posix/dirstream.h: Likewise.
21251 * sysdeps/posix/getaddrinfo.c: Likewise.
21252 * sysdeps/posix/system.c: Likewise.
21253 * sysdeps/pthread/aio_suspend.c: Likewise.
21254 * sysdeps/s390/s390-32/backtrace.c: Likewise.
21255 * sysdeps/s390/s390-64/backtrace.c: Likewise.
21256 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21257 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21258 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21259 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21260 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21261 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21262 * sysdeps/unix/sysv/linux/system.c: Likewise.
21263 * sysdeps/x86_64/backtrace.c: Likewise.
21264 * time/alt_digit.c: Likewise.
21265 * time/era.c: Likewise.
21266 * time/tzset.c: Likewise.
21267 * wcsmbs/wcsmbsload.c: Likewise.
21268 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21269 instead of <bits/libc-lock.h> in comment.
21270
21271 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
21272
21273 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21274 Only use .set mips2 if the current ISA is below mips2.
21275 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21276 Likewise.
21277 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21278 mips32r2 if the current ISA is below mips32r2.
21279 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21280 (TLS_IE): Updated to use the TLD_RDHWR macro.
21281 (TLS_LE): Likewise.
21282 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21283 __ASSEMBLER__ condition.
21284
21285 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21286
21287 Fix parallel build of before-compile targets.
21288
21289 * sysdeps/mach/Makefile ($(patsubst
21290 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21291 mach-before-compile target.
21292 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21293 io fs process)): Move rule to dedicated hurd-before-compile target.
21294
21295 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21296
21297 Fix rules generating headers in hurd/ and mach/ when initial make call
21298 has subdir= explicitly set.
21299
21300 * sysdeps/mach/Makefile ($(patsubst
21301 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21302 calling $(MAKE).
21303 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21304 io fs process)): Force subdir to hurd when calling $(MAKE).
21305 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21306 subdir to mach when calling $(MAKE).
21307
21308 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
21309
21310 Check sysheaders when looking for Mach and Hurd headers
21311
21312 * sysdeps/mach/configure.ac: Add sysheaders check.
21313 * sysdeps/mach/configure: Regenerate.
21314 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21315 * sysdeps/mach/hurd/configure: Regenerate.
21316
21317 2015-09-04 Roland McGrath <roland@hack.frob.com>
21318
21319 [BZ #18921]
21320 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21321 Fix inverted sense of test of 'o_directory_works' value.
21322 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21323 Bernhard Voelker <mail@bernhard-voelker.de>.
21324
21325 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21326
21327 [BZ #14912]
21328 * bits/linkmap.h: Move to ...
21329 * sysdeps/generic/linkmap.h: ...here.
21330 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21331 * sysdeps/aarch64/linkmap.h: ...here.
21332 * sysdeps/arm/bits/linkmap.h: Move to ...
21333 * sysdeps/arm/linkmap.h: ...here.
21334 * sysdeps/hppa/bits/linkmap.h: Move to ...
21335 * sysdeps/hppa/linkmap.h: ...here.
21336 * sysdeps/ia64/bits/linkmap.h: Move to ...
21337 * sysdeps/ia64/linkmap.h: ...here.
21338 * sysdeps/mips/bits/linkmap.h: Move to ...
21339 * sysdeps/mips/linkmap.h: ...here.
21340 * sysdeps/s390/bits/linkmap.h: Move to ...
21341 * sysdeps/s390/linkmap.h: ...here.
21342 * sysdeps/sh/bits/linkmap.h: Move to ...
21343 * sysdeps/sh/linkmap.h: ...here.
21344 * sysdeps/x86/bits/linkmap.h: Move to ...
21345 * sysdeps/x86/linkmap.h: ...here.
21346 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21347
21348 2015-09-04 Andreas Schwab <schwab@suse.de>
21349
21350 [BZ #18635]
21351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21352 (__makecontext): Terminate FDE before return label.
21353 (__novec_makecontext): Likewise.
21354
21355 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21356
21357 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21358 first member of struct sv in syscall macro.
21359
21360 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21361
21362 [BZ #14912]
21363 * bits/stdio-lock.h: Move to ...
21364 * sysdeps/generic/stdio-lock.h: ...here.
21365 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21366 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21367 * sysdeps/nptl/stdio-lock.h: ...here.
21368 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21369 * include/libio.h: Include <stdio-lock.h> instead of
21370 <bits/stdio-lock.h>.
21371 * sysdeps/nptl/fork.c: Likewise.
21372 * sysdeps/pthread/flockfile.c: Likewise.
21373 * sysdeps/pthread/ftrylockfile.c: Likewise.
21374 * sysdeps/pthread/funlockfile.c: Likewise.
21375
21376 [BZ #14912]
21377 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21378 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21379 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21380 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21381 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21382 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21383 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21384
21385 2015-09-03 Roland McGrath <roland@hack.frob.com>
21386
21387 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21388 (test-xfail-tst-protected1b): New variable.
21389
21390 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21391
21392 [BZ #14912]
21393 * bits/libc-tsd.h: Move to ...
21394 * sysdeps/generic/libc-tsd.h: ...here.
21395 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21396 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21397 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21398 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21399 * include/ctype.h: Include <libc-tsd.h> instead of
21400 <bits/libc-tsd.h>.
21401 * include/rpc/rpc.h: Likewise.
21402 * locale/localeinfo.h: Likewise.
21403 * sunrpc/rpc_thread.c: Likewise.
21404 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21405 * sysdeps/nptl/malloc-machine.h: Likewise.
21406
21407 * Makefile (headers): Remove bits/libc-lock.h.
21408 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21409
21410 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21411 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21412 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21413 <bits/stdio-lock.h>.
21414 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21415 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21416
21417 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21418
21419 [BZ #18757]
21420 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21421 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21422 BZ #18757.
21423
21424 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21425
21426 * malloc/mtrace.pl: Filter out NULL entries.
21427
21428 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21429
21430 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21431 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21432 macro.
21433
21434 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21435 (TCP_CC_INFO): Likewise.
21436 (TCP_SAVE_SYN): Likewise.
21437 (TCP_SAVED_SYN): Likewise.
21438
21439 2015-08-31 Brett Neumeier <brett@neumeier.us>
21440
21441 [BZ #18870]
21442 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21443
21444 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21445
21446 [BZ #18873]
21447 Fix broken overflow check in posix_fallocate
21448 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21449 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21450 Fix parenthesization typo.
21451
21452 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21453
21454 [BZ #18887]
21455 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21456 tst-mntent-blank-passno.
21457 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21458 * misc/tst-mntent-blank-corrupt.c: New test.
21459 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21460 * misc/tst-mntent.c (do_test): ... here.
21461
21462 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21463
21464 [BZ #4404]
21465 * po/de.po: Fix SIGALRM typo.
21466
21467 2015-08-28 James Perkins <james@loowit.net>
21468
21469 * time/tst-strptime2.c (tests): Replace short list of test
21470 strings for strptime %z specifier with code which exhaustively
21471 tests every combination of sign and 0 to 5 digits. Tests for
21472 rejection of invalid strings.
21473
21474 2015-08-28 James Perkins <james@loowit.net>
21475
21476 [BZ #16141]
21477 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21478 calculation, removing incorrect decimal time rounding, so that
21479 all minute values result in a valid seconds value.
21480 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21481 offset range limits to UTC-99:59 through UTC+99:59 to parse
21482 current and historical use cases.
21483 * time/tst-strptime2.c (tests): Modify and add tests for the
21484 strptime %z input field descriptor, specifically conversion of
21485 minutes to seconds and validating an offset range of -9959 to
21486 +9959.
21487
21488 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21489 Dmitry V. Levin <ldv@altlinux.org>
21490
21491 [BZ #18877]
21492 * posix/Makefile (tests): Add tst-mmap-offset.
21493 * posix/tst-mmap.c: New file.
21494 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21495 offset calculation for negative values.
21496
21497 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21498
21499 * sysdeps/i386/init-arch.h: New file.
21500 * sysdeps/i386/i586/init-arch.h: Likewise.
21501 * sysdeps/i386/i686/init-arch.h: Likewise.
21502 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21503 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21504 * sysdeps/x86/cpu-features.h (bit_I586): New.
21505 (bit_I686): Likewise.
21506 (bit_CX8): Likewise.
21507 (bit_CMOV): Likewise.
21508 (index_CX8): Likewise.
21509 (index_CMOV): Likewise.
21510 (index_I586): Likewise.
21511 (index_I686): Likewise.
21512 (reg_CX8): Likewise.
21513 (reg_CMOV): Likewise.
21514 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21515 available at compile-time.
21516 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21517 available at compile-time.
21518 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21519 (USE_I686): Likewise.
21520
21521 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21522
21523 * sysdeps/i386/bcopy.S: New file.
21524 * sysdeps/i386/bzero.S: Likewise.
21525 * sysdeps/i386/memcpy.S: Likewise.
21526 * sysdeps/i386/memmove.S: Likewise.
21527 * sysdeps/i386/mempcpy.S: Likewise.
21528 * sysdeps/i386/memset.S: Likewise.
21529 * sysdeps/i386/bzero.c: Removed.
21530 * sysdeps/i386/memset.c: Likewise.
21531 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21532 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21533 * sysdeps/i386/i586/memset_chk.S: Likewise.
21534 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21535 * sysdeps/i386/memcpy_chk.S: Here.
21536 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21537 * sysdeps/i386/memmove_chk.S: Here.
21538 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21539 * sysdeps/i386/mempcpy_chk.S: Likewise.
21540 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21541 * sysdeps/i386/memset_chk.S: Likewise.
21542
21543 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21544
21545 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21546 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21547 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21548 * soft-fp/fmadf4.c: Ditto.
21549 * soft-fp/fmatf4.c: Ditto.
21550
21551 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21552
21553 * sysdeps/i386/i586/Implies: Removed.
21554 * sysdeps/i386/i686/Implies: Likewise.
21555
21556 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21557
21558 * sysdeps/i386/i486/strlen.S: Moved to ...
21559 * sysdeps/i386/strlen.S: Here.
21560
21561 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21562
21563 * sysdeps/i386/i486/strcat.S: Moved to ...
21564 * sysdeps/i386/strcat.S: Here.
21565
21566 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21567
21568 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21569 * sysdeps/i386/pthread_spin_trylock.S: Here.
21570 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21571 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21572
21573 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21574
21575 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21576 * sysdeps/i386/string-inlines.c: Here.
21577
21578 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * sysdeps/i386/i486/htonl.S: Moved ...
21581 * sysdeps/i386/htonl.S: here.
21582
21583 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21584
21585 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21586 * sysdeps/i386/bits/atomic.h: Here.
21587
21588 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21589
21590 * sysdeps/i386/i486/Versions: Removed.
21591
21592 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21593
21594 [BZ #2898]
21595 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21596 Based on patch by Aurelien Jarno.
21597
21598 2015-08-26 Stan Shebs <stanshebs@google.com>
21599
21600 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21601 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21602
21603 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21604
21605 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21606 * sysdeps/powerpc/dl-procinfo.c:
21607 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21608 feature so it shows when LD_SHOW_AUXV=1.
21609
21610 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21611
21612 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21613 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21614 definition. ISA 2.07B no longer requires full sync.
21615
21616 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21617
21618 [BZ #18863]
21619 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21620 (si_call_addr): Define.
21621 (si_syscall): Define.
21622 (si_arch): Define.
21623
21624 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21625
21626 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21627 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21628 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21629 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21630 (__memset_zero_constant_len_parameter): New.
21631 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21632 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21633 (__memset_zero_constant_len_parameter): Don't define if
21634 __memset_chk or USE_AS_BZERO are defined.
21635
21636 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21637 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21638 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21639
21640 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21641 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21642 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21643 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21644 comments.
21645 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21646 -mno-mmx for $(all-rtld-routines).
21647 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21648 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21649 i386.
21650
21651 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21652
21653 * sysdeps/generic/unwind.h
21654 (_Unwind_Word): Use __mode__(__unwind_word__)
21655 instead of __mode__(__word__).
21656 (_Unwind_Sword): Likewise.
21657
21658 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21659 (MAX_NEEDED_INPUT): New define.
21660 (MAX_NEEDED_OUTPUT): New define.
21661
21662 * NEWS: New item for IBM z13 string optimizations.
21663
21664 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21665 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21666 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21667 * sysdeps/s390/multiarch/Makefile
21668 (sysdep_routines): Add memrchr functions.
21669 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21670 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21671
21672 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21673 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21674 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21675 * sysdeps/s390/multiarch/Makefile
21676 (sysdep_routines): Add wmemcmp functions.
21677 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21678 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21679 * benchtests/bench-wmemcmp.c: New File.
21680 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21681
21682 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21683 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21684 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21685 * sysdeps/s390/multiarch/Makefile
21686 (sysdep_routines): Add wmemset functions.
21687 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21688 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21689 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21690 * string/test-memset.c: Add wmemset support.
21691 * wcsmbs/test-wmemset.c: New File.
21692 * wcsmbs/Makefile (strop-tests): Add wmemset.
21693 * benchtests/bench-memset.c: Add wmemset support.
21694 * benchtests/bench-wmemset.c: New File.
21695 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21696
21697 * sysdeps/s390/multiarch/memccpy-c.c: New File.
21698 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21699 * sysdeps/s390/multiarch/memccpy.c: Likewise.
21700 * sysdeps/s390/multiarch/Makefile
21701 (sysdep_routines): Add memccpy functions.
21702 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21703 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21704 * string/memccpy.c: Use MEMCCPY if defined.
21705
21706 * sysdeps/s390/multiarch/memchr-vx.S: New File.
21707 * sysdeps/s390/multiarch/memchr.c: Likewise.
21708 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21709 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21710 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21711 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21712 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21713 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21714 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21715 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21716 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21717 and rawmemchr functions.
21718 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21719 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21720 and wmemchr.
21721 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21722 * string/test-memchr.c: Add wmemchr support.
21723 * wcsmbs/test-wmemchr.c: New File.
21724 * wcsmbs/Makefile (strop-tests): Add wmemchr.
21725 * benchtests/bench-memchr.c: Add wmemchr support.
21726 * benchtests/bench-wmemchr.c: New File.
21727 * benchtests/Makefile (wcsmbs-bench): wmemchr.
21728
21729 * sysdeps/s390/multiarch/strcspn-c.c: New File.
21730 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21731 * sysdeps/s390/multiarch/strcspn.c: Likewise.
21732 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21733 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21734 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21735 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21736 wcscspn functions.
21737 * sysdeps/s390/multiarch/ifunc-impl-list.c
21738 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21739 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21740 * string/test-strcspn.c: Add wcscspn support.
21741 * wcsmbs/test-wcscspn.c: New File.
21742 * wcsmbs/Makefile (strop-tests): Add wcscspn.
21743 * benchtests/bench-strcspn.c: Add wcscspn support.
21744 * benchtests/bench-wcscspn.c: New File.
21745 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21746
21747 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21748 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21749 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21750 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21751 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21752 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21753 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21754 wcspbrk functions.
21755 * sysdeps/s390/multiarch/ifunc-impl-list.c
21756 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21757 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21758 * string/test-strpbrk.c: Add wcspbrk support.
21759 * wcsmbs/test-wcspbrk.c: New File.
21760 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21761 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21762 * benchtests/bench-wcspbrk.c: New File.
21763 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21764
21765 * sysdeps/s390/multiarch/strspn-c.c: New File.
21766 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21767 * sysdeps/s390/multiarch/strspn.c: Likewise.
21768 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21769 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21770 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21771 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21772 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21773 wcsspn functions.
21774 * sysdeps/s390/multiarch/ifunc-impl-list.c
21775 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21776 * string/test-strspn.c: Add wcsspn support.
21777 * wcsmbs/test-wcsspn.c: New File.
21778 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21779 * benchtests/bench-strspn.c: Add wcsspn support.
21780 * benchtests/bench-wcsspn.c: New File.
21781 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21782
21783 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21784 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21785 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21786 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21787 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21788 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21789 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21790 wcsrchr functions.
21791 * sysdeps/s390/multiarch/ifunc-impl-list.c
21792 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21793 * benchtests/bench-wcsrchr.c: New File.
21794 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21795
21796 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21797 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21798 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21799 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21800 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21801 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21802 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21803 wcschrnul functions.
21804 * sysdeps/s390/multiarch/ifunc-impl-list.c
21805 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21806 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21807 * string/test-strchr.c: Add wcschrnul support.
21808 * wcsmbs/test-wcschrnul.c: New File.
21809 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21810 * benchtests/bench-strchr.c: Add wcschrnul support.
21811 * benchtests/bench-wcschrnul.c: New File.
21812 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21813
21814 * sysdeps/s390/multiarch/strchr-c.c: New File.
21815 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21816 * sysdeps/s390/multiarch/strchr.c: Likewise.
21817 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21818 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21819 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21820 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21821 wcschr functions.
21822 * sysdeps/s390/multiarch/ifunc-impl-list.c
21823 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21824 * string/strchr.c (STRCHR): Define and use macro.
21825 * benchtests/bench-wcschr.c: New File.
21826 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21827
21828 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21829 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21830 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21831 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21832 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21833 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21834 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21835 wcsncmp functions.
21836 * sysdeps/s390/multiarch/ifunc-impl-list.c
21837 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21838 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21839 * benchtests/bench-strncmp.c: Add wcsncmp support.
21840 * benchtests/bench-wcsncmp.c: New File.
21841 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21842
21843 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21844 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21845 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21846 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21847 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21848 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21849 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21850 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21851 wcscmp functions.
21852 * sysdeps/s390/multiarch/ifunc-impl-list.c
21853 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21854 * string/strcmp.c (STRCMP): Define and use macro.
21855 * benchtests/bench-wcscmp.c: New File.
21856 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21857 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21858 instead of _HAVE_STRING_ARCH_memchr.
21859
21860 * sysdeps/s390/multiarch/strncat-c.c: New File.
21861 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21862 * sysdeps/s390/multiarch/strncat.c: Likewise.
21863 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21864 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21865 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21866 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21867 wcsncat functions.
21868 * sysdeps/s390/multiarch/ifunc-impl-list.c
21869 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21870 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21871 * string/test-strncat.c: Add wcsncat support.
21872 * wcsmbs/test-wcsncat.c: New File.
21873 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21874 * benchtests/bench-strncat.c: Add wcsncat support.
21875 * benchtests/bench-wcsncat.c: New File.
21876 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21877
21878 * sysdeps/s390/multiarch/strcat-c.c: New File.
21879 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21880 * sysdeps/s390/multiarch/strcat.c: Likewise.
21881 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21882 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21883 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21884 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21885 wcscat functions.
21886 * sysdeps/s390/multiarch/ifunc-impl-list.c
21887 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21888 * string/strcat.c (STRCAT): Define and use macro.
21889 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21890 * string/test-strcat.c: Add wcscat support.
21891 * wcsmbs/test-wcscat.c: New File.
21892 * wcsmbs/Makefile (strop-tests): Add wcscat.
21893 * benchtests/bench-strcat.c: Add wcscat support.
21894 * benchtests/bench-wcscat.c: New File.
21895 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21896
21897 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21898 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21899 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21900 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21901 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21902 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21903 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21904 wcpncpy functions.
21905 * sysdeps/s390/multiarch/ifunc-impl-list.c
21906 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21907 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21908 * string/test-stpncpy.c: Add wcpncpy support.
21909 * wcsmbs/test-wcpncpy.c: New File.
21910 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21911 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21912 * benchtests/bench-wcpncpy.c: New File.
21913 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21914
21915 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21916 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21917 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21918 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21919 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21920 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21921 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21922 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21923 wcsncpy functions.
21924 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21925 * sysdeps/s390/multiarch/ifunc-impl-list.c
21926 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21927 * string/test-strncpy.c: Add wcsncpy support.
21928 * wcsmbs/test-wcsncpy.c: New File.
21929 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21930 * benchtests/bench-strncpy.c: Add wcsncpy support.
21931 * benchtests/bench-wcsncpy.c: New File.
21932 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21933
21934 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21935 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21936 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21937 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21938 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21939 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21940 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21941 wcpcpy functions.
21942 * string/stpcpy.c: Use STPCPY if defined.
21943 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21944 * sysdeps/s390/multiarch/ifunc-impl-list.c
21945 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21946 * string/test-stpcpy.c: Add wcpcpy support.
21947 * wcsmbs/test-wcpcpy.c: New File.
21948 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21949 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21950 * benchtests/bench-wcpcpy.c: New File.
21951 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21952
21953 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21954 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21955 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21956 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21957 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21958 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21959 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21960 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21961 wcscpy functions.
21962 * sysdeps/s390/multiarch/ifunc-impl-list.c
21963 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21964 * benchtests/bench-wcscpy.c: New File.
21965 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21966
21967 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21968 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21969 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21970 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21971 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21972 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21973 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21974 wcsnlen functions.
21975 * sysdeps/s390/multiarch/ifunc-impl-list.c
21976 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21977 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21978 * string/test-strnlen.c: Add wcsnlen support.
21979 * wcsmbs/test-wcsnlen.c: New File.
21980 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21981 * benchtests/bench-strnlen.c: Add wcsnlen support.
21982 * benchtests/bench-wcsnlen.c: New File.
21983 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21984
21985 * sysdeps/s390/multiarch/Makefile: New File.
21986 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21987 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21988 * sysdeps/s390/multiarch/strlen.c: Likewise.
21989 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21990 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21991 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21992 * string/strlen.c (STRLEN): Define and use macro.
21993 * sysdeps/s390/multiarch/ifunc-impl-list.c
21994 (IFUNC_VX_IMPL): New macro function.
21995 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21996 * benchtests/Makefile (wcsmbs-bench): New variable.
21997 (string-bench-all): Added wcsmbs-bench.
21998 * benchtests/bench-wcslen.c: New File.
21999
22000 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22001 s390_vx_libc_ifunc2): New macro function.
22002
22003 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22004 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22005 assembler support.
22006 * sysdeps/s390/configure: Regenerated.
22007
22008 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22009 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22010
22011 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22012 * sysdeps/s390/dl-procinfo.h: Add vector capability.
22013 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22014
22015 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22016 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22017 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22018 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22019 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22020 (memcmp, bcmp): Use __memcmp_default as alias source.
22021 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22022 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22023 Rename to __memcmp_default.
22024 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22025 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22026 (memcpy): Use __memcpy_default as alias source.
22027 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22028 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22029 Rename to __memcpy_default.
22030 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22031 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22032 (memset): Use __memset_default as alias source.
22033 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22034 * sysdeps/s390/s390-32/memset.S (__memset_g5):
22035 Rename to __memset_default.
22036 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22037 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22038 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22039 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22040 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22041 (memcmp, bcmp): Use __memcmp_default as alias source.
22042 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22043 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22044 Rename to __memcmp_default.
22045 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22046 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22047 (memcpy): Use __memcpy_default as alias source.
22048 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22049 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22050 Rename to __memcpy_default.
22051 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22052 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22053 (memset): Use __memset_default as alias source.
22054 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22055 * sysdeps/s390/s390-64/memset.S (__memset_z900):
22056 Rename to __memset_default.
22057 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22058 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22059
22060 [BZ #18610]
22061 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22062 __ieee_instruction_pointer to __unused.
22063 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22064 __ieee_instruction_pointer.
22065 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22066 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22067 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22068 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22069 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22070 Mark dxc-field as reserved.
22071
22072 2015-08-25 Roland McGrath <roland@hack.frob.com>
22073
22074 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22075 if the weak reference is not null.
22076
22077 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22080
22081 [BZ #11214]
22082 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22083
22084 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22085
22086 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22087 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22088 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22089 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22090 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22091 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22092 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22093 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22094 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22095 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22096 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22097 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22098 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22099 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22100 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22101 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22102 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22103 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22104
22105 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22106
22107 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22108 register other than r0 for tabort, it has special meaning.
22109 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22110 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22111 transaction before starting syscall.
22112
22113 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22114
22115 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22116
22117 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22120
22121 * sysdeps/x86_64/rtld-memcmp.c: Removed.
22122 * sysdeps/x86_64/rtld-memset.S: Likewise.
22123 * sysdeps/x86_64/rtld-strchr.S: Likewise.
22124 * sysdeps/x86_64/rtld-strlen.S: Likewise.
22125 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22126 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22127
22128 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22129
22130 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
22131
22132 * debug/strcpy_chk.c: Improve performance.
22133 * debug/stpcpy_chk.c: Likewise.
22134 * sysdeps/x86_64/strcpy_chk.S: Remove.
22135 * sysdeps/x86_64/stpcpy_chk.S: Remove.
22136
22137 [BZ #18240]
22138 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22139
22140 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22141
22142 [BZ #15128]
22143 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22144 ifuncmain8.
22145 (modules-names): Add ifuncmod8.
22146 ($(objpfx)ifuncmain8): New rule.
22147 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22148 <cpuid.h>.
22149 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22150 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22151 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22152 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22153 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22154 * sysdeps/x86_64/dl-trampoline.h: Likewise.
22155 * sysdeps/x86_64/ifuncmain8.c: New file.
22156 * sysdeps/x86_64/ifuncmod8.c: Likewise.
22157 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22158 Removed.
22159 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22160 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22161 Change rtld_savespace_sse to __glibc_unused2.
22162 (RTLD_CHECK_FOREIGN_CALL): Removed.
22163 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22164 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22165 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22166
22167 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22168
22169 * sysdeps/aarch64/bzero.S (__bzero): Remove.
22170
22171 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22172
22173 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22174 Unconditionally set __fpcr to avoid uninialized warning.
22175 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22176
22177 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22178
22179 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22180 is corrupt.
22181
22182 * malloc/arena.c (arena_get2): Drop unused argument.
22183 (arena_lock): Adjust.
22184 (arena_get_retry): Likewise.
22185
22186 2015-08-24 Andreas Schwab <schwab@suse.de>
22187
22188 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22189 Don't define.
22190 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22191 (__ASSUME_IPC64): Don't undef.
22192 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22193 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22194 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22195 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22196 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22197 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22198 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22199 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22200 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22201 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22202 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22203 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22204 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22205 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22206 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22207 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22208 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22209 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22210 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22211 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22212 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22213
22214 2015-08-21 Mike Frysinger <vapier@gentoo.org>
22215
22216 * manual/Makefile (install): Only build manual when perl is available.
22217
22218 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22219
22220 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22221 '#undef memcpy' by '#undef memchr'.
22222
22223 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22224
22225 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22226 memchr not point to the internal __GI_memchr implementation.
22227
22228 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22229
22230 * timezone/Makefile (CFLAGS-zdump.c): Remove
22231 -Wno-strict-prototypes.
22232 (CFLAGS-zic.c): Likewise.
22233 (CFLAGS-ialloc.c): Likewise.
22234 (CFLAGS-scheck.c): Likewise.
22235
22236 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22237 -Wno-error=undef.
22238
22239 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22240
22241 * i386/i686/multiarch/strcasestr-c.c: Removed.
22242 * x86_64/multiarch/strcasestr.c: Likewise.
22243 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22244 Remove strcasestr.
22245
22246 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22247
22248 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22249
22250 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22251 variables for high and low parts before possibly modifying them.
22252
22253 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22254
22255 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22256 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22257 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22258 of "multiarch/init-arch.h".
22259 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22260 * sysdeps/x86/init-arch.h: This.
22261
22262 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22263
22264 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22265 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22266
22267 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
22268
22269 [BZ #17787]
22270 * manual/macros.texi: Add twoexp macro.
22271 * manual/filesys.texi: Fix exponents.
22272 * manual/llio.texi: Likewise.
22273 * manual/stdio.texi: Likewise.
22274
22275 2015-08-20 Florian Weimer <fweimer@redhat.com>
22276
22277 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22278 incorrect use.
22279
22280 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22281
22282 [BZ #18370]
22283 * math/s_csqrt.c (__csqrt): Force underflow exception for results
22284 whose real or imaginary part has small absolute value.
22285 * math/s_csqrtf.c (__csqrtf): Likewise.
22286 * math/s_csqrtl.c (__csqrtl): Likewise.
22287 * math/auto-libm-test-in: Add more tests of csqrt.
22288 * math/auto-libm-test-out: Regenerated.
22289 * sysdeps/i386/fpu/libm-test-ulps: Update.
22290
22291 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22292
22293 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22294 __ppc_set_ppr_very_low): New functions.
22295 * manual/platform.texi: Add documentation about
22296 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22297
22298 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
22299
22300 * string/stpncpy.c (stpncpy): Improve performance using
22301 __strnlen/memcpy/memset.
22302
22303 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
22304
22305 [BZ #18796]
22306 * scripts/test-installation.pl: Don't add -lmvec to build options if
22307 libmvec wasn't built.
22308
22309 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
22310
22311 [BZ #14341]
22312 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22313 case when there is a gap between DT_REL and DT_JMPREL sections.
22314 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22315 (LDFLAGS-tst-split-dynreloc): New.
22316 (tst-split-dynreloc-ENV): Likewise.
22317 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22318 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22319
22320 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22321
22322 [BZ #18822]
22323 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22324 attribute_hidden.
22325 (__xstat64_conv): Likewise.
22326 (__xstat32_conv): Likewise.
22327
22328 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 [BZ #18822]
22331 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22332 Don't load %ebx when calling __setcontext. Call __setcontext
22333 with HIDDEN_JUMPTARGET.
22334 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22335 libc_hidden_def.
22336
22337 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22338
22339 * sysdeps/i386/i686/Makefile
22340 [$(subdir) == string] (sysdep_routines): Moved to ...
22341 * sysdeps/i386/Makefile: Here.
22342 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22343 * sysdeps/i386/cacheinfo.c: Here.
22344 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22345 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22346 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22347 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22348
22349 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22350
22351 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22352 __i586__ is defined.
22353 (HAS_I686): Defined to 1 if __i686__ is defined.
22354
22355 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22356
22357 * elf/Makefile [$(have-z-execstack) = yes]
22358 (CPPFLAGS-tst-execstack.c): New variable.
22359
22360 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22361 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22362 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22363 UTMPX || _HAVE_UT_TV].
22364 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22365 UTMPX || _HAVE_UT_TV - 0].
22366
22367 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22368
22369 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22370 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22371 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22372
22373 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22374
22375 * sysdeps/powerpc/dl-procinfo.c:
22376 (_dl_powerpc_cap_flags): Added missing strings for some
22377 hwcap features.
22378 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22379
22380 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22381
22382 Port the 0x7efe...feff pattern to GCC 6.
22383 See Steve Ellcey's bug report in:
22384 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22385 * string/memrchr.c (MEMRCHR):
22386 * string/rawmemchr.c (RAWMEMCHR):
22387 * string/strchr.c (strchr):
22388 * string/strchrnul.c (STRCHRNUL):
22389 Rewrite code to avoid issues with signed shift overflow.
22390
22391 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22392
22393 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22394 whether cpuid is available only if HAS_CPUID is 0.
22395 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22396 (HAS_I586): Likewise.
22397 (HAS_I686): Likewise.
22398
22399 2015-08-18 Zack Weinberg <zackw@panix.com>
22400
22401 * misc/Versions (libc): Add GLIBC_2.23.
22402
22403 2015-08-18 Alan Modra <amodra@gmail.com>
22404
22405 [BZ #18421]
22406 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22407 .Lp__global.
22408 (_start): Load %dp via .Lp__global.
22409 [!SHARED]: Use .section .rodata.
22410
22411 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22412
22413 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22414 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22415
22416 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22417
22418 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22419 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22420
22421 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22422
22423 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22424 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22425
22426 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22427
22428 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22429 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22430
22431 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22432
22433 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22434 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22435
22436 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22437
22438 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22439 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22440
22441 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22442
22443 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22444
22445 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22446
22447 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22448 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22449 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22450 (__ASSUME_LWS_CAS): Delete.
22451
22452 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22453
22454 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22455 * sysdeps/hppa/configure: Regenerated.
22456 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22457 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22458 * sysdeps/hppa/nptl/tls.h: Likewise.
22459
22460 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22461
22462 [BZ #18823]
22463 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22464 for scaling up small arguments.
22465 * math/s_csqrtf.c (__csqrtf): Likewise.
22466 * math/s_csqrtl.c (__csqrtl): Likewise.
22467 * math/auto-libm-test-in: Add more tests of csqrt.
22468 * math/auto-libm-test-out: Regenerated.
22469
22470 2015-08-17 Andreas Schwab <schwab@suse.de>
22471
22472 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22473 version set GLIBC_2.19.
22474
22475 2015-08-16 Zack Weinberg <zackw@panix.com>
22476
22477 [BZ #18681]
22478 * misc/regexp.h: This interface is no longer supported.
22479 Remove all contents, leaving only an #error directive.
22480 * misc/regexp.c (loc1, loc2, locs, step, advance):
22481 Demote to compatibility symbols.
22482
22483 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22484
22485 [BZ #18084]
22486 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22487 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22488 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22489 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22490 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22491 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22492 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22493 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22494 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22495
22496 2015-08-15 Zack Weinberg <zackw@panix.com>
22497
22498 [BZ #18795]
22499 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22500 buffer length is known to be too large, not if it's known to be
22501 small enough.
22502 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22503 overflow at runtime, involving a length parameter, twice: once
22504 with a compile-time constant length parameter, once without.
22505
22506 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22507
22508 [BZ #18824]
22509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22510 scaling x * y up instead of down.
22511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22513 * math/auto-libm-test-in: Add more tests of fma.
22514 * math/auto-libm-test-out: Regenerated.
22515
22516 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22517
22518 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22519
22520 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22521
22522 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22523 unnecessary movq.
22524 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22525 Likewise.
22526
22527 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22528
22529 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22530 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22531 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22532 and tgamma.
22533 * math/auto-libm-test-out: Regenerated.
22534 * sysdeps/i386/fpu/libm-test-ulps: Update.
22535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22536
22537 [BZ #16520]
22538 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22539 (__tanh): Force underflow exception for arguments with small
22540 absolute value.
22541 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22542 (__tanhf): Force underflow exception for arguments with small
22543 absolute value.
22544 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22545 (__tanhl): Force underflow exception for arguments with small
22546 absolute value.
22547 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22548 (__tanhl): Force underflow exception for arguments with small
22549 absolute value.
22550 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22551 (__tanhl): Force underflow exception for arguments with small
22552 absolute value.
22553 * math/auto-libm-test-in: Add more tests of tanh.
22554 * math/auto-libm-test-out: Regenerated.
22555 * sysdeps/i386/fpu/libm-test-ulps: Update.
22556
22557 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22558
22559 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22560 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22561
22562 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22563
22564 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22565 <cpuid.h>.
22566
22567 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22568
22569 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22570 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22571
22572 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22575 Remove $(objpfx)init-arch.o.
22576 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22577 init-arch.
22578 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22579 (INIT_ARCH_EXT): Defined as empty.
22580 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22581 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22582 __init_cpu_features call. Replace HAS_XXX with
22583 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22584 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22585 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22586 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22587 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22588 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22589 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22590 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22591 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22592 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22593 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22594 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22595 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22596 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22597 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22598 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22600 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22601 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22602 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22603 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22604 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22605 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22606 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22607 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22608 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22609 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22610 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22611 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22612 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22613 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22614 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22615 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22616 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22617 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22618 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22619
22620 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22621
22622 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22623 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22624 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22625 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22626 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22627 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22628 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22629 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22630 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22631 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22632 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22633 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22634 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22637 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22638 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22639 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22640 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22641 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22642 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22643 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22644 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22645 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22646 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22647 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22648 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22649 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22650 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22651 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22652 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22653 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22654 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22655 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22656 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22657 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22658 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22659 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22660 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22661 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22662 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22663 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22664 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22665
22666 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22667
22668 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22669 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22670 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22673 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22675 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22676 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22677 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22678 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22679 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22680 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22681 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22682 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22683 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22684 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22686 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22687 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22689 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22690 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22691 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22692 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22693 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22694 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22695 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
22696 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22697 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22698 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22699 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22700 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22701 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22702 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22703 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22704 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22705 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22706 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22707 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22708 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22709 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22710 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22711
22712 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22713
22714 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22715 (dl_platform_init): Call init_cpu_features.
22716 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22717 * sysdeps/i386/i686/cacheinfo.c
22718 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22719 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22720 * sysdeps/i386/i686/multiarch/Versions: Removed.
22721 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22722 Removed.
22723 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22724 * sysdeps/unix/sysv/linux/x86/Makefile
22725 (libpthread-sysdep_routines): Remove init-arch.
22726 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22727 <sysdeps/x86_64/dl-procinfo.c> instead of
22728 sysdeps/generic/dl-procinfo.c>.
22729 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22730 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22731 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22732 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22733 [$(subdir) == elf] (tests-static): Add
22734 tst-get-cpu-features-static.
22735 * sysdeps/x86/Versions: New file.
22736 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22737 * sysdeps/x86/cpu-features.c: Likewise.
22738 * sysdeps/x86/cpu-features.h: Likewise.
22739 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22740 * sysdeps/x86/libc-start.c: Likewise.
22741 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22742 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22743 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22744 * sysdeps/x86_64/dl-procinfo.c: Likewise.
22745 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22746 Assume USE_MULTIARCH is defined and don't check it.
22747 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22748 (is_amd): Likewise.
22749 (max_cpuid): Likewise.
22750 (intel_check_word): Likewise.
22751 (__cache_sysconf): Don't call __init_cpu_features.
22752 (__x86_preferred_memory_instruction): Removed.
22753 (init_cacheinfo): Don't call __init_cpu_features. Replace
22754 __cpu_features with GLRO(dl_x86_cpu_features).
22755 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22756 (dl_platform_init): Call init_cpu_features.
22757 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22758 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22759 * sysdeps/x86_64/multiarch/Versions: Removed.
22760 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22761 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22762 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22763 Removed.
22764 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22765
22766 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22767
22768 [BZ #18820]
22769 * libio/Makefile (test-fmemopen-mem): New test.
22770 * libio/test-fmemopen.c (do_bz18820): New test.
22771 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22772 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22773
22774 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22775
22776 [BZ #16734]
22777 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22778 (FREE_BUF): Delete.
22779 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22780 * libio/genops.c (_IO_setb): Use malloc and free directly.
22781 (_IO_default_doallocate, _IO_default_finish): Likewise.
22782 ( _IO_unbuffer_all): Likewise.
22783 ( libc_freeres_fn): Likewise.
22784 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22785 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22786 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22787 (_IO_wdefault_doallocate): Likewise.
22788
22789 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22790
22791 [BZ #18086]
22792 * sysdeps/posix/nice.c (nice): Restore old errno.
22793 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22794
22795 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22796
22797 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22798
22799 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22800
22801 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22802 __bcopy and add a weak_alias to bcopy.
22803 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22804 for static build.
22805
22806 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22807 cleanup macro usage.
22808 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22809 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22810 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22811 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22812 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22813 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22814 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22815 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22816 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22817 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22818 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22819 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22820 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22821 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22822 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22823 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22824 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22825 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22826 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22827
22828 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22829 libc_hidden_def.
22830 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22831
22832 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22833 (sysdep_routines): Add strstr-ppc64.
22834 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22835
22836 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22837
22838 [BZ #18778]
22839 * elf/Makefile (tests): Add Add tst-nodelete2.
22840 (modules-names): Add tst-nodelete2mod.
22841 (tst-nodelete2mod.so-no-z-defs): New.
22842 ($(objpfx)tst-nodelete2): Likewise.
22843 ($(objpfx)tst-nodelete2.out): Likewise.
22844 (LDFLAGS-tst-nodelete2): Likewise.
22845 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22846 out of loop through all loaded libraries.
22847 * elf/tst-nodelete2.c: New file.
22848 * elf/tst-nodelete2mod.c: Likewise.
22849 * elf/tst-znodelete-zlib.cc: Delete.
22850
22851 2015-08-11 Andreas Schwab <schwab@suse.de>
22852
22853 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22854 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22855 (__openat64_nocancel): Likewise.
22856
22857 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22858
22859 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22860 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22861 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22862 * math/auto-libm-test-out: Regenerated.
22863 * sysdeps/i386/fpu/libm-test-ulps: Update.
22864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22865
22866 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22867
22868 [BZ #18790]
22869 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22870 threshold for returning +/- 1.
22871 * math/auto-libm-test-in: Add more tests of tanh.
22872 * math/auto-libm-test-out: Regenerated.
22873 * sysdeps/i386/fpu/libm-test-ulps: Update.
22874
22875 2015-08-10 Andreas Schwab <schwab@suse.de>
22876
22877 [BZ #18781]
22878 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22879 MORE_OFLAGS to oflag.
22880 * io/test-lfs.c (do_test): Test openat64.
22881
22882 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22883
22884 [BZ #18789]
22885 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22886 smaller threshold for returning the argument.
22887 * math/auto-libm-test-in: Add more tests of sinh.
22888 * math/auto-libm-test-out: Regenerated.
22889 * sysdeps/i386/fpu/libm-test-ulps: Update.
22890
22891 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 [BZ #18674]
22894 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22895 break.
22896
22897 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22898
22899 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22900 (generated): Don't add $(addprefix z.,$(tzfiles)).
22901
22902 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22903
22904 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22905 * scripts/sysd-rules.awk: Likewise.
22906
22907 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22908
22909 * iconvdata/tst-tables.sh: Change echo -n to printf.
22910 * nss/db-Makefile: Likewise.
22911 * posix/tst-getconf.sh: Likewise.
22912 * stdio-common/tst-unbputc.sh: Likewise.
22913
22914 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22915
22916 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22917 MADV_*_PAGES defines behind this feature check.
22918
22919 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22920
22921 [BZ #18480]
22922 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22923 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22924 Define.
22925 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22926 LOAD_REGS_5, LOAD_REGS_6): Update.
22927 (INTERNAL_SYSCALL): Update using new LOAD defines.
22928 (INTERNAL_SYSCALL_NCS): Likewise.
22929 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22930
22931 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22932
22933 [BZ #16734]
22934 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22935
22936 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22937
22938 [BZ #17905]
22939 * catgets/Makefile (tst-catgets-mem): New test.
22940 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22941 * catgets/open_catalog.c (__open_catalog): Likewise.
22942 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22943
22944 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22945
22946 [BZ #18787]
22947 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22948 clobber registers.
22949 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22950 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22951 Cast return to __typeof (oldval).
22952
22953 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22954
22955 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22956 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22957 and delete sys/syscall.h include.
22958
22959 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22960
22961 [BZ #16517]
22962 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22963 (tan): Force underflow exception for arguments with small absolute
22964 value.
22965 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22966 (__kernel_tanf): Force underflow exception for arguments with
22967 small absolute value.
22968 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22969 (__kernel_tanl): Force underflow exception for arguments with
22970 small absolute value.
22971 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22972 (__kernel_tanl): Force underflow exception for arguments with
22973 small absolute value.
22974 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22975 (__kernel_tanl): Force underflow exception for arguments with
22976 small absolute value.
22977 * math/auto-libm-test-in: Add more tests of tan.
22978 * math/auto-libm-test-out: Regenerated.
22979
22980 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22981
22982 Fix sysdeps/i386/fpu/s_scalbn.S build
22983
22984 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22985
22986 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22987
22988 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22989
22990 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22991
22992 Fix gcrt0.o compilation
22993
22994 When static-start-installed-name is different from
22995 start-installed-name, we must not use the shared objects.
22996
22997 * csu/Makefile
22998 (extra-objs): Add gmon-start.o when building shared library and
22999 $(static-start-installed-name) is different from
23000 $(start-installed-name).
23001 $(objpfx)g$(static-start-installed-name): When building shared
23002 library and $(static-start-installed-name) is different from
23003 $(static-start-installed-name), revert to non-shared rule,
23004 i.e. using $(objpfx)% and gmon-start.o.
23005
23006 2015-08-06 Joseph Myers <joseph@codesourcery.com>
23007
23008 [BZ #16519]
23009 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23010 (__ieee754_sinh): Force underflow exception for arguments with
23011 small absolute value.
23012 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23013 (__ieee754_sinhf): Force underflow exception for arguments with
23014 small absolute value.
23015 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23016 (__ieee754_sinhl): Force underflow exception for arguments with
23017 small absolute value.
23018 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23019 (__ieee754_sinhl): Force underflow exception for arguments with
23020 small absolute value.
23021 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23022 (__ieee754_sinhl): Force underflow exception for arguments with
23023 small absolute value.
23024 * math/auto-libm-test-in: Add more tests of sinh.
23025 * math/auto-libm-test-out: Regenerated.
23026 * sysdeps/i386/fpu/libm-test-ulps: Update.
23027
23028 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23029
23030 * libio/oldfileops.c: Include unistd.h.
23031
23032 2015-08-06 Mike Frysinger <vapier@gentoo.org>
23033
23034 * stdlib/isomac.c: Include ctype.h.
23035
23036 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
23037
23038 * dirent/tst-seekdir.c (main): Converted to ...
23039 (do_test): ... this.
23040 (TEST_FUNCTION): New macro.
23041 Include test-skeleton.c.
23042 * elf/tst-dlmodcount.c (main): Converted to ...
23043 (do_test): ... this.
23044 (TEST_FUNCTION): New macro.
23045 Include test-skeleton.c.
23046 * elf/tst-order-main.c (main): Converted to ...
23047 (do_test): ... this.
23048 (TEST_FUNCTION): New macro.
23049 Include test-skeleton.c.
23050 * elf/tst-pie2.c (main): Converted to ...
23051 (do_test): ... this.
23052 (TEST_FUNCTION): New macro.
23053 Include test-skeleton.c.
23054 * inet/tst-ether_aton.c (main): Converted to ...
23055 (do_test): ... this.
23056 (TEST_FUNCTION): New macro.
23057 Include test-skeleton.c.
23058 * misc/tst-mntent.c (main): Converted to ...
23059 (do_test): ... this.
23060 (TEST_FUNCTION): New macro.
23061 Include test-skeleton.c.
23062 * misc/tst-tsearch.c (main): Converted to ...
23063 (do_test): ... this.
23064 (TEST_FUNCTION): New macro.
23065 Include test-skeleton.c.
23066 * posix/tst-regexloc.c (main): Converted to ...
23067 (do_test): ... this.
23068 (TEST_FUNCTION): New macro.
23069 Include test-skeleton.c.
23070 * resolv/tst-aton.c (main): Converted to ...
23071 (do_test): ... this.
23072 (TEST_FUNCTION): New macro.
23073 Include test-skeleton.c.
23074 * stdio-common/test-fwrite.c (main): Converted to ...
23075 (do_test): ... this.
23076 (TEST_FUNCTION): New macro.
23077 Include test-skeleton.c.
23078 * stdio-common/tst-ferror.c (main): Converted to ...
23079 (do_test): ... this.
23080 (TEST_FUNCTION): New macro.
23081 Include test-skeleton.c.
23082 * stdio-common/tst-printf.c (main): Converted to ...
23083 (do_test): ... this.
23084 (TEST_FUNCTION): New macro.
23085 Include test-skeleton.c.
23086 * stdio-common/tst-printfsz.c (main): Converted to ...
23087 (do_test): ... this.
23088 (TEST_FUNCTION): New macro.
23089 Include test-skeleton.c.
23090 * stdlib/tst-strtod.c (main): Converted to ...
23091 (do_test): ... this.
23092 (TEST_FUNCTION): New macro.
23093 Include test-skeleton.c.
23094 * string/tst-strlen.c (main): Converted to ...
23095 (do_test): ... this.
23096 (TEST_FUNCTION): New macro.
23097 Include test-skeleton.c.
23098 * string/tst-svc.c (main): Converted to ...
23099 (do_test): ... this.
23100 (TEST_FUNCTION): New macro.
23101 Include test-skeleton.c.
23102 * time/tst-strptime.c (main): Converted to ...
23103 (do_test): ... this.
23104 (TEST_FUNCTION): New macro.
23105 Include test-skeleton.c.
23106 * timezone/tst-timezone.c (main): Converted to ...
23107 (do_test): ... this.
23108 (TEST_FUNCTION): New macro.
23109 Include test-skeleton.c.
23110
23111 2015-08-05 Zack Weinberg <zackw@panix.com>
23112
23113 * misc/regexp.h: Update comments.
23114
23115 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
23116
23117 [BZ #18635]
23118 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23119 before return label.
23120
23121 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23122
23123 [BZ #18661]
23124 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23125 when calling __errno_location.
23126 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23127 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23128
23129 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23130
23131 [BZ #18661]
23132 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23133 (__lll_timedwait_tid): Align stack to 16 bytes when calling
23134 __gettimeofday.
23135
23136 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23137
23138 [BZ #18661]
23139 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23140 (__start_context): Don't use pop to restore %rdi so that stack
23141 is aligned to 16 bytes when calling __setcontext.
23142
23143 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23144
23145 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23146 only for libc.
23147 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23148
23149 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23150
23151 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23152 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
23153 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23154
23155 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23156
23157 * string/memccpy.c (memccpy):
23158 Improve performance by using memchr/memcpy/__mempcpy.
23159
23160 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23161
23162 * string/strncpy.c (strncpy):
23163 Improve performance by using __strnlen/memcpy.
23164
23165 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23166
23167 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23168 Optimize to avoid an unnecessary FPCR read.
23169
23170 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23171
23172 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23173 Optimize to reduce FPCR/FPSR accesses.
23174
23175 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23178 dead->data[category] != NULL.
23179
23180 2015-08-05 Joseph Myers <joseph@codesourcery.com>
23181
23182 [BZ #18647]
23183 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23184 and |x| close to 1, use absolute value of x when computing log.
23185 * math/auto-libm-test-in: Add more tests of pow.
23186 * math/auto-libm-test-out: Regenerated.
23187
23188 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23189
23190 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23191 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23192 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23193
23194 2015-08-05 Marko Myllynen <myllynen@redhat.com>
23195
23196 [BZ #18525]
23197 * locales/km_KH: Remove timezone definition.
23198 * locales/lo_LA: Likewise.
23199 * locales/my_MM: Likewise.
23200 * locales/nan_TW@latin: Likewise.
23201 * locales/th_TH: Likewise.
23202 * locales/uk_UA: Likewise.
23203
23204 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
23205
23206 [BZ #18265]
23207 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23208 (wcsncat): Likewise.
23209 (wcscmp): Likewise.
23210 (wcsncmp): Likewise.
23211
23212 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23213
23214 * test-skeleton.c (usage): New function.
23215 (main): Call usage when opt is '?'.
23216
23217 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23218
23219 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23220 before first use.
23221
23222 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23223
23224 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23225 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
23226 in there too.
23227
23228 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
23229
23230 * version.h (RELEASE): Set to "development".
23231 (VERSION): Set to "2.22.90"
23232
23233 * version.h (RELEASE): Set to "stable".
23234 (VERSION): Set to "2.22"
23235 * include/features.h (__GLIBC_MINOR__): Set to 22.
23236
23237 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
23238
23239 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23240 Restructure macro to avoid "value computed is not used" warning.
23241 (atomic_compare_and_exchange_val_acq): Likewise.
23242
23243 2015-08-04 Andreas Schwab <schwab@suse.de>
23244
23245 [BZ #18635]
23246 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23247 ret.
23248 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23249
23250 2015-08-01 Carlos O'Donell <carlos@redhat.com>
23251
23252 * po/pl.po: Updated translation.
23253 * po/uk.po: Likewise.
23254 * po/fi.po: Likewise.
23255 * po/ko.po: Likewise.
23256 * po/ru.po: Likewise.
23257 * po/vi.po: Likewise.
23258
23259 2015-07-31 Zack Weinberg <zackw@panix.com>
23260
23261 [BZ #18681]
23262 * regexp.h: Add unconditional #warning stating that this header
23263 will be removed soon. Revise banner comment to match.
23264 (compile): Consistently use ERROR instead of RETURN to report
23265 errors (partial fix for bz#18681).
23266 * regexp.c: Don't include regexp.h. Remove some unnecessary
23267 declarations.
23268
23269 2015-07-31 Carlos O'Donell <carlos@redhat.com>
23270
23271 * po/libc.pot: Regenerated.
23272
23273 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
23274
23275 [BZ #18740]
23276 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23277 float-vlen4-arch-ext-cflags): Removed.
23278 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23279 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23280
23281 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23282
23283 [BZ #14113]
23284 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23285 aligned to __aligned__.
23286 (pthread_cond_t, pthread_rwlock_t): Likewise.
23287
23288 2015-07-30 Torvald Riegel <triegel@redhat.com>
23289
23290 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23291
23292 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23293
23294 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23295 (struct sigaction): Change sa_flags from a long to an int, and add
23296 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23297
23298 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23299
23300 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23301 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23302 sysdeps/generic/sysdep.h include.
23303 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23304 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
23305 sysdeps/hppa/sysdep.h.
23306 (ENTRY, PSEUDO): Undefine before defining.
23307
23308 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23309
23310 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23311 from scratch to use INTERNAL_SYSCALL.
23312
23313 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23314
23315 [BZ #18078]
23316 * scripts/check-localplt.awk: Support alternate relocations.
23317 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23318 sections.
23319 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23320 malloc entries with + REL R_386_GLOB_DAT.
23321 * sysdeps/x86_64/localplt.data: New file.
23322
23323 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23324
23325 [BZ #18731]
23326 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23327 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23328 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23329
23330 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23331
23332 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23333
23334 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23335
23336 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23337 directly in terms of __sync_fetch_and_add and delete (int) cast.
23338
23339 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23340
23341 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23342 the -D_ASM_IA64_CURRENT_H flag.
23343
23344 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23345
23346 [BZ #18641]
23347 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23348
23349 2015-07-27 Andreas Schwab <schwab@suse.de>
23350
23351 * conform/conformtest.pl (checknamespace): Filter out string
23352 literals while tokenizing.
23353
23354 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23355
23356 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23357 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23358 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23359
23360 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23361
23362 * nptl/tst-join7mod.c: Add #include <string.h>.
23363
23364 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23365
23366 * sysdeps/nios2/libm-test-ulps: Update.
23367
23368 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23369
23370 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23371 Fix order of arguments to the rt_sigprocmask syscall.
23372 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23373 Likewise.
23374
23375 2015-07-24 Roland McGrath <roland@hack.frob.com>
23376
23377 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23378
23379 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23380
23381 [BZ #18457]
23382 * nptl/Makefile (tests): New test case tst-join7.
23383 (modules-names): New test case module tst-join7mod.
23384 * nptl/tst-join7.c: New file.
23385 * nptl/tst-join7mod.c: New file.
23386 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23387 all translation units in libc.so, libpthread.so and rtld.
23388
23389 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23390
23391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23392
23393 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23394
23395 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23396 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23397 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23398 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23399 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23400 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23401 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23402 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23403 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23404 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23405 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23406 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23407 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23408 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23409 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23410 implementation.
23411
23412 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23413
23414 [BZ #17711]
23415 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23416 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23417 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23418 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23419 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23420 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23421
23422 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23423
23424 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23425 instead of just saying load lock in the comments.
23426
23427 2015-07-23 Roland McGrath <roland@hack.frob.com>
23428
23429 * sysdeps/unix/Subdirs: Moved ...
23430 * sysdeps/posix/Subdirs: ... here.
23431 * login/pty.h (struct termios, struct winsize): Add forward decls.
23432 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23433 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23434 * sysdeps/arm/nacl/libc.abilist: Updated.
23435 * sysdeps/nacl/libutil.abilist: New file.
23436
23437 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23438 (SIGWINCH): New macro.
23439
23440 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23441 * sysdeps/arm/nacl/libc.abilist: Add it.
23442
23443 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23444
23445 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23446
23447 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23448
23449 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23450 Swap __glibc_reserved0 and sa_flags order.
23451
23452 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23453
23454 [BZ #18657]
23455 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23456 are pending TLS destructor calls.
23457 * include/link.h (struct link_map): Add concurrency note for
23458 L_TLS_DTOR_COUNT.
23459 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23460 Don't touch the link map flag. Atomically increment
23461 l_tls_dtor_count.
23462 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23463 Avoid taking the load lock and don't touch the link map flag.
23464 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23465 * stdlib/Makefile (tests): Use it.
23466 * stdlib/tst-tls-atexit.c (do_test): dlopen
23467 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23468 to allow tst-tls-atexit-nodelete test case to use it.
23469
23470 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23471
23472 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23473 to bits/types.h.
23474 (msgqnum_t): New typedef.
23475 (msglen_t): Likewise.
23476 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23477 and msg_qbytes type to msglen_t.
23478
23479 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23480
23481 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23482 pad0 to __glibc_reserved0.
23483 (struct stat64): Likewise.
23484
23485 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23486
23487 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23488 Change sa_flags from a long to an int and add __glibc_reserved0 before
23489 it for padding.
23490
23491 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23492
23493 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23494 anonymous by deleting "siginfo" name.
23495
23496 2015-07-21 Roland McGrath <roland@hack.frob.com>
23497
23498 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23499 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23500 rather than __nacl_irt_filename.
23501 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23502
23503 * NEWS: New item for arm-nacl port.
23504 * sysdeps/arm/nacl/libc.abilist: New file.
23505 * sysdeps/nacl/ld.abilist: New file.
23506 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23507 * sysdeps/nacl/libanl.abilist: New file.
23508 * sysdeps/nacl/libcrypt.abilist: New file.
23509 * sysdeps/nacl/libdl.abilist: New file.
23510 * sysdeps/nacl/libm.abilist: New file.
23511 * sysdeps/nacl/libpthread.abilist: New file.
23512 * sysdeps/nacl/libresolv.abilist: New file.
23513 * sysdeps/nacl/librt.abilist: New file.
23514
23515 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23516
23517 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23518 __startcontext to initialize the new context.
23519 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23520 up CFI directive to forbid further backtracing.
23521
23522 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23523
23524 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23525 reference.
23526 * charmaps/ANSI_X3.4-1968: Likewise.
23527 * charmaps/BS_4730: Likewise.
23528 * charmaps/BS_VIEWDATA: Likewise.
23529 * charmaps/CP1250: Likewise.
23530 * charmaps/CP1251: Likewise.
23531 * charmaps/CP1252: Likewise.
23532 * charmaps/CP1253: Likewise.
23533 * charmaps/CP1254: Likewise.
23534 * charmaps/CP1255: Likewise.
23535 * charmaps/CP1256: Likewise.
23536 * charmaps/CSN_369103: Likewise.
23537 * charmaps/EBCDIC-DK-NO: Likewise.
23538 * charmaps/GB_1988-80: Likewise.
23539 * charmaps/GREEK-CCITT: Likewise.
23540 * charmaps/GREEK7: Likewise.
23541 * charmaps/INIS-8: Likewise.
23542 * charmaps/ISIRI-3342: Likewise.
23543 * charmaps/ISO_2033-1983: Likewise.
23544 * charmaps/ISO_5427-EXT: Likewise.
23545 * locales/POSIX: Likewise.
23546 * locales/ar_SA: Likewise.
23547 * locales/be_BY: Likewise.
23548 * locales/be_BY@latin: Likewise.
23549 * locales/ca_ES: Likewise.
23550 * locales/cs_CZ: Likewise.
23551 * locales/da_DK: Likewise.
23552 * locales/de_BE: Likewise.
23553 * locales/de_CH: Likewise.
23554 * locales/de_LU: Likewise.
23555 * locales/en_AU: Likewise.
23556 * locales/en_BW: Likewise.
23557 * locales/en_CA: Likewise.
23558 * locales/en_DK: Likewise.
23559 * locales/en_GB: Likewise.
23560 * locales/en_IE: Likewise.
23561 * locales/en_NZ: Likewise.
23562 * locales/en_ZA: Likewise.
23563 * locales/en_ZW: Likewise.
23564 * locales/es_AR: Likewise.
23565 * locales/es_BO: Likewise.
23566 * locales/es_CL: Likewise.
23567 * locales/es_CO: Likewise.
23568 * locales/es_DO: Likewise.
23569 * locales/es_EC: Likewise.
23570 * locales/es_ES: Likewise.
23571 * locales/es_HN: Likewise.
23572 * locales/es_MX: Likewise.
23573 * locales/es_PA: Likewise.
23574 * locales/es_PE: Likewise.
23575 * locales/es_PY: Likewise.
23576 * locales/es_SV: Likewise.
23577 * locales/es_US: Likewise.
23578 * locales/es_UY: Likewise.
23579 * locales/es_VE: Likewise.
23580 * locales/et_EE: Likewise.
23581 * locales/fa_IR: Likewise.
23582 * locales/fo_FO: Likewise.
23583 * locales/fr_CA: Likewise.
23584 * locales/fr_CH: Likewise.
23585 * locales/gv_GB: Likewise.
23586 * locales/he_IL: Likewise.
23587 * locales/hr_HR: Likewise.
23588 * locales/id_ID: Likewise.
23589 * locales/is_IS: Likewise.
23590 * locales/it_CH: Likewise.
23591 * locales/iw_IL: Likewise.
23592 * locales/kl_GL: Likewise.
23593 * locales/ko_KR: Likewise.
23594 * locales/kw_GB: Likewise.
23595 * locales/lg_UG: Likewise.
23596 * locales/lt_LT: Likewise.
23597 * locales/lv_LV: Likewise.
23598 * locales/mi_NZ: Likewise.
23599 * locales/nhn_MX: Likewise.
23600 * locales/nl_BE: Likewise.
23601 * locales/pl_PL: Likewise.
23602 * locales/sk_SK: Likewise.
23603 * locales/sl_SI: Likewise.
23604 * locales/sv_FI: Likewise.
23605 * locales/tl_PH: Likewise.
23606 * locales/tr_TR: Likewise.
23607 * locales/vi_VN: Likewise.
23608
23609 2015-07-21 Khem Raj <raj.khem@gmail.com>
23610
23611 [BZ #17475]
23612 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23613 of tu_IN and bh_IN.
23614
23615 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23616
23617 [BZ #18694]
23618 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23619 bits/wordsize.h.
23620 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23621
23622 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23623
23624 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23625 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23626 (spawn_thread): New function.
23627 (load): Rename to reg_dtor_and_close. Move dlopen to...
23628 (do_test): ... here. Use IS_LOADED to test for its
23629 availability.
23630
23631 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23632
23633 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23634
23635 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23636
23637 [BZ #18696]
23638 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23639 si_addr_bnd.
23640 (si_lower): New.
23641 (si_upper): Likewise.
23642
23643 2015-07-16 David S. Miller <davem@davemloft.net>
23644
23645 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23646
23647 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23648
23649 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23650 buffer.
23651 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23652 fail output information.
23653
23654 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23655
23656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23657 and strstr-ppc64..
23658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23659 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23660 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23661 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23662 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23663
23664 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23665
23666 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23667 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23668 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23669 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23670
23671 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23672
23673 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23674 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23675 rtld_hidden_proto.
23676 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23677
23678 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23679
23680 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23681 the test can fail.
23682
23683 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23684
23685 [BZ #18676]
23686 * elf/tst-nodelete-opened.c: New test case.
23687 * elf/tst-nodelete-opened-lib.c: New test case module.
23688 * elf/Makefile (tests, modules-names): Use them.
23689 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23690 early.
23691
23692 2015-07-15 David S. Miller <davem@davemloft.net>
23693
23694 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23695 futex-intenal.h
23696 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23697 * sysdeps/sparc/sparc64/Makefile: Likewise.
23698 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23699 Remove space from macro define.
23700 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23701
23702 2015-07-15 Pravin Satpute <psatpute@redhat.com>
23703
23704 [BZ #17475]
23705 * locale/iso-639.def: Update Bhili and Tulu language codes as
23706 per iso639-3.
23707
23708 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
23709
23710 * elf/tst-leaks1.c (main): Converted to ...
23711 (do_test): ... this.
23712 (TEST_FUNCTION): New macro.
23713 Include test-skeleton.c.
23714 * localedata/tst-langinfo.c (main): Converted to ...
23715 (do_test): ... this.
23716 (TEST_FUNCTION): New macro.
23717 Include test-skeleton.c.
23718 * math/test-fpucw.c (main): Converted to ...
23719 (do_test): ... this.
23720 (TEST_FUNCTION): New macro.
23721 Include test-skeleton.c.
23722 * math/test-tgmath.c (main): Converted to ...
23723 (do_test): ... this.
23724 (TEST_FUNCTION): New macro.
23725 Include test-skeleton.c.
23726 * math/test-tgmath2.c (main): Converted to ...
23727 (do_test): ... this.
23728 (TEST_FUNCTION): New macro.
23729 Include test-skeleton.c.
23730 * setjmp/tst-setjmp.c (main): Converted to ...
23731 (do_test): ... this.
23732 (TEST_FUNCTION): New macro.
23733 Include test-skeleton.c.
23734 * stdio-common/tst-sscanf.c (main): Converted to ...
23735 (do_test): ... this.
23736 (TEST_FUNCTION): New macro.
23737 Include test-skeleton.c.
23738 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23739 (do_test): ... this.
23740 (TEST_FUNCTION): New macro.
23741 Include test-skeleton.c.
23742
23743 * elf/tst-audit9.c (main): Converted to ...
23744 (do_test): ... this.
23745 (TEST_FUNCTION): New macro.
23746 Include test-skeleton.c.
23747
23748 2015-07-15 Mike Frysinger <vapier@gentoo.org>
23749
23750 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23751
23752 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23753
23754 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23755 New variable.
23756
23757 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23758
23759 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23760
23761 2015-07-14 Roland McGrath <roland@hack.frob.com>
23762
23763 * sysdeps/generic/dl-fileid.h: New file.
23764 * sysdeps/posix/dl-fileid.h: New file.
23765 * sysdeps/nacl/dl-fileid.h: New file.
23766 * include/link.h: Include <dl-fileid.h>.
23767 (struct link_map): Replace l_dev and l_ino with l_file_id.
23768 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23769 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23770 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23771
23772 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23773
23774 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23775
23776 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23777
23778 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23779 Add iff $CXX is set.
23780 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23781 Likewise.
23782 (tst-nodelete-zmodiff): Likewise.
23783 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23784
23785 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23786
23787 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23788
23789 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23790
23791 * sysdeps/aarch64/fpu/math_private.h
23792 (define math_opt_barrier): Add AArch64 version.
23793 (math_force_eval): Likewise.
23794
23795 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23796
23797 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23798
23799 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23800
23801 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23802 %ld with %jd and cast to intmax_t.
23803 (do_test_length_zero): Likewise.
23804
23805 2015-07-10 Roland McGrath <roland@hack.frob.com>
23806
23807 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23808
23809 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23810
23811 * sysdeps/tile/libm-test-ulps: Regenerated.
23812
23813 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23814 Comment out the whole function, not just its body.
23815
23816 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23817
23818 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23819 locks.
23820
23821 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23822
23823 2015-07-10 Torvald Riegel <triegel@redhat.com>
23824
23825 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23826 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23827
23828 2015-07-10 Torvald Riegel <triegel@redhat.com>
23829
23830 * sysdeps/nptl/futex-internal.h: New file.
23831 * sysdeps/nacl/futex-internal.h: New file.
23832 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23833 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23834 error checking.
23835 (setxid_unmark_thread): Likewise.
23836 (__nptl_setxid): Likewise.
23837 (__wait_lookup_done): Likewise.
23838 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23839 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23840 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23841 * nptl/pthread_once.c (clear_once_control): Likewise.
23842 (__pthread_once_slow): Likewise.
23843 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23844 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23845 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23846 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23847 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23848 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23849 Likewise.
23850 (__pthread_rwlock_rdlock): Likewise.
23851 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23852 Likewise.
23853 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23854 Likewise.
23855 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23856 Likewise.
23857 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23858 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23859 Likewise.
23860 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23861 __ASSUME_PRIVATE_FUTEX check.
23862 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23863 Check that shared futexes are supported.
23864 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23865 wrappers with error checking.
23866 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23867 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23868 * nptl/pthread_barrierattr_setpshared.c
23869 (pthread_barrierattr_setpshared): Check that shared futexes are
23870 supported.
23871 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23872 Likewise.
23873 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23874 Likewise.
23875 * nptl/sem_init.c (futex_private_if_supported): Remove.
23876 (__new_sem_init): Adapt and check that shared futexes are supported.
23877 * nptl/sem_open.c (sem_open): Likewise.
23878 * nptl/sem_post.c (futex_wake): Remove.
23879 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23880 (do_futex_wait): Use futex wrappers with error checking.
23881 * nptl/sem_wait.c: Include lowlevellock.h.
23882 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23883 Use futex_supports_pshared.
23884 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23885 Use futex wrappers with error checking.
23886 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23887 Likewise.
23888 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23889 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23890 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23891 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23892 (futex_wake): Likewise.
23893 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23894 (do_futex_wait): Use futex wrappers with error checking.
23895 (__new_sem_wait_slow): Update EINTR handling.
23896 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23897
23898 2015-07-09 Martin Sebor <msebor@redhat.com>
23899
23900 [BZ #18435]
23901 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23902 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23903 * nptl/Makefile (test-xfail-tst-once5): Define.
23904
23905 2015-07-09 Roland McGrath <roland@hack.frob.com>
23906
23907 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23908 * elf/dl-minimal.c: For readability, reorder some definitions and
23909 introduce more page breaks. Include <stdio.h>.
23910 (__libc_fatal): New function.
23911
23912 * include/unistd.h: Add rtld_hidden_proto for _exit.
23913 * posix/_exit.c: Add rtld_hidden_def.
23914 * sysdeps/mach/hurd/_exit.c: Likewise.
23915 * sysdeps/nacl/_exit.c: Likewise.
23916 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23917 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23918
23919 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23920
23921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23922 bndmov encoding with zero displacement.
23923
23924 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23925 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 [BZ #18134]
23928 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23929 * sysdeps/i386/configure: Regenerated.
23930 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23931 (_dl_runtime_profile): Save and restore Intel MPX return bound
23932 registers when calling _dl_call_pltexit. Add
23933 PRESERVE_BND_REGS_PREFIX before return.
23934 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23935 (LRV_BND1_OFFSET): Likewise.
23936 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23937 lrv_bnd1.
23938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23939 typo in bndmov encoding.
23940 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23941 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23942 branch instructions to preserve bounds.
23943
23944 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23945
23946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23947 [GLIBC_2.22]: Add fmemopen.
23948
23949 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23950
23951 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23952 returns an error, also try to use host port from __mach_host_self for
23953 the __vm_wire call.
23954 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23955
23956 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23957
23958 [BZ #18400]
23959 [BZ #18648]
23960 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23961 Fix pr_uid and pr_gid members.
23962 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23963 definition to elf_greg_t.
23964
23965 2015-07-08 Roland McGrath <roland@hack.frob.com>
23966
23967 [BZ #18383]
23968 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23969 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23970 * sysdeps/arm/configure: Regenerated.
23971 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23972 (test-xfail-tst-tlsalign-static): Variable removed.
23973
23974 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23975 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23976 rather than explicit 'ln -s'.
23977
23978 * resolv/rpc/netdb.h: New file.
23979 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23980
23981 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23982
23983 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23984 length buffers.
23985 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23986 test-skeleton.c.
23987
23988 [BZ #6544]
23989 [BZ #11216]
23990 [BZ #12836]
23991 [BZ #13151]
23992 [BZ #13152]
23993 [BZ #14292]
23994 * include/stdio.h (fmemopen): Remove hidden prototype.
23995 (__fmemopen): Add new hidden prototype.
23996 * libio/Makefile: Add oldfmemopen object.
23997 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23998 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23999 compliance.
24000 * libio/oldfmemopen.c: New file: old fmemopen implementation for
24001 symbol compatibility.
24002 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24003 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24004 fmemopen.
24005 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24006 on append and read mode.
24007 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24008 fmemopen.
24009 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24010 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24011 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24012 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24013 Likewise.
24014 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24015 [GLIBC_2.22]: Likewise.
24016 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24017 Likewise.
24018 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24019 Likewise.
24020 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24021 [GLIBC_2.22]: Likewise.
24022 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24023 [GLIBC_2.22]: Likewise.
24024 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24025 [GLIBC_2.22]: Likewise.
24026 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24027 [GLIBC_2.22]: Likewise.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24029 [GLIBC_2.22]: Likewise.
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24031 [GLIBC_2.22]: Likewise.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24033 [GLIBC_2.22]: Likewise.
24034 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24035 Likewise.
24036 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24037 Likewise.
24038 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24039 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24040 [GLIBC_2.22]: Likewise.
24041 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24042 [GLIBC_2.22]: Likewise.
24043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24044 [GLIBC_2.22]: Likewise.
24045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24046 [GLIBC_2.22]: Likewise.
24047 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24048 Likewise.
24049 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24050 Likewise.
24051 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24052 Likewise.
24053 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24054 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24055
24056 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24057
24058 [BZ #18643]
24059 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24060 IPV6_PATHMTU, and IPV6_DONTFRAG.
24061
24062 2015-07-08 Feng Gao <gfree.wind@gmail.com>
24063
24064 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24065 and _IO_UNBUFFERED.
24066 * libio/oldfileops.c: Likewise.
24067 * libio/wfileops.c: Likewise.
24068
24069 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24070
24071 * nscd/selinux.c: Delete selinux/flask.h include.
24072
24073 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24074
24075 [BZ #18641]
24076 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24077 (putpwent): Likewise.
24078 (getpwnam): Likewise.
24079 (getpwent_r): Likewise.
24080 (getpwuid_r): Likewise.
24081 (getpwnam_r): Likewise.
24082 (fgetpwent_r): Likewise.
24083
24084 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24085
24086 [BZ #18557]
24087 * inet/rcmd.c (__validuser2_sa): Check user first to
24088 short-circuit host check.
24089
24090 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
24091 Mikhail Ilin <m.ilin@samsung.com>
24092
24093 [BZ #17833]
24094 * elf/Makefile (tests): Add tst-nodelete.
24095 (modules-names): Add tst-nodelete-uniquemod.
24096 (tst-nodelete-uniquemod.so-no-z-defs): New.
24097 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24098 (tst-nodelete-zmod.so-no-z-defs): Likewise.
24099 ($(objpfx)tst-nodelete): Likewise.
24100 ($(objpfx)tst-nodelete.out): Likewise.
24101 (LDFLAGS-tst-nodelete): Likewise.
24102 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24103 * elf/dl-close.c (_dl_close_worker): Add a parameter to
24104 implement forced object deletion.
24105 (_dl_close): Pass false to _dl_close_worker.
24106 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24107 * elf/tst-nodelete.cc: New file.
24108 * elf/tst-nodeletelib.cc: Likewise.
24109 * elf/tst-znodeletelib.cc: Likewise.
24110 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24111
24112 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24113
24114 [BZ #18508]
24115 * stdlib/Makefile ($(objpfx)tst-makecontext3):
24116 Depend on $(libdl).
24117 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24118 is not called infinitely times.
24119 (backtrace_helper): New function.
24120 (trace_arg): New struct.
24121 (st1): Enlarge stack size.
24122 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24123 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24124 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24125 Likewise.
24126
24127 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24128
24129 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24130
24131 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24132
24133 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24134 Include sys/types.h instead of bits/types.h.
24135 Remove inclusion of bits/wordsize.h.
24136
24137 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24138
24139 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24140 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24141 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24142 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24143 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24144 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24145
24146 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24147
24148 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24149 link-defines.sym.
24150 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24151 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24152 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24153 and LR_SIZE.
24154 * sysdeps/i386/link-defines.sym: New file.
24155
24156 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24157
24158 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24159 (modules-names): Add tst-auditmod3a tst-auditmod3b.
24160 ($(objpfx)tst-audit3): New rule.
24161 ($(objpfx)tst-audit3.out): Likewise.
24162 * sysdeps/i386/tst-audit3.c: New file.
24163 * sysdeps/i386/tst-audit3.h: Likewise.
24164 * sysdeps/i386/tst-auditmod3a.c: Likewise.
24165 * sysdeps/i386/tst-auditmod3b.c: Likewise.
24166
24167 2015-07-07 Torvald Riegel <triegel@redhat.com>
24168
24169 [BZ #18633]
24170 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24171 pointer in C code.
24172 (__strcat_c): Likewise.
24173 (__strcat_g): Likewise.
24174
24175 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
24176
24177 [BZ #18592]
24178 * misc/sbrk.c: Set errno to ENOMEM on overflow.
24179
24180 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24181
24182 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24183 New function. (__ieee754_sqrtf): New function.
24184 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24185 New function.
24186 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24187 New function.
24188
24189 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24190
24191 * sysdeps/ieee754/support.c: Remove unused file.
24192
24193 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24194
24195 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24196 registers instead of d ones so the layout is kernel abi compatible.
24197 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24198 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24199 Likewise.
24200
24201 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24202
24203 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24204
24205 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24206
24207 [BZ #18619]
24208 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24209 and return argument in case of subnormal argument.
24210
24211 2015-07-01 Martin Sebor <msebor@redhat.com>
24212
24213 [BZ #18435]
24214 * nptl/Makefile: Add tst-once5.cc.
24215 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24216 Remove macro redefinitions.
24217 * nptl/tst-once5.cc: New test.
24218
24219 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24220
24221 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24222
24223 * sysdeps/arm/libm-test-ulps: Regenerated.
24224
24225 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24226 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24227
24228 2015-06-30 Torvald Riegel <triegel@redhat.com>
24229
24230 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24231 lll_lock_wait_private and lll_futex_wake probes.
24232
24233 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24234 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24235 Likewise.
24236 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24237 atomic_spin_nop.
24238 * sysdeps/x86_64/bits/atomic.h: Likewise.
24239 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24240 to atomic_spin_nop and move ...
24241 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24242 ... here and ...
24243 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24244 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24245 atomic_spin_nop instead of BUSY_WAIT_NOP.
24246 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24247 Likewise.
24248 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24249 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24250 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24251 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24252 instead of atomic_delay.
24253
24254 2015-06-29 Joseph Myers <joseph@codesourcery.com>
24255
24256 [BZ #18613]
24257 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24258 X_ADJ not X when adjusting exponent.
24259 (__ieee754_gamma_r): Do intermediate computations in
24260 round-to-nearest then adjust overflowing and underflowing results
24261 as needed.
24262 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24263 of X_ADJ not X when adjusting exponent.
24264 (__ieee754_gammaf_r): Do intermediate computations in
24265 round-to-nearest then adjust overflowing and underflowing results
24266 as needed.
24267 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24268 log of X_ADJ not X when adjusting exponent.
24269 (__ieee754_gammal_r): Do intermediate computations in
24270 round-to-nearest then adjust overflowing and underflowing results
24271 as needed. Use 1.0L not 1.0f as numerator of division.
24272 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24273 log of X_ADJ not X when adjusting exponent.
24274 (__ieee754_gammal_r): Do intermediate computations in
24275 round-to-nearest then adjust overflowing and underflowing results
24276 as needed. Use 1.0L not 1.0f as numerator of division.
24277 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24278 of X_ADJ not X when adjusting exponent.
24279 (__ieee754_gammal_r): Do intermediate computations in
24280 round-to-nearest then adjust overflowing and underflowing results
24281 as needed. Use 1.0L not 1.0f as numerator of division.
24282 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
24283 to auto-libm-test-in.
24284 (tgamma_test): Use ALL_RM_TEST.
24285 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
24286 tests of tgamma with spurious-overflow.
24287 * math/auto-libm-test-out: Regenerated.
24288 * math/gen-libm-have-vector-test.sh: Do not check for START.
24289 * sysdeps/i386/fpu/libm-test-ulps: Update.
24290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24291
24292 [BZ #18612]
24293 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24294 arguments, just return 0.5 times the argument, with underflow
24295 forced as needed.
24296 * math/auto-libm-test-in: Add more tests of j1.
24297 * math/auto-libm-test-out: Regenerated.
24298
24299 [BZ #16559]
24300 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24301 (__ieee754_j1): Force underflow exception for small results.
24302 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24303 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24304 (__ieee754_j1f): Force underflow exception for small results.
24305 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24306 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24308 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24309 (__ieee754_j1l): Force underflow exception for small results.
24310 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24311 * math/auto-libm-test-in: Add more tests of j1 and jn.
24312 * math/auto-libm-test-out: Regenerated.
24313
24314 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24315 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24316 (PF_MPLS): Likewise.
24317 (AF_IB): Likewise.
24318 (AF_MPLS): Likewise.
24319 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24320 value and macro.
24321 (MS_RMT_MASK): Include MS_LAZYTIME.
24322
24323 2015-06-26 Mel Gorman <mgorman@suse.de>
24324
24325 [BZ #18502]
24326 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24327 already minimal.
24328
24329 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24330
24331 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24332 (DT_MIPS_NUM): Update.
24333 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24334 DT_MIPS_RLD_MAP_REL.
24335
24336 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24337
24338 [BZ #16559]
24339 [BZ #18602]
24340 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24341 round-to-nearest internally then recompute results that
24342 underflowed to zero in the original rounding mode.
24343 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24344 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24347 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24348 * sysdeps/i386/fpu/libm-test-ulps: Update.
24349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24350
24351 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24352
24353 * NEWS: Fixed description of link with vector math library.
24354
24355 2015-06-25 Andreas Schwab <schwab@suse.de>
24356
24357 [BZ #18549]
24358 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24359 * libio/test-fmemopen.c (do_test): Add test for it.
24360
24361 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24362
24363 [BZ #17841]
24364 * Makeconfig (no-pie-ldflag): New.
24365 (+link): Set to $(+link-pie) if default to PIE.
24366 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24367 * config.make.in (build-pie-default): New.
24368 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24369 is default. AC_SUBST.
24370 * configure: Regenerated.
24371 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24372
24373 2015-06-24 Roland McGrath <roland@hack.frob.com>
24374
24375 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24376 to 'unsigned int'.
24377
24378 * resolv/gai_misc.h (struct waitlist): Change type of field
24379 counterp to 'volatile unsigned int *'.
24380 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24381 FUTEXADDR and OLDVAL.
24382 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24383 Give local variable TOTAL type 'volatile unsigned int'.
24384 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24385 * resolv/gai_suspend.c (gai_suspend):
24386 Give local variable CNTR type 'unsigned int'.
24387
24388 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24389 counterp to 'volatile unsigned int *'.
24390 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24391 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24392 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24393 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24394 Give local variable TOTAL type 'volatile unsigned int'.
24395 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24396
24397 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24398
24399 [BZ #18383]
24400 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24401 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24402 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24403 comment for i386/x86-64.
24404 (test-xfail-tst-tlsalign-extern-static): Removed.
24405
24406 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24407
24408 * math/test-double.h: New file.
24409 * math/test-float.h: Likewise.
24410 * math/test-ldouble.h: Likewise.
24411 * math/test-math-inline.h: Likewise.
24412 * math/test-math-no-inline.h: Likewise.
24413 * math/test-math-scalar.h: Likewise.
24414 * math/test-math-vector.h: Likewise.
24415 * math/test-vec-loop.h: Remove file. Contents moved into
24416 test-math-vector.h.
24417 * math/libm-test.inc (MATHCONST): Do not document macro.
24418 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24419 and test-math-scalar.h.
24420 (FUNC): Remove macro.
24421 (FUNC_TEST): Likewise.
24422 (FLOAT): Likewise.
24423 (MATHCONST): Likewise.
24424 (PRINTF_EXPR): Likewise.
24425 (PRINTF_XEXPR): Likewise.
24426 (PRINTF_NEXPR): Likewise.
24427 (TEST_DOUBLE): Likewise.
24428 (TEST_MATHVEC): Likewise.
24429 (__NO_MATH_INLINES): Likewise.
24430 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24431 and test-math-scalar.h.
24432 (FUNC): Remove macro.
24433 (FUNC_TEST): Likewise.
24434 (FLOAT): Likewise.
24435 (MATHCONST): Likewise.
24436 (PRINTF_EXPR): Likewise.
24437 (PRINTF_XEXPR): Likewise.
24438 (PRINTF_NEXPR): Likewise.
24439 (TEST_FLOAT): Likewise.
24440 (TEST_MATHVEC): Likewise.
24441 (__NO_MATH_INLINES): Likewise.
24442 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24443 and test-math-scalar.h.
24444 (FUNC): Remove macro.
24445 (FUNC_TEST): Likewise.
24446 (FLOAT): Likewise.
24447 (MATHCONST): Likewise.
24448 (PRINTF_EXPR): Likewise.
24449 (PRINTF_XEXPR): Likewise.
24450 (PRINTF_NEXPR): Likewise.
24451 (TEST_DOUBLE): Likewise.
24452 (TEST_MATHVEC): Likewise.
24453 (TEST_INLINE): Likewise.
24454 (__NO_MATH_INLINES): Likewise.
24455 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24456 test-math-scalar.h.
24457 (FUNC): Remove macro.
24458 (FUNC_TEST): Likewise.
24459 (FLOAT): Likewise.
24460 (MATHCONST): Likewise.
24461 (PRINTF_EXPR): Likewise.
24462 (PRINTF_XEXPR): Likewise.
24463 (PRINTF_NEXPR): Likewise.
24464 (TEST_FLOAT): Likewise.
24465 (TEST_MATHVEC): Likewise.
24466 (TEST_INLINE): Likewise.
24467 (__NO_MATH_INLINES): Likewise.
24468 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24469 and test-math-scalar.h.
24470 (FUNC): Remove macro.
24471 (FUNC_TEST): Likewise.
24472 (FLOAT): Likewise.
24473 (MATHCONST): Likewise.
24474 (PRINTF_EXPR): Likewise.
24475 (PRINTF_XEXPR): Likewise.
24476 (PRINTF_NEXPR): Likewise.
24477 (TEST_LDOUBLE): Likewise.
24478 (TEST_MATHVEC): Likewise.
24479 (TEST_INLINE): Likewise.
24480 (__NO_MATH_INLINES): Likewise.
24481 * math/test-ldouble.c: Include test-ldouble.h,
24482 test-math-no-inline.h and test-math-scalar.h.
24483 (FUNC): Remove macro.
24484 (FUNC_TEST): Likewise.
24485 (FLOAT): Likewise.
24486 (MATHCONST): Likewise.
24487 (PRINTF_EXPR): Likewise.
24488 (PRINTF_XEXPR): Likewise.
24489 (PRINTF_NEXPR): Likewise.
24490 (TEST_LDOUBLE): Likewise.
24491 (TEST_MATHVEC): Likewise.
24492 (__NO_MATH_INLINES): Likewise.
24493 * math/test-double-vlen2.h: Include test-double.h,
24494 test-math-no-inline.h and test-math-vector.h.
24495 (FLOAT): Remove macro.
24496 (FUNC): Likewise.
24497 (MATHCONST): Likewise.
24498 (PRINTF_EXPR): Likewise.
24499 (PRINTF_XEXPR): Likewise.
24500 (PRINTF_NEXPR): Likewise.
24501 (TEST_DOUBLE): Likewise.
24502 (TEST_MATHVEC): Likewise.
24503 (__NO_MATH_INLINES): Likewise.
24504 (CNCT): Likewise.
24505 (CONCAT): Likewise.
24506 (WRAPPER_NAME): Likewise.
24507 (WRAPPER_DECL): Likewise.
24508 (WRAPPER_DECL_ff): Likewise.
24509 (WRAPPER_DECL_fFF): Likewise.
24510 (VECTOR_WRAPPER): Likewise.
24511 (VECTOR_WRAPPER_ff): Likewise.
24512 (VECTOR_WRAPPER_fFF): Likewise.
24513 (VEC_LEN): New macro.
24514 * math/test-double-vlen4.h: Include test-double.h,
24515 test-math-no-inline.h and test-math-vector.h.
24516 (FLOAT): Remove macro.
24517 (FUNC): Likewise.
24518 (MATHCONST): Likewise.
24519 (PRINTF_EXPR): Likewise.
24520 (PRINTF_XEXPR): Likewise.
24521 (PRINTF_NEXPR): Likewise.
24522 (TEST_DOUBLE): Likewise.
24523 (TEST_MATHVEC): Likewise.
24524 (__NO_MATH_INLINES): Likewise.
24525 (CNCT): Likewise.
24526 (CONCAT): Likewise.
24527 (WRAPPER_NAME): Likewise.
24528 (WRAPPER_DECL): Likewise.
24529 (WRAPPER_DECL_ff): Likewise.
24530 (WRAPPER_DECL_fFF): Likewise.
24531 (VECTOR_WRAPPER): Likewise.
24532 (VECTOR_WRAPPER_ff): Likewise.
24533 (VECTOR_WRAPPER_fFF): Likewise.
24534 (VEC_LEN): New macro.
24535 * math/test-double-vlen8.h: Include test-double.h,
24536 test-math-no-inline.h and test-math-vector.h.
24537 (FLOAT): Remove macro.
24538 (FUNC): Likewise.
24539 (MATHCONST): Likewise.
24540 (PRINTF_EXPR): Likewise.
24541 (PRINTF_XEXPR): Likewise.
24542 (PRINTF_NEXPR): Likewise.
24543 (TEST_DOUBLE): Likewise.
24544 (TEST_MATHVEC): Likewise.
24545 (__NO_MATH_INLINES): Likewise.
24546 (CNCT): Likewise.
24547 (CONCAT): Likewise.
24548 (WRAPPER_NAME): Likewise.
24549 (WRAPPER_DECL): Likewise.
24550 (WRAPPER_DECL_ff): Likewise.
24551 (WRAPPER_DECL_fFF): Likewise.
24552 (VECTOR_WRAPPER): Likewise.
24553 (VECTOR_WRAPPER_ff): Likewise.
24554 (VECTOR_WRAPPER_fFF): Likewise.
24555 (VEC_LEN): New macro.
24556 * math/test-float-vlen4.h: Include test-float.h,
24557 test-math-no-inline.h and test-math-vector.h.
24558 (FLOAT): Remove macro.
24559 (FUNC): Likewise.
24560 (MATHCONST): Likewise.
24561 (PRINTF_EXPR): Likewise.
24562 (PRINTF_XEXPR): Likewise.
24563 (PRINTF_NEXPR): Likewise.
24564 (TEST_FLOAT): Likewise.
24565 (TEST_MATHVEC): Likewise.
24566 (__NO_MATH_INLINES): Likewise.
24567 (CNCT): Likewise.
24568 (CONCAT): Likewise.
24569 (WRAPPER_NAME): Likewise.
24570 (WRAPPER_DECL): Likewise.
24571 (WRAPPER_DECL_ff): Likewise.
24572 (WRAPPER_DECL_fFF): Likewise.
24573 (VECTOR_WRAPPER): Likewise.
24574 (VECTOR_WRAPPER_ff): Likewise.
24575 (VECTOR_WRAPPER_fFF): Likewise.
24576 (VEC_LEN): New macro.
24577 * math/test-float-vlen8.h: Include test-float.h,
24578 test-math-no-inline.h and test-math-vector.h.
24579 (FLOAT): Remove macro.
24580 (FUNC): Likewise.
24581 (MATHCONST): Likewise.
24582 (PRINTF_EXPR): Likewise.
24583 (PRINTF_XEXPR): Likewise.
24584 (PRINTF_NEXPR): Likewise.
24585 (TEST_FLOAT): Likewise.
24586 (TEST_MATHVEC): Likewise.
24587 (__NO_MATH_INLINES): Likewise.
24588 (CNCT): Likewise.
24589 (CONCAT): Likewise.
24590 (WRAPPER_NAME): Likewise.
24591 (WRAPPER_DECL): Likewise.
24592 (WRAPPER_DECL_ff): Likewise.
24593 (WRAPPER_DECL_fFF): Likewise.
24594 (VECTOR_WRAPPER): Likewise.
24595 (VECTOR_WRAPPER_ff): Likewise.
24596 (VECTOR_WRAPPER_fFF): Likewise.
24597 (VEC_LEN): New macro.
24598 * math/test-float-vlen16.h: Include test-float.h,
24599 test-math-no-inline.h and test-math-vector.h.
24600 (FLOAT): Remove macro.
24601 (FUNC): Likewise.
24602 (MATHCONST): Likewise.
24603 (PRINTF_EXPR): Likewise.
24604 (PRINTF_XEXPR): Likewise.
24605 (PRINTF_NEXPR): Likewise.
24606 (TEST_FLOAT): Likewise.
24607 (TEST_MATHVEC): Likewise.
24608 (__NO_MATH_INLINES): Likewise.
24609 (CNCT): Likewise.
24610 (CONCAT): Likewise.
24611 (WRAPPER_NAME): Likewise.
24612 (WRAPPER_DECL): Likewise.
24613 (WRAPPER_DECL_ff): Likewise.
24614 (WRAPPER_DECL_fFF): Likewise.
24615 (VECTOR_WRAPPER): Likewise.
24616 (VECTOR_WRAPPER_ff): Likewise.
24617 (VECTOR_WRAPPER_fFF): Likewise.
24618 (VEC_LEN): New macro.
24619 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24620 test-vec-loop.h.
24621 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24622 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24623 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24624 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24625 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24626 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24627 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24628
24629 2015-06-24 Roland McGrath <roland@hack.frob.com>
24630
24631 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24632 (__getlogin_r): ... this.
24633
24634 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24635
24636 [BZ #18594]
24637 * math/s_ccosh.c (__ccosh): Compare with least normal value
24638 instead of comparing class with FP_SUBNORMAL.
24639 * math/s_ccoshf.c (__ccoshf): Likewise.
24640 * math/s_ccoshl.c (__ccoshl): Likewise.
24641 * math/s_cexp.c (__cexp): Likewise.
24642 * math/s_cexpf.c (__cexpf): Likewise.
24643 * math/s_cexpl.c (__cexpl): Likewise.
24644 * math/s_csin.c (__csin): Likewise.
24645 * math/s_csinf.c (__csinf): Likewise.
24646 * math/s_csinh.c (__csinh): Likewise.
24647 * math/s_csinhf.c (__csinhf): Likewise.
24648 * math/s_csinhl.c (__csinhl): Likewise.
24649 * math/s_csinl.c (__csinl): Likewise.
24650 * math/s_ctan.c (__ctan): Likewise.
24651 * math/s_ctanf.c (__ctanf): Likewise.
24652 * math/s_ctanh.c (__ctanh): Likewise.
24653 * math/s_ctanhf.c (__ctanhf): Likewise.
24654 * math/s_ctanhl.c (__ctanhl): Likewise.
24655 * math/s_ctanl.c (__ctanl): Likewise.
24656 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24657 csin, csinh, ctan and ctanh.
24658 * math/auto-libm-test-out: Regenerated.
24659 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24660 * sysdeps/i386/fpu/libm-test-ulps: Update.
24661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24662
24663 2015-06-24 Roland McGrath <roland@hack.frob.com>
24664
24665 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24666 return value is wrong, print the expected value too.
24667
24668 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24669
24670 [BZ #18585]
24671 * elf/readlib.c (is_gdb_python_file): New.
24672 (process_file): Don't issue errors on filenames with -gdb.py
24673 suffix.
24674
24675 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24676
24677 * math/auto-libm-test-in: Add more tests of csin and csinh.
24678 * math/auto-libm-test-out: Regenerated.
24679 * math/libm-test.inc (csin_test_data): Remove tests moved to
24680 auto-libm-test-in.
24681 (csinh_test_data): Likewise.
24682
24683 [BZ #18593]
24684 * math/s_csin.c (__csin): Negate before rather than after possibly
24685 overflowing multiplication.
24686 * math/s_csinf.c (__csinf): Likewise.
24687 * math/s_csinh.c (__csinh): Likewise.
24688 * math/s_csinhf.c (__csinhf): Likewise.
24689 * math/s_csinhl.c (__csinhl): Likewise.
24690 * math/s_csinl.c (__csinl): Likewise.
24691 * math/auto-libm-test-in: Add some tests of csin and csinh.
24692 * math/auto-libm-test-out: Regenerated.
24693 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24694 (csinh_test_data): Likewise.
24695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24696
24697 [BZ #18586]
24698 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24699 underflow exception for small results.
24700
24701 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
24702
24703 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24704 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24705 variable and included header.
24706 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24707 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24708 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24709 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24710 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24711 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24712 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24713 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24714 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24715 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24716 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24717 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24718 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24719 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24720 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24721 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24722
24723 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24724
24725 [BZ #16526]
24726 [BZ #16538]
24727 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24728 (__sin): Force underflow exception for arguments with small
24729 absolute value.
24730 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24731 (__kernel_sinf): Force underflow exception for arguments with
24732 small absolute value.
24733 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24734 (__kernel_sincosl): Force underflow exception for arguments with
24735 small absolute value.
24736 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24737 (__kernel_sinl): Force underflow exception for arguments with
24738 small absolute value.
24739 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24740 (__kernel_sincosl): Force underflow exception for arguments with
24741 small absolute value.
24742 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24743 (__kernel_sinl): Force underflow exception for arguments with
24744 small absolute value.
24745 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24746 (__kernel_sinl): Force underflow exception for arguments with
24747 small absolute value.
24748 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24749 (__kernel_sinf): Force underflow exception for arguments with
24750 small absolute value.
24751 * math/auto-libm-test-in: Add more tests of sin and sincos.
24752 * math/auto-libm-test-out: Regenerated.
24753
24754 [BZ #18245]
24755 [BZ #18583]
24756 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24757 (__kernel_standard_l): Use feholdexcept and fesetenv around
24758 conversion to double instead of special-casing overflow and
24759 underflow.
24760 * math/libm-test.inc (fmod_test_data): Add more tests.
24761 (remainder_test_data): Likewise.
24762 (sqrt_test_data): Likewise.
24763
24764 2015-06-23 Torvald Riegel <triegel@redhat.com>
24765
24766 [BZ #17403]
24767 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24768 atomic_read_barrier, atomic_write_barrier): Define.
24769 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24770 atomic_read_barrier, atomic_write_barrier): Define.
24771
24772 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24773
24774 * math/Makefile [$(PERL) != no]
24775 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24776 dependency on libm-test.stmp below the inclusion of Rules.
24777
24778 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24779
24780 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24781 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24782 and included header.
24783 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24784 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24786 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24787 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24789 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24790 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24791 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24792 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24793 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24794 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24795 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24796 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24797 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24798 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24799 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24800 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24801 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24802
24803 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24804
24805 [BZ #18371]
24806 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24807 intermediate but not final result might underflow.
24808 * math/s_csqrtf.c (__csqrtf): Likewise.
24809 * math/s_csqrtl.c (__csqrtl): Likewise.
24810 * math/auto-libm-test-in: Add more tests of csqrt.
24811 * math/auto-libm-test-out: Regenerated.
24812 * sysdeps/i386/fpu/libm-test-ulps: Update.
24813
24814 [BZ #18219]
24815 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24816 threshold on absolute value of exponent for which scaling is used.
24817 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24818 * math/auto-libm-test-in: Add more tests of exp2.
24819 * math/auto-libm-test-out: Regenerated.
24820
24821 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24822
24823 [BZ #17977]
24824 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24825 when initializing interface list, based on the bug analysis
24826 and the patch proposed by Eric Newton.
24827 * resolv/tst-res_hconf_reorder.c: New test.
24828 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24829 tst-res_hconf_reorder.
24830 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24831 and $(shared-thread-library).
24832 (tst-res_hconf_reorder-ENV): New variable.
24833
24834 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24835 in comment.
24836
24837 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24838
24839 [BZ #16353]
24840 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24841 (__expm1): Force underflow exception for arguments with small
24842 absolute value.
24843 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24844 (__expm1f): Force underflow exception for arguments with small
24845 absolute value.
24846 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24847 (__expm1): Force underflow exception for arguments with small
24848 absolute value.
24849 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24850 (__expm1f): Force underflow exception for arguments with small
24851 absolute value.
24852 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24853 Check for small arguments before calling __expm1.
24854 * math/auto-libm-test-in: Do not mark underflow exceptions as
24855 possibly missing for bug 16353.
24856 * math/auto-libm-test-out: Regenerated.
24857
24858 2015-06-22 Andreas Schwab <schwab@suse.de>
24859
24860 [BZ #18513]
24861 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24862 PTR queries.
24863
24864 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24865
24866 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24867
24868 * string/strcoll_l.c: Remove unused struct element idxnow.
24869
24870 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24871
24872 [BZ #18569]
24873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24874 underflow and return argument in case of subnormal argument.
24875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24876 Likewise.
24877 * math/auto-libm-test-in: Add more tests of expm1.
24878 * math/auto-libm-test-out: Regenerated.
24879
24880 [BZ #16361]
24881 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24882 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24883 tiny results.
24884 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24885 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24886 tiny results.
24887 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24888 mark underflow exceptions as possibly missing for bug 16361.
24889 * math/auto-libm-test-out: Regenerated.
24890
24891 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24892
24893 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24894 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24895 Remove variable.
24896 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24897 (test-xfail-XOPEN2K8/utmpx.h/conform).
24898
24899 * conform/conformtest.pl ($xerrors): New variable.
24900 (note_error): New function.
24901 (compiletest): New argument $xfail. Use not_error.
24902 (runtest): Likewise.
24903 (top level): Handle xfail- lines. Update calls to compiletest and
24904 runtest. Handle xfail- and optional- in headers listed with
24905 allow-header.
24906 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24907 (O_EXEC): Likewise.
24908 (O_SEARCH): Likewise.
24909 * conform/data/stropts.h-data (ioctl): Likewise.
24910 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24911 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24912 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24913 (msghdr.msg_controllen): Likewise.
24914 (cmsghdr.cmsg_len): Likewise.
24915 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24916 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24917 variable.
24918 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24919 (test-xfail-XPG4/stropts.h/conform): Likewise.
24920 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24921 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24922 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24923 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24924 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24925 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24926 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24927 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24928 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24929 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24930 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24931 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24932 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24933 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24934 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24935 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24936 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24937 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24938 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24939
24940 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24941
24942 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24943 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24944 definitions for proper unfolding of __MATHDECL_VEC.
24945
24946 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24947
24948 * benchtests/bench-strcoll.c:
24949 Include string.h.
24950 (main): Remove unused variable res.
24951
24952 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24953
24954 * timezone/Makefile (%/UTC %/Universal):
24955 Generate test-result files for UTC and Universal.
24956
24957 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24958
24959 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24960
24961 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24962
24963 [BZ #16350]
24964 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24965 for arguments with small absolute value.
24966 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24967 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24968 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24969 (__asinh): Force underflow exception for arguments with small
24970 absolute value.
24971 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24972 (__asinhf): Force underflow exception for arguments with small
24973 absolute value.
24974 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24975 (__asinhl): Force underflow exception for arguments with small
24976 absolute value.
24977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24978 (__asinhl): Force underflow exception for arguments with small
24979 absolute value.
24980 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24981 (__asinhl): Force underflow exception for arguments with small
24982 absolute value.
24983 * math/auto-libm-test-in: Do not mark underflow exceptions as
24984 possibly missing for bug 16350.
24985 * math/auto-libm-test-out: Regenerated.
24986
24987 * include/bits/ipc.h: Remove file.
24988 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24989 variable.
24990 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24991 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24992 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24993 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24994 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24995 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24996 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24997 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24998 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24999
25000 * math/auto-libm-test-in: Remove spurious underflow allowance for
25001 tests of cexp.
25002 * math/auto-libm-test-out: Regenerated.
25003
25004 [BZ #18558]
25005 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25006 unconditional definition.
25007 (MCAST_BLOCK_SOURCE): Likewise.
25008 (MCAST_UNBLOCK_SOURCE): Likewise.
25009 (MCAST_LEAVE_GROUP): Likewise.
25010 (MCAST_JOIN_SOURCE_GROUP): Likewise.
25011 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25012 (MCAST_MSFILTER): Likewise.
25013 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25014 Remove variable.
25015 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25016 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25017 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25018 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25019 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25020
25021 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
25022
25023 * NEWS: Mention addition of x86_64 vector sincosf.
25024 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25025 * math/test-float-vlen4.h: Likewise.
25026 * math/test-float-vlen8.h: Likewise.
25027 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25028 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25029 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25030 * sysdeps/x86_64/fpu/Versions: New versions added.
25031 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25032 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25033 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25034 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25035 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25036 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25037 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25038 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25039 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25040 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25041 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25042 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25043 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25044 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25045 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25046 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25047 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25048 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25049 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25050 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25051 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25052 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25053 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25054 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25055
25056 * NEWS: Mention addition of x86_64 vector sincos.
25057 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25058 * math/math.h (__MATHDECL_VEC): New macro.
25059 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25060 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25061 declaration under condition.
25062 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25063 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25064 TEST_VEC_LOOP change.
25065 * math/test-double-vlen4.h: Likewise.
25066 * math/test-double-vlen8.h: Likewise.
25067 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25068 * math/test-float-vlen4.h: Likewise.
25069 * math/test-float-vlen8.h: Likewise.
25070 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25071 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25072 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25073 * sysdeps/x86_64/fpu/Versions: New versions added.
25074 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25075 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25076 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25078 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25080 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25083 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25084 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25085 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25086 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25087 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25088 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25089 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25090 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25091 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25092 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25093 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25094 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25095 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25096 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25097 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25098
25099 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25100 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25101 redirections for powf.
25102 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25103 * sysdeps/x86_64/fpu/Versions: New versions added.
25104 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25105 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25106 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25107 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25108 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25109 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25110 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25111 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25112 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25113 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25114 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25115 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25116 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25117 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25118 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25119 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25120 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25121 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25122 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25123 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25124 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25125 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25126 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25127 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25128 * math/test-float-vlen16.h: Fixed 2 argument macro.
25129 * math/test-float-vlen4.h: Likewise.
25130 * math/test-float-vlen8.h: Likewise.
25131 * NEWS: Mention addition of x86_64 vector powf.
25132
25133 2015-06-17 Joseph Myers <joseph@codesourcery.com>
25134
25135 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25136 and redefine.
25137 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25138 and redefine.
25139 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25140 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25142
25143 [BZ #18553]
25144 * resource/getpriority.c (getpriority): Rename to __getpriority
25145 and define as weak alias of __getpriority.
25146 * resource/setpriority.c (setpriority): Rename to __setpriority
25147 and define as weak alias of __setpriority.
25148 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25149 __getpriority and define as weak alias of __getpriority.
25150 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25151 __setpriority and define as weak alias of __setpriority.
25152 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25153 strong name.
25154 (setpriority): Use __setpriority as strong name.
25155 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25156 __getpriority and define as weak alias of __getpriority.
25157 * include/sys/resource.h (__getpriority): Declare. Use
25158 libc_hidden_proto.
25159 (__setpriority): Likewise.
25160 (getpriority): Don't use libc_hidden_proto.
25161 (setpriority): Likewise.
25162 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25163 getpriority. Call __setpriority instead of setpriority.
25164 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25165 Remove variable.
25166
25167 [BZ #18547]
25168 * misc/getttyent.c (getttynam): Rename to __getttynam and define
25169 as weak alias of __getttynam. Use prototype function definition.
25170 Call __setttyent, __getttyent and __endttyent instead of
25171 setttyent, getttyent and endttyent.
25172 (getttyent): Rename to __getttyent and define as weak alias of
25173 __getttyent. Call __setttyent instead of setttyent. Call
25174 __fgets_unlocked instead of fgets_unlocked.
25175 (setttyent): Rename to __setttyent and define as weak alias of
25176 __setttyent.
25177 (endttyent): Rename to __endttyent and define as weak alias of
25178 __endttyent.
25179 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
25180 (__setttyent): Likewise.
25181 (__endttyent): Likewise.
25182 (getttyent): Don't use libc_hidden_proto.
25183 (setttyent): Likewise.
25184 (endttyent): Likewise.
25185 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25186 __endttyent instead of setttyent, getttyent and endttyent.
25187 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25188 Remove variable.
25189
25190 [BZ #18546]
25191 * socket/recv.c (__recv): Use libc_hidden_def.
25192 * socket/socket.c (__socket): Likewise.
25193 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25194 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25195 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25196 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25197 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25198 libc_hidden_def.
25199 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25200 libc_hidden_weak.
25201 * include/sys/socket.h (__socket): Do not use attribute_hidden.
25202 Use libc_hidden_proto.
25203 (__recv): Likewise.
25204 * socket/Versions (libc): Export __recv and __socket at version
25205 GLIBC_PRIVATE.
25206 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25207 instead of recv.
25208 (init_mq_netlink): Call __socket instead of socket.
25209 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25210 Remove variable.
25211
25212 [BZ #18545]
25213 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25214 __mq_timedreceive and define as alias of __mq_timedreceive. Use
25215 hidden_weak.
25216 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25217 define as alias of __mq_timedsend. Use hidden_weak.
25218 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25219 __mq_timedsend as strong name.
25220 (mq_timedreceive): Use __mq_timedreceive as strong name.
25221 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
25222 (__mq_timedreceive): Likewise.
25223 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25224 __mq_timedreceive instead of mq_timedreceive.
25225 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25226 instead of mq_timedsend.
25227 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25228 Remove variable.
25229
25230 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25231 hidden_def and hidden_weak instead of libc_hidden_def and
25232 libc_hidden_weak.
25233 (top level): Refer to hidden_def in comment.
25234 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25235 macro. Use it instead of libc_hidden_def.
25236 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25237 specify __GI_* name explicitly.
25238 (mq_timedreceive): Likewise.
25239 (mq_setattr): Likewise.
25240
25241 [BZ #18544]
25242 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25243 __pthread_barrier_init and define as weak alias of
25244 __pthread_barrier_init.
25245 * sysdeps/sparc/nptl/pthread_barrier_init.c
25246 (pthread_barrier_init): Likewise.
25247 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25248 __pthread_barrier_wait and define as weak alias of
25249 __pthread_barrier_wait.
25250 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25251 (pthread_barrier_wait): Likewise.
25252 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25253 (pthread_barrier_wait): Likewise.
25254 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25255 (pthread_barrier_wait): Likewise.
25256 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25257 (pthread_barrier_wait): Likewise.
25258 * nptl/Versions (libpthread): Export __pthread_barrier_init and
25259 __pthread_barrier_wait at version GLIBC_PRIVATE.
25260 * include/pthread.h (__pthread_barrier_init): Declare.
25261 (__pthread_barrier_wait): Likewise.
25262 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25263 Call __pthread_barrier_wait instead of pthread_barrier_wait.
25264 (helper_thread): Likewise.
25265 (init_mq_netlink): Call __pthread_barrier_init instead of
25266 pthread_barrier_init.
25267
25268 [BZ #18542]
25269 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25270 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25271 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
25272 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25273 vswscanf.
25274 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25275 Remove variable.
25276
25277 [BZ #18540]
25278 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25279 strong alias of _IO_fflush. Use libc_hidden_def.
25280 * libio/iofflush_u.c (fflush_unlocked): Rename to
25281 __fflush_unlocked and define as weak alias of __fflush_unlocked.
25282 Use libc_hidden_weak.
25283 * include/stdio.h (__fflush_unlocked): Declare. Use
25284 libc_hidden_proto.
25285 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25286 fflush_unlocked.
25287 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25288 Remove variable.
25289
25290 [BZ #18539]
25291 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25292 define as weak alias of __addseverity.
25293 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25294 Remove variable.
25295 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25296 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25297 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25298
25299 [BZ #18536]
25300 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25301 (__tfind): Likewise.
25302 (__tdelete): Likewise.
25303 (__twalk): Likewise.
25304 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25305 __twalk to GLIBC_PRIVATE.
25306 * include/search.h (__tsearch): Use libc_hidden_proto.
25307 (__tfind): Likewise.
25308 (__tdelete): Likewise.
25309 (__twalk): Likewise.
25310 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25311 Call __tdelete instead of tdelete.
25312 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25313 tfind. Call __tsearch instead of tsearch.
25314 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25315 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25316 Remove variable.
25317 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25318
25319 [BZ #18534]
25320 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25321 (dprintf): Define as a weak alias of __dprintf, not a strong
25322 alias.
25323 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25324 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25325 dprintf.
25326 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25327 Remove variable.
25328 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25329 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25330
25331 [BZ #18533]
25332 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25333 not a strong alias.
25334 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25335 Remove variable.
25336
25337 [BZ #18532]
25338 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25339 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25340 (in6addr_loopback): Rename to __in6addr_loopback and define as
25341 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25342 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25343 libc_hidden_proto.
25344 (__in6addr_any): Likewise.
25345 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25346 in6addr_any.
25347 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25348 variable.
25349 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25350
25351 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25352
25353 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25354 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25355 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25356 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25357 redirections for pow.
25358 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25359 * sysdeps/x86_64/fpu/Versions: New versions added.
25360 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25361 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25362 build of SSE, AVX2 and AVX512 IFUNC versions.
25363 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25364 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25365 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25366 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25367 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25368 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25369 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25370 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25371 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25372 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25373 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25374 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25375 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25376 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25377 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25378 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25379 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25380 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25381 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25382 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25383 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25384 * NEWS: Mention addition of x86_64 vector pow.
25385
25386 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25387 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25388 redirections for expf.
25389 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25390 * sysdeps/x86_64/fpu/Versions: New versions added.
25391 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25392 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25393 build of SSE, AVX2 and AVX512 IFUNC versions.
25394 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25395 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25396 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25397 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25398 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25399 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25400 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25401 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25402 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25403 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25404 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25405 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25406 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25407 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25408 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25409 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25410 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25411 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25412 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25413 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25414 * NEWS: Mention addition of x86_64 vector expf.
25415
25416 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25417 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25418 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25419 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25420 redirections for exp.
25421 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25422 * sysdeps/x86_64/fpu/Versions: New versions added.
25423 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25424 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25425 build of SSE, AVX2 and AVX512 IFUNC versions.
25426 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25427 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25428 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25429 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25430 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25431 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25432 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25433 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25434 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25435 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25436 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25437 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25438 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25439 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25440 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25441 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25442 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25443 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25444 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25445 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25446 * NEWS: Mention addition of x86_64 vector exp.
25447
25448 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25449 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25450 redirections for logf.
25451 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25452 * sysdeps/x86_64/fpu/Versions: New versions added.
25453 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25454 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25455 build of SSE, AVX2 and AVX512 IFUNC versions.
25456 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25457 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25458 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25459 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25460 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25461 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25462 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25463 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25464 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25465 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25466 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25467 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25468 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25469 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25470 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25471 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25472 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25473 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25474 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25475 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25476 * NEWS: Mention addition of x86_64 vector logf.
25477
25478 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25479 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25480 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25481 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25482 redirections for log.
25483 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25484 * sysdeps/x86_64/fpu/Versions: New versions added.
25485 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25486 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25487 build of SSE, AVX2 and AVX512 IFUNC versions.
25488 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25489 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25490 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25491 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25492 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25493 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25494 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25495 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25496 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25497 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25498 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25499 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25500 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25501 test.
25502 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25503 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25504 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25505 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25506 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25507 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25508 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25509 * NEWS: Mention addition of x86_64 vector log.
25510
25511 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25512
25513 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25514 cfi_adjust_cfa_offset argument.
25515 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25516 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25517
25518 [BZ #18034]
25519 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25520 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25521 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25522 ordering using ldar.
25523 (_dl_tlsdesc_dynamic): Likewise.
25524 (_dl_tlsdesc_return_lazy): Likewise.
25525 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25526 relaxed atomics instead of volatile and synchronize with release store.
25527 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25528 volatile.
25529 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25530
25531 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25532
25533 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25534 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25535 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25536 * sysdeps/x86_64/fpu/Versions: New versions added.
25537 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25538 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25539 build of SSE, AVX2 and AVX512 IFUNC versions.
25540 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25541 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25542 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25543 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25544 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25545 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25546 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25547 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25548 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25549 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25550 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25551 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25552 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25553 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25554 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25555 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25556 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25557 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25558 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25559 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25560 * NEWS: Mention addition of x86_64 vector sinf.
25561
25562 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25563
25564 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25565 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25566 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25567 Remove variable.
25568 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25569 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25570
25571 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25572
25573 [BZ #18530]
25574 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25575 strong alias of _IO_fputs. Use libc_hidden_def.
25576 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25577 and define as weak alias of __fputs_unlocked. Use
25578 libc_hidden_weak.
25579 * include/stdio.h (__fputs_unlocked): Declare. Use
25580 libc_hidden_proto.
25581 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25582 fputs_unlocked.
25583
25584 [BZ #18529]
25585 * resolv/netdb.h [__USE_POSIX]: Change condition to
25586 [__USE_XOPEN2K].
25587 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25588 not expect.
25589 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25590 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25591 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25592 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25593 [XPG4 || UNIX98] (AI_ALL): Likewise.
25594 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25595 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25596 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25597 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25598 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25599 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25600 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25601 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25602 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25603 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25604 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25605 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25606 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25607 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25608 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25609 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25610 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25611 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25612 [XPG4 || UNIX98] (gai_strerror): Likewise.
25613 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25614 [XPG4 || UNIX98] (getnameinfo): Likewise.
25615
25616 [BZ #18528]
25617 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25618 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25619 __USE_XOPEN2K8].
25620 (getgrent): Likewise.
25621 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25622 expect.
25623 [XPG3 || POSIX2008] (endgrent): Likewise.
25624 [XPG3] (setgrent): Likewise.
25625 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25626 variable.
25627 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25628
25629 [BZ #18527]
25630 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25631 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25632 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25633 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25634 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25635 * include/unistd.h (__getlogin_r): Declare. Use
25636 libc_hidden_proto.
25637 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25638 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25639 variable.
25640 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25641 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25642 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25643
25644 2015-06-12 Martin Sebor <msebor@redhat.com>
25645
25646 [BZ #18512]
25647 * Makerules (check-install-supported): New target.
25648 (install): Add check-install-supported as a dependency.
25649 * manual/install.texi (Installing the C Library): Document
25650 that overriding prefix and exec_prefix is not supported.
25651 Mention DESTDIR.
25652 * INSTALL: Regenerate from the above.
25653
25654 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25655
25656 [BZ #18519]
25657 * posix/Versions (libc): Export __libc_pread at version
25658 GLIBC_PRIVATE.
25659 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25660 instead of pread.
25661 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25662 variable.
25663
25664 [BZ #18522]
25665 * misc/efgcvt_r.c
25666 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25667 (cvt_symbol): Use weak_alias instead of strong_alias.
25668 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25669 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25670 Remove variable.
25671 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25672 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25673
25674 [BZ #18520]
25675 * inet/herrno.c (h_errno): Rename to __h_errno.
25676 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25677 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25678 to __h_errno instead of h_errno.
25679 * nptl/herrno.c (h_errno): Rename to __h_errno.
25680 (__h_errno_location): Refer to __h_errno not h_errno.
25681 * resolv/Versions (h_errno): Rename to __h_errno.
25682 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25683 Remove variable.
25684 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25685
25686 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25687
25688 * configure.ac: More strict check for AVX512 assembler support.
25689 * configure: Regenerated.
25690
25691 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25692 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25693 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25694 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25695 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25696 * sysdeps/x86_64/fpu/Versions: New versions added.
25697 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25698 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25699 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25700 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25701 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25702 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25703 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25704 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25706 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25707 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25708 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25709 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25710 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25711 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25712 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25713 test.
25714 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25715 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25716 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25717 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25718 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25719 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25720 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25721 * NEWS: Mention addition of x86_64 vector sin.
25722
25723 2015-06-11 Florian Weimer <fweimer@redhat.com>
25724
25725 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25726 comment.
25727
25728 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25729
25730 [BZ #18479]
25731 * nptl/pt-interp.c: New file.
25732 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25733 Add pt-interp.
25734 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25735 $(common-objpfx)runtime-linker.h.
25736
25737 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
25738
25739 * Makeconfig (+interp): Remove unused variable.
25740 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25741 only. Depend on $(common-objpfx)runtime-linker.h instead of
25742 $(elf-objpfx)runtime-linker.h.
25743 ($(elf-objpfx)runtime-linker.h): Rename to
25744 $(common-objpfx)runtime-linker.h and move ...
25745 * Makerules [$(build-shared) = yes]: ... here.
25746 * elf/interp.c: Include <runtime-linker.h> instead of
25747 <elf/runtime-linker.h>.
25748
25749 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25750
25751 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25752 (__gettimeofday_syscall): Remove vsyscall fallback.
25753 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25754 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25755 Add syscall fallback function.
25756 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25757 if vDSO is not present.
25758 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25759 fallback function.
25760 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25761 present.
25762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25763 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25764
25765 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25766
25767 [BZ #18497]
25768 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25769 of wcscmp.
25770 (wcscmp): Define as weak alias of WCSCMP.
25771 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25772 wcscoll.
25773 (USE_HIDDEN_DEF): Define.
25774 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25775 __wcscoll. Don't use libc_hidden_weak.
25776 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25777 wcscmp.
25778 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25779 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25780 __GI_wcscmp.
25781 (weak_alias): Undefine and redefine.
25782 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25783 __wcscmp and define as weak alias of __wcscmp.
25784 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25785 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25786 (__wcscoll): Likewise.
25787 (wcscmp): Don't use libc_hidden_proto.
25788 (wcscoll): Likewise.
25789 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25790 wcscoll.
25791 * posix/regexec.c (check_node_accept_bytes): Likewise.
25792 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25793 variable.
25794 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25795 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25796
25797 [BZ #18507]
25798 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25799 __fstatvfs and define as weak alias of __fstatvfs. Use
25800 libc_hidden_weak.
25801 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25802 and define as weak alias of __statvfs. Use libc_hidden_weak.
25803 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25804 Define as alias of __fstatvfs, not fstatvfs.
25805 (fstatvfs64): Likewise.
25806 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25807 Define as alias of __statvfs, not statvfs.
25808 (statvfs64): Likewise.
25809 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25810 Remove variable.
25811
25812 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25813
25814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25815 (HAVE_GETCPU_VSYSCALL): Define.
25816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25817 (HAVE_GETCPU_VSYSCALL): Likewise.
25818 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25819 * sysdeps/unix/sysv/linux/sched_getcpu.c
25820 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25821 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25822 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25823 prototype.
25824 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25825 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25828 Define.
25829 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25830 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25831 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25832 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25833
25834 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25835
25836 * sysdeps/x86_64/fpu/Makefile: New file.
25837 * sysdeps/x86_64/fpu/Versions: New file.
25838 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25839 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25840 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25841 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25842 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25843 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25844 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25845 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25846 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25847 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25848 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25849 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25850 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25851 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25852 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25853 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25854 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25855 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25856 * sysdeps/x86_64/configure: Regenerated.
25857 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25858 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25859 * manual/install.texi (Configuring and compiling): Document
25860 --disable-mathvec.
25861 * INSTALL: Regenerated.
25862 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25863
25864 * math/Makefile: Added rules for vector tests.
25865 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25866 declaration under condition.
25867 * math/test-double-vlen2.h: New file.
25868 * math/test-double-vlen4.h: New file.
25869 * math/test-double-vlen8.h: New file.
25870 * math/test-vec-loop.h: Added initialization macro.
25871 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25872 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25873 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25874 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25875 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25876 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25877 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25878 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25879 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25880 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25881 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25882
25883 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25884 * sysdeps/x86_64/fpu/Versions: New versions added.
25885 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25886 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25887 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25888 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25889 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25890 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25891 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25892 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25893 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25894 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25895 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25896 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25897 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25898 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25899 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25900 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25901 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25902 * NEWS: Mention addition of x86_64 vector cosf.
25903
25904 * math/Makefile: Added CFLAGS for new tests.
25905 * math/test-float-vlen16.h: New file.
25906 * math/test-float-vlen4.h: New file.
25907 * math/test-float-vlen8.h: New file.
25908 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25909 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25911 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25912 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25913 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25914 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25915 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25916 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25917 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25918 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25919
25920 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25921
25922 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25923 * locale/programs/ld-ctype.c: Likewise.
25924
25925 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25926
25927 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25928 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25929 bit_ZMM16_31_state): New macro.
25930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25931 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25932
25933 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25934
25935 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25936
25937 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25938
25939 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25940
25941 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25942
25943 [BZ #18498]
25944 * libio/memstream.c (open_memstream): Rename to __open_memstream
25945 and define as weak alias of __open_memstream.
25946 * include/stdio.h (__open_memstream): Declare. Use
25947 libc_hidden_proto.
25948 (open_memstream): Don't use libc_hidden_proto.
25949 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25950 open_memstream.
25951 * posix/getopt.c (_getopt_internal_r): Likewise.
25952 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25953 variable.
25954 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25955 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25956 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25957
25958 [BZ #18496]
25959 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25960 instead of wcrtomb.
25961
25962 [BZ #18483]
25963 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25964 [__USE_XOPEN2K8]. Remove redundant #endif.
25965 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25966 Remove redundant #if.
25967 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25968 Remove variable.
25969 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25970 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25971
25972 [BZ #18495]
25973 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25974 (__iswlower): Likewise.
25975 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25976 (__iswlower): Likewise.
25977 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25978 instead of towlower.
25979 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25980 instead of iswlower. Call __towupper instead of towupper.
25981 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25982 instead of iswalnum.
25983
25984 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25985
25986 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25987 errors to stderr.
25988
25989 2015-06-05 Florian Weimer <fweimer@redhat.com>
25990
25991 [BZ #15661]
25992 [BZ #17322]
25993 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25994 Check for overflow properly. Check for O_APPEND. Ignore large
25995 file system block sizes. Add comments about problems.
25996 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25997 * manual/filesys.texi (Storage Allocation): New node.
25998
25999 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26000
26001 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26002 cancellable syscalls.
26003 (SYS_ify): Add guard to no redefine it.
26004 (INLINE_SYSCALL): Likewise.
26005 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26006 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26007 SYSCALL_CANCEL instead.
26008 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26009 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26010 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26011 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26012 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26013 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26014 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26015 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26016 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26017 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26018 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26019 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26020 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26021 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26022 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26023 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26024 Likewise.
26025 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26026 (__libc_pread64): Likewise.
26027 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26028 (__libc_preadv): Likewise.
26029 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26030 (__libc_readv64): Likewise.
26031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26032 (__libc_pwrite): Likewise.
26033 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26034 (__libc_pwrite64): Likewise.
26035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26036 (__libc_pwritev): Likewise.
26037 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26038 (__libc_pwritev64): Likewise.
26039 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26040 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26041 (sync_file_range): Likewise.
26042 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26043 Likewise.
26044 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26045 Likewise.
26046 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26047 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26048 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26049 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26050 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26051 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26052 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26053 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26055 Likewise.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26057 (__libc_read64): Likewise.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26059 Likewise.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26061 Likewise.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26063 Likewise.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26065 Likewise.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26067 (__libc_pread64): Likewise.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26069 Likewise.
26070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26071 (__libc_pwrite64): Likewise.
26072 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26073 (sync_file_range): Likewise.
26074 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26075 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26076 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26077 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26078 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26079 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26080 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26081 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26082 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26083 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26084 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26085 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26086 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26087 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26088 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26089 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26090 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26091 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26092 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26093 Likewise.
26094 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26095 Likewise.
26096 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26097 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26098 Likewise.
26099 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26100 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26101 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26102 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26103 Likewise.
26104 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26105 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26106 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26107 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26108 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26109
26110 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
26111
26112 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26113 Include dl-vdso.
26114 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26115 Use VDSO routines for gettimeofday, clock_gettime if
26116 available.
26117 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26118 Declare VDSO symbols.
26119 * sysdeps/unix/sysv/linux/arm/sysdep.h:
26120 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26121 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26122 * sysdeps/unix/sysv/linux/arm/Versions: Add
26123 __vdso_clock_gettime.
26124
26125 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26126
26127 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26128 be an inline implementation regardless of library is built within.
26129 (open_not_cancel_2): Likewise.
26130 (__read_nocancel): Likewise.
26131 (__write_nocancel): Likewise.
26132 (openat_not_cancel): Likewise.
26133 (openat_not_cancel_3): Likewise.
26134 (openat64_not_cancel): Likewise.
26135 (openat64_not_cancel_3): Likewise.
26136 (__close_nocancel): Likewise.
26137 (pause_not_cancel): Likewise.
26138 (nanosleep_not_cancel): Likewise.
26139 (sigsuspend_not_cancel): Likewise.
26140
26141 2015-06-04 Torvald Riegel <triegel@redhat.com>
26142
26143 [BZ #14958]
26144 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26145 wake-up.
26146 (__pthread_rwlock_rdlock_slow): Likewise.
26147 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26148 Likewise.
26149 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26150 Likewise.
26151 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26152 * nptl/tst-rwlock16.c: New file.
26153 * nptl/Makefile (tests): Add new test.
26154
26155 2015-06-04 Torvald Riegel <triegel@redhat.com>
26156
26157 [BZ #18324]
26158 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26159 missing wake-up of readers.
26160 * nptl/tst-rwlock15.c: New file.
26161 * nptl/Makefile (tests): Add new test.
26162
26163 2015-06-03 Roland McGrath <roland@hack.frob.com>
26164
26165 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26166 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26167 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26168 and __nacl_supply_interface_rtld.
26169 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26170 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26171 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26172 Add __nacl_supply_interface_rtld.
26173 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26174
26175 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26176
26177 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26178 isfinite.
26179 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26180 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26181
26182 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26183
26184 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26185 __signbit* with standard C99 macros.
26186 * math/e_exp10l.c: Likewise.
26187 * math/e_exp2l.c: Likewise.
26188 * math/e_scalb.c: Likewise.
26189 * math/e_scalbf.c: Likewise.
26190 * math/e_scalbl.c: Likewise.
26191 * math/s_ldexp.c: Likewise.
26192 * math/s_ldexpf.c: Likewise.
26193 * math/s_ldexpl.c: Likewise.
26194 * math/w_atan2.c: Likewise.
26195 * math/w_atan2f.c: Likewise.
26196 * math/w_atan2l.c: Likewise.
26197 * math/w_cosh.c: Likewise.
26198 * math/w_coshf.c: Likewise.
26199 * math/w_coshl.c: Likewise.
26200 * math/w_exp10.c: Likewise.
26201 * math/w_exp10f.c: Likewise.
26202 * math/w_exp10l.c: Likewise.
26203 * math/w_exp2.c: Likewise.
26204 * math/w_exp2f.c: Likewise.
26205 * math/w_exp2l.c: Likewise.
26206 * math/w_fmod.c: Likewise.
26207 * math/w_fmodf.c: Likewise.
26208 * math/w_fmodl.c: Likewise.
26209 * math/w_hypot.c: Likewise.
26210 * math/w_hypotf.c: Likewise.
26211 * math/w_hypotl.c: Likewise.
26212 * math/w_jnl.c: Likewise.
26213 * math/w_lgamma.c: Likewise.
26214 * math/w_lgamma_r.c: Likewise.
26215 * math/w_lgammaf.c: Likewise.
26216 * math/w_lgammaf_r.c: Likewise.
26217 * math/w_lgammal.c: Likewise.
26218 * math/w_lgammal_r.c: Likewise.
26219 * math/w_pow.c: Likewise.
26220 * math/w_powf.c: Likewise.
26221 * math/w_powl.c: Likewise.
26222 * math/w_remainder.c: Likewise.
26223 * math/w_remainderf.c: Likewise.
26224 * math/w_remainderl.c: Likewise.
26225 * math/w_scalb.c: Likewise.
26226 * math/w_scalbf.c: Likewise.
26227 * math/w_scalbl.c: Likewise.
26228 * math/w_scalbln.c: Likewise.
26229 * math/w_scalblnf.c: Likewise.
26230 * math/w_scalblnl.c: Likewise.
26231 * math/w_sinh.c: Likewise.
26232 * math/w_sinhf.c: Likewise.
26233 * math/w_sinhl.c: Likewise.
26234 * math/w_tgamma.c: Likewise.
26235 * math/w_tgammaf.c: Likewise.
26236 * math/w_tgammal.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26240 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26244 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26245 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26246 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26247 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26265 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26268 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26269 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26270 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26271 * stdio-common/printf_fp.c: Likewise.
26272 * stdio-common/printf_fphex.c: Likewise.
26273 * stdio-common/printf_size.c: Likewise.
26274
26275 2015-06-03 Joseph Myers <joseph@codesourcery.com>
26276
26277 [BZ #18470]
26278 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26279 strnlen.
26280 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26281 Remove variable.
26282 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26283 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26284 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26285 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26286 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26287 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26288 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26289 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26290 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26291 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26292
26293 [BZ #18468]
26294 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26295 weak alias of __wmemchr. Use libc_hidden_weak.
26296 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
26297 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26298 instead of wmemchr.
26299
26300 2015-06-02 Roland McGrath <roland@hack.frob.com>
26301
26302 [BZ #18383]
26303 * elf/tst-tlsalign-extern.c: New file.
26304 * elf/tst-tlsalign-extern-static.c: New file.
26305 * elf/tst-tlsalign-vars.c: New file.
26306 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26307 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26308 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26309 ($(objpfx)tst-tlsalign-extern-static): Likewise.
26310 (test-xfail-tst-tlsalign-extern-static): New variable.
26311
26312 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26313
26314 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26315 Use variable name _sc_err instead of err.
26316 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26317 instead of ret.
26318 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26319 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26320 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26321 (INLINE_SYSCALL): Likewise.
26322
26323 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26324 * include/string.h (__strnlen): Use libc_hidden_proto.
26325 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26326 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26327 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26328 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26329 (libc_hidden_def): Undefine and redefine.
26330 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26331 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26332 __GI_strnlen.
26333 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26334 libc_hidden_def.
26335 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26336
26337 [BZ #18469]
26338 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26339 weak alias of __towlower. Use libc_hidden_weak.
26340 (towupper): Rename to __towupper and define as weak alias of
26341 __towupper. Use libc_hidden_weak.
26342 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26343 (__towupper): Likewise.
26344 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26345 __towlower instead of towlower.
26346
26347 2015-06-02 Roland McGrath <roland@hack.frob.com>
26348
26349 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26350 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26351
26352 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26353
26354 * sysdeps/aarch64/libm-test-ulps: Update.
26355
26356 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26357
26358 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26359 Define.
26360 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26362 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26363 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26364 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26365 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26366 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26367
26368 2015-06-01 Martin Sebor <msebor@redhat.com>
26369
26370 [BZ #18116]
26371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26372 (__setcontext): Use extended four-operand version of mtsf whenever
26373 possible.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26375 (__novec_swapcontext): Likewise.
26376
26377 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26378
26379 * benchtests/scripts/compare_bench.py: New file.
26380 * benchtests/scripts/import_bench.py (mean): New function.
26381 (split_list): Likewise.
26382 (do_for_all_timings): Likewise.
26383 (compress_timings): Likewise.
26384
26385 * benchtests/scripts/import_bench.py: New file.
26386 * benchtests/scripts/validate_benchout.py: Import import_bench
26387 instead of jsonschema.
26388 (validate_bench): Remove function.
26389 (main): Use import_bench.
26390
26391 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26392
26393 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26394 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26395
26396 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26397
26398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26399
26400 2015-05-28 Roland McGrath <roland@hack.frob.com>
26401
26402 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26403 set THREAD_SELF->tid to a magic value and futex-wake it.
26404 Pass its address to the thread_exit system call.
26405 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26406 bit is clear.
26407 * sysdeps/nacl/lowlevellock.h: New file.
26408 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26409
26410 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26411 Add TIMEOUT to current time, don't subtract it.
26412
26413 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26414
26415 [BZ #2981]
26416 [BZ #18422]
26417 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26418 ($(objpfx)tst-audit2.out): Also depend on
26419 $(objpfx)tst-auditmod9b.so.
26420 * elf/tst-audit2.c: Include <dlfcn.h>.
26421 (calloc_called): New.
26422 (calloc): Allow to be called more than once.
26423 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26424
26425 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26426
26427 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26428 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26429
26430 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26431
26432 * stdlib/monetary.h: Fix comment.
26433
26434 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26435
26436 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26437 Avoid using variables in #defines that might cause shadowing.
26438 (INTERNAL_VSYSCALL_CALL): Likewise.
26439
26440 2015-05-26 Roland McGrath <roland@hack.frob.com>
26441
26442 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26443
26444 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26445 * nptl/lll_timedlock_wait.c: ... to this new file.
26446 * nptl/Makefile (libpthread-routines): Add it.
26447 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26448 * nptl/lll_timedwait_tid.c: ... to this new file.
26449 * nptl/Makefile (libpthread-routines): Add it.
26450 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26451 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26452 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26453 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26454 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26455 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26456 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26457 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26458 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26459 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26460
26461 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26462
26463 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26464 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26465 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26466 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26467 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26468 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26469 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26471 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26472 * sysdeps/unix/sysv/linux/tile/sysdep.h
26473 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26474 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26475 using vDSO syscall macro.
26476
26477 2015-05-26 Andriy Rysin <arysin@gmail.com>
26478
26479 [BZ #17293]
26480 * uk_UA: Fix sorting order for Ukrainian locale
26481
26482 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26483
26484 * stdlib/monetary.h: Fix comment.
26485
26486 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26487
26488 [BZ #18234]
26489 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26490 st_mtim and st_ctim members.
26491 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26492 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26493 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26494 (struct stat64): Likewise.
26495 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26496 (struct stat64): Likewise.
26497 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26498 (struct stat64): Likewise.
26499
26500 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26501
26502 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26503 Define and include sysdep-vdso.h.
26504 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26505 Likewise.
26506 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26507 Likewise.
26508 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26509 Define with VDSO_SYMBOL and use PTR_MANGLE.
26510 (__vdso_clock_gettime): Likewise.
26511 (__vdso_clock_getres): Likewise.
26512 (_libc_vdso_platform_setup): Likewise.
26513 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26514 Likewise.
26515 (_libc_vdso_platform_setup): Likewise.
26516 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26517 Likewise.
26518 (__vdso_clock_gettime): Likewise.
26519 (__vdso_clock_getres): Likewise.
26520 (__vdso_get_tbfreq): Likewise.
26521 (__vdso_getcpu): Likewise.
26522 (__vdso_time): Likewise.
26523 (__vdso_sigtramp_rt64): Likewise.
26524 (__vdso_signtramp32): Likewise.
26525 (__vdso_sigtramp_rt32): Likewise.
26526 (_libc_vdso_platform_setup): Likewise.
26527 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26528 Likewise.
26529 (__vdso_clock_gettime): Likewise.
26530 (__vdso_clock_getres): Likewise.
26531 (_libc_vdso_platform_setup): Likewise.
26532 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26533 Likewise.
26534 (__vdso_clock_gettime): Likewise.
26535 (_libc_vdso_platform_setup): Likewise.
26536 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26537 Likewise.
26538 (__vdso_getcpu): Likewise.
26539 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26540 Use VDSO_SYMBOL macro to define.
26541 (__vdso_clock_gettime): Likewise.
26542 (__vdso_clock_getres): Likewise.
26543 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26544 Likewise.
26545 (__vdso_clock_gettime): Likewise.
26546 (__vdso_clock_getres): Likewise.
26547 (__vdso_get_tbfreq): Likewise.
26548 (__vdso_getcpu): Likewise.
26549 (__vdso_time): Likewise.
26550 (__vdso_sigtramp_rt64): Likewise.
26551 (__vdso_signtramp32): Likewise.
26552 (__vdso_sigtramp_rt32): Likewise.
26553 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26554 Likewise.
26555 (__vdso_clock_gettime): Likewise.
26556 (__vdso_clock_getres): Likewise.
26557 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26558 Likewise.
26559 (__vdso_clock_gettime): Likewise.
26560 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26561 Likewise.
26562 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26563 macro.
26564 (INTERNAL_VSYSCALL): Likewise.
26565 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26566 Remove macro.
26567 (INTERNAL_VSYSCALL): Likewise.
26568 (INTERNAL_VSYSCALL_NCS): Likewise.
26569 (INTERNAL_VSYSCALL_CALL): New macro.
26570 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26572 Likewise.
26573 (INTERNAL_VSYSCALL): Likewise.
26574 (INTERNAL_VSYSCALL_NCS): Likewise.
26575 (INTERNAL_VSYSCALL_CALL): New macro.
26576 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26578 (INLINE_VSYSCALL): Remove macro.
26579 (INTERNAL_VSYSCALL): Remove macro.
26580 (INTERNAL_VSYSCALL_NCS): Remove macro.
26581 (INTERNAL_VSYSCALL_CALL): New macro.
26582 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26583 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26584 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26585 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26586 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26588 (INLINE_VSYSCALL): Remove macro.
26589 (INTERNAL_VSYSCALL): Likewise.
26590 (INTERNAL_VSYSCALL_NCS): Likewise.
26591 (INTERNAL_VSYSCALL_CALL): New macro.
26592 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26593 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26594 PTR_DEMANGLE on vDSO pointer.
26595 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26596 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26597 macro.
26598 (INTERNAL_SYSCALL): Likewise.
26599 (INTERNAL_VSYSCALL_NCS): Remove macro.
26600 (INTERNAL_VSYSCALL_CALL): New macro.
26601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26602 Remove macro.
26603 (INTERNAL_VSYSCALL): Likewise.
26604 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26605 sysdep-vdso.h instead of libc-vdso.h.
26606 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26607 definition.
26608 (INLINE_VSYSCALL): Likewise.
26609 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26610 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26611 definition.
26612 (INLINE_VSYSCALL): Likewise.
26613 (INTERNAL_VSYSCALL): Likewise.
26614 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26615 * sysdeps/unix/sysv/linux/timespec_get.c
26616 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26617 (timespec_get): Use ANSI prototype.
26618 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26619 and definition for Linux.
26620
26621 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26622
26623 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26624 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26625
26626 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26627
26628 [BZ #2981]
26629 [BZ #18410]
26630 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26631 for missing DT_PLTRELSZ.
26632
26633 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26634
26635 Remove obsolete aliases that broke 'locale -a'
26636 [BZ #18412]
26637 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26638 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26639 breaking some applications that use 'locale -a' output.
26640 Change the encoding of this file from Latin-1 to ASCII to avoid
26641 other potential problems with people grepping this file.
26642
26643 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26644
26645 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26646 -fasynchronous-unwind-tables.
26647 (CFLAGS-sendto.c): Likewise.
26648 (CFLAGS-sendmsg.c): Likewise.
26649 (CFLAGS-connect.c): Likewise.
26650 (CFLAGS-recvmsg.c): Likewise.
26651 (CFLAGS-recvfrom.c): Likewise.
26652 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26653 (SOCKETCALL): New macro: non-cancellable socketcall.
26654 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26655 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26656 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26657 * sysdeps/unix/sysv/linux/accept.c: New file.
26658 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26659 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26660 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26661 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26662 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26663 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26664 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26665 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26666 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26667 * sysdeps/unix/sysv/linux/send.c: Likewise.
26668 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26669 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26670 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26671 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26672 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26673 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26674 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26675 prototype.
26676 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26677 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26678 instead of __internal_xxx function.
26679 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26680 prototype.
26681 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26682 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26683 instead of __internal_xxx function.
26684 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26685 prototype.
26686 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26687 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26688 instead of __internal_xxx function.
26689 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26690 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26691 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26692 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26693 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26694 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26695 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26696 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26697 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26698 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26699 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26700 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26701 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26702 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26703 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26704 * sysdeps/unix/sysv/linux/listen.S: Likewise.
26705 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26706 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26707 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26708 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26711 * sysdeps/unix/sysv/linux/recv.S: Likewise.
26712 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26713 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26714 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26715 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26716 * sysdeps/unix/sysv/linux/send.S: Likewise.
26717 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26718 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26719 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26720 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26721 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26722 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26723 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26724 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26725 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26726 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26727 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26728 socketcall is implemented in GLIBC.
26729
26730 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26731
26732 * soft-fp/fmadf4.c: Include <libc-internal.h>.
26733 (__fma): Ignore uninitialized warnings around packing.
26734 * soft-fp/fmasf4.c: Include <libc-internal.h>.
26735 (__fmaf): Ignore uninitialized warnings around packing.
26736 * soft-fp/fmatf4.c: Include <libc-internal.h>.
26737 (__fmal): Ignore uninitialized warnings around packing.
26738
26739 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26740 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26741 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26742 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26743
26744 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26745 switch statement into default case.
26746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26747
26748 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26749 a conditional in forcing "inexact".
26750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26751 Likewise.
26752
26753 2015-05-22 Roland McGrath <roland@hack.frob.com>
26754
26755 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26756 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26757 for each INTERNAL_SYSCALL use.
26758
26759 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26760
26761 [BZ #438]
26762 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26763 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26764 variable.
26765
26766 [BZ #18444]
26767 * string/basename.c (basename): Rename to __basename and define as
26768 weak alias of __basename. Use libc_hidden_weak.
26769 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26770 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26771 __basename instead of basename.
26772 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26773 Remove variable.
26774 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26775
26776 2015-05-18 Florian Weimer <fweimer@redhat.com>
26777
26778 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26779 (_IO_JUMPS_FILE_plus): New.
26780 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26781 _IO_CAST_FIELD_ACCESS.
26782 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26783 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26784 * libio/freopen.c (freopen): Likewise.
26785 * libio/freopen64.c (freopen64): Likewise.
26786 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26787 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26788 * libio/iofwide.c (_IO_fwide): Likewise.
26789 * libio/memstream.c (open_memstream): Likewise.
26790 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26791 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26792 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26793
26794 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26795
26796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26797 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26798 NADJ.
26799 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26800 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26801 NADJ.
26802 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26803 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26804 NADJ.
26805
26806 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26807 (p == 4) case.
26808
26809 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26810 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26811 Remove variable.
26812 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26813 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26814 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26815
26816 2015-05-21 Florian Weimer <fweimer@redhat.com>
26817
26818 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26819 Adjust jump table label generation macros.
26820
26821 2015-05-21 Florian Weimer <fweimer@redhat.com>
26822
26823 * stdio-common/vfprintf.c (vfprintf): Move local variables
26824 args_malloced, specs, specs_malloced, and the code after
26825 do_positional to the printf_positional function.
26826 (printf_positional): New function.
26827
26828 2015-05-21 Florian Weimer <fweimer@redhat.com>
26829
26830 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26831 function.
26832 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26833 STEP4_TABLE, process_arg): Move macro definitions
26834 out of the vfprintf function. (Cosmetic change only.)
26835
26836 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26837
26838 * benchtests/Makefile (stdio-common-bench): Define.
26839 (benchset): Add stdio-common-bench.
26840 * sprintf-inputs: New file.
26841 * sprintf-source.c: New file.
26842
26843 2015-05-21 Andreas Schwab <schwab@suse.de>
26844
26845 [BZ #13028]
26846 [BZ #17053]
26847 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26848 of struct __res_state.
26849 * resolv/res_send.c (__libc_res_nsend): Likewise.
26850 (get_nsaddr): New function.
26851 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26852 statp directly.
26853
26854 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26855
26856 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26857 -D_POSIX_C_SOURCE=199506L.
26858
26859 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26860
26861 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26862 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26863 Do not mention otherwise.
26864 [POSIX] (_XOPEN_VERSION): Do not expect.
26865 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26866 [POSIX] (_POSIX2_C_BIND): Likewise.
26867 [POSIX] (_POSIX2_VERSION): Likewise.
26868 [POSIX] (_XOPEN_XPG2): Likewise.
26869 [POSIX] (_XOPEN_XPG3): Likewise.
26870 [POSIX] (_XOPEN_XPG4): Likewise.
26871 [POSIX] (_XOPEN_UNIX): Likewise.
26872 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26873 [POSIX] (_POSIX_BARRIERS): Likewise.
26874 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26875 [POSIX] (_POSIX_CPUTIME): Likewise.
26876 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26877 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26878 [POSIX] (_POSIX_SHELL): Likewise.
26879 [POSIX] (_POSIX_SPAWN): Likewise.
26880 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26881 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26882 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26883 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26884 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26885 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26886 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26887 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26888 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26889 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26890 [POSIX] (_POSIX2_PBS): Likewise.
26891 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26892 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26893 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26894 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26895 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26896 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26897 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26898 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26899 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26900 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26901 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26902 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26903 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26904 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26905 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26906 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26907 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26908 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26909 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26910 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26911 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26912 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26913 [POSIX] (_SC_2_C_BIND): Likewise.
26914 [POSIX] (_SC_2_C_VERSION): Likewise.
26915 [POSIX] (_SC_2_PBS): Likewise.
26916 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26917 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26918 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26919 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26920 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26921 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26922 [POSIX] (_SC_BARRIERS): Likewise.
26923 [POSIX] (_SC_BASE): Likewise.
26924 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26925 [POSIX] (_SC_DEVICE_IO): Likewise.
26926 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26927 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26928 [POSIX] (_SC_FD_MGMT): Likewise.
26929 [POSIX] (_SC_FIFO): Likewise.
26930 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26931 [POSIX] (_SC_FILE_LOCKING): Likewise.
26932 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26933 [POSIX] (_SC_IOV_MAX): Likewise.
26934 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26935 [POSIX] (_SC_NETWORKING): Likewise.
26936 [POSIX] (_SC_PAGE_SIZE): Likewise.
26937 [POSIX] (_SC_PASS_MAX): Likewise.
26938 [POSIX] (_SC_PIPE): Likewise.
26939 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26940 [POSIX] (_SC_REGEXP): Likewise.
26941 [POSIX] (_SC_SHELL): Likewise.
26942 [POSIX] (_SC_SIGNALS): Likewise.
26943 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26944 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26945 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26946 [POSIX] (_SC_USER_GROUPS): Likewise.
26947 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26948 [POSIX] (_SC_STREAMS): Likewise.
26949 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26950 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26951 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26952 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26953 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26954 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26955 [POSIX] (_PC_FILESIZEBITS): Likewise.
26956 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26957 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26958 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26959 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26960 [POSIX] (uid_t): Likewise.
26961 [POSIX] (gid_t): Likewise.
26962 [POSIX] (off_t): Likewise.
26963 [POSIX] (pid_t): Likewise.
26964 [POSIX] (cuserid): Allow.
26965 (_SC_2_CHAR_TERM): Require constant.
26966 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26967 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26968 variable.
26969
26970 2015-05-20 Roland McGrath <roland@hack.frob.com>
26971
26972 * sysdeps/nacl/pthread-pids.h: New file.
26973 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26974 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26975
26976 * nptl/pthread-pids.h: New file.
26977 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26978 * nptl/nptl-init.c: Include <pthread-pids.h>.
26979 (__pthread_initialize_minimal_internal):
26980 Call __pthread_initialize_pids instead of set_tid_address syscall.
26981
26982 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26983 * sysdeps/posix/usleep.c: ... here.
26984
26985 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26986
26987 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26988 call_pselect6 object.
26989 [$(subdir) = io]: Remove call_sync_file_range object.
26990 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26991 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26992 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26993 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26994
26995 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26996
26997 * math/s_cproj.c: Add include "math_private.h".
26998 * math/s_cprojf.c: Likewise.
26999 * math/s_cprojl.c: Likewise.
27000
27001 2015-05-19 Joseph Myers <joseph@codesourcery.com>
27002
27003 [BZ #18244]
27004 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27005 high mantissa bit when testing whether P is a NaN.
27006 * math/libm-test.inc (remainder_test_data): Add more tests.
27007 (remquo_test_data): Likewise.
27008
27009 [BZ #18049]
27010 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27011 below -32, return the argument, with underflow if subnormal.
27012 * math/auto-libm-test-in: Add more tests of atanh.
27013 * math/auto-libm-test-out: Regenerated.
27014
27015 2015-05-19 Roland McGrath <roland@hack.frob.com>
27016
27017 [BZ #18434]
27018 * nptl/tst-sem15.c: New file.
27019 * nptl/Makefile (tests): Add it.
27020 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27021 s/<</>>/ to fix typo in EOVERFLOW check.
27022 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27023
27024 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27025
27026 * manual/strings.texi (envz_remove): Fix typo in safety
27027 annotations.
27028
27029 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
27030 Steve Ellcey <sellcey@imgtec.com>
27031
27032 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27033 in order to avoid strict alias warnings.
27034 (iruserok_af): Ditto for ra.
27035
27036 2015-05-19 James Lemke <jwlemke@codesourcery.com>
27037
27038 [BZ #17581]
27039 * malloc/hooks.c
27040 (magicbyte): Convert to a function and avoid returning 0x01.
27041 (mem2mem_check): Avoid using a length byte equal to the magic byte.
27042 (mem2chunk_check): Fix unsigned comparisons to zero.
27043 Hoist defs of sz and magic.
27044
27045 2015-05-19 Richard Henderson <rth@redhat.com>
27046
27047 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27048
27049 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27050
27051 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27052
27053 [BZ #16159]
27054 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27055 * malloc/arena.c (arena_lock): Check if arena is corrupt.
27056 (reused_arena): Find a non-corrupt arena.
27057 (heap_trim): Pass arena to unlink.
27058 * malloc/hooks.c (malloc_check_get_size): Pass arena to
27059 malloc_printerr.
27060 (top_check): Likewise.
27061 (free_check): Likewise.
27062 (realloc_check): Likewise.
27063 * malloc/malloc.c (malloc_printerr): Add arena argument.
27064 (unlink): Likewise.
27065 (munmap_chunk): Adjust.
27066 (ARENA_CORRUPTION_BIT): New macro.
27067 (arena_is_corrupt): Likewise.
27068 (set_arena_corrupt): Likewise.
27069 (sysmalloc): Use mmap if there are no usable arenas.
27070 (_int_malloc): Likewise.
27071 (__libc_malloc): Don't fail if arena_get returns NULL.
27072 (_mid_memalign): Likewise.
27073 (__libc_calloc): Likewise.
27074 (__libc_realloc): Adjust for additional argument to
27075 malloc_printerr.
27076 (_int_free): Likewise.
27077 (malloc_consolidate): Likewise.
27078 (_int_realloc): Likewise.
27079 (_int_memalign): Don't touch corrupt arenas.
27080 * malloc/tst-malloc-backtrace.c: New test case.
27081
27082 * Makefile (summarize-tests): Fix return value on success.
27083
27084 * manual/string.texi (Envz Functions): Add envz_remove.
27085
27086 2015-05-18 Roland McGrath <roland@hack.frob.com>
27087
27088 * sysdeps/posix/opendir.c: Include <stdbool.h>.
27089 (invalid_name): New function, broken out of ...
27090 (__opendirat): ... here. Call it.
27091 (need_isdir_precheck): New function, broken out of ...
27092 (__opendirat): ... here. Call it.
27093 Use __fxstatat64, not __xstatat64.
27094 (opendir_oflags): New function, broken out of ...
27095 (__opendirat): ... here. Call it.
27096 (opendir_tail): New function, broken out of ...
27097 (__opendirat): ... here. Call it.
27098 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27099 opendir_tail, rather than punting to __opendirat.
27100 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27101
27102 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27103
27104 * .gitignore: Ignore generated *.pyc.
27105
27106 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
27107
27108 * include/stdio.h: Define __need_wint_t.
27109 * test-skeleton.c: Avoid `for' loop initial declaration.
27110 * nptl/tst-initializers1.c: Use test-skeleton.c.
27111
27112 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27113
27114 [BZ #18418]
27115 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27116
27117 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27118
27119 [BZ #16352]
27120 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27121 (__ieee754_atanh): Force underflow exception for results with
27122 small absolute value.
27123 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27124 (__ieee754_atanhf): Force underflow exception for results with
27125 small absolute value.
27126 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27127 (__ieee754_atanh): Force underflow exception for results with
27128 small absolute value.
27129 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27130 (__ieee754_atanhf): Force underflow exception for results with
27131 small absolute value.
27132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27133 (__ieee754_atanhl): Force underflow exception for results with
27134 small absolute value.
27135 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27136 (__ieee754_atanhl): Force underflow exception for results with
27137 small absolute value.
27138 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27139 (__ieee754_atanhl): Force underflow exception for results with
27140 small absolute value.
27141 * math/auto-libm-test-in: Do not allow missing underflow
27142 exceptions from atanh.
27143 * math/auto-libm-test-out: Regenerated.
27144
27145 [BZ #18221]
27146 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27147 2**-28 as threshold for returning x or +/- 1/x.
27148 * math/auto-libm-test-in: Add more tests of tan.
27149 * math/auto-libm-test-out: Regenerated.
27150
27151 [BZ #18220]
27152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27153 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27154 * math/auto-libm-test-in: Add another test of lgamma.
27155 * math/auto-libm-test-out: Regenerated.
27156
27157 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
27158
27159 * stdio-common/printf_fp.c (___printf_fp): Use abs.
27160 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
27161 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27162 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27163 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
27164 (ADD2A): Use fabs. (SUB2A): Use fabs.
27165 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27166 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27168 (log1): Use fabs. (my_log2): Use fabs.
27169 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27170 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27172 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27174 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
27175 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
27176 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
27177 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
27178 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27179 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27180
27181 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27182
27183 [BZ #18217]
27184 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27185 as threshold for returning 1 - x.
27186 * math/auto-libm-test-in: Add more tests of erfc.
27187 * math/auto-libm-test-out: Regenerated.
27188
27189 2015-05-14 Joseph Myers <joseph@codesourcery.com>
27190
27191 [BZ #18196]
27192 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27193 threshold for large arguments.
27194 * math/auto-libm-test-in: Add another test of atan.
27195 * math/auto-libm-test-out: Regenerated.
27196
27197 [BZ #16339]
27198 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27199 (__log1p): Force underflow exception for results with small
27200 absolute value.
27201 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27202 (__log1pf): Force underflow exception for results with small
27203 absolute value.
27204 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27205 (__log1p): Force underflow exception for results with small
27206 absolute value.
27207 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27208 (__log1pf): Force underflow exception for results with small
27209 absolute value.
27210 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27211 (__log1pl): Force underflow exception for results with small
27212 absolute value.
27213 * math/auto-libm-test-in: Do not allow missing underflow
27214 exceptions from log1p.
27215 * math/auto-libm-test-out: Regenerated.
27216
27217 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
27218 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27219
27220 [BZ #16704]
27221 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27222
27223 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
27224
27225 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27226 (libmvec): New variable.
27227 * configure.ac: Added option for mathvec build.
27228 * configure: Regenerated.
27229 * mathvec/Depend: New file.
27230 * mathvec/Makefile: New file.
27231 * shlib-versions: Added libmvec.
27232 * math/Makefile: Added rule for libm.so installation.
27233
27234 * bits/math-vector.h: New file.
27235 * bits/libm-simd-decl-stubs.h: New header.
27236 * math/Makefile (headers): Added new header
27237 libm-simd-decl-stubs.h.
27238 * math/math.h (__MATHCALL_VEC): New macro.
27239
27240 * math/gen-libm-have-vector-test.sh: Script generates series of macros
27241 for conditions in testing functions.
27242 * math/Makefile: Added call of libm-have-vector-test.sh.
27243 * math/libm-test.inc (HAVE_VECTOR): New macros.
27244
27245 * math/libm-test.inc: START refactored.
27246 * math/test-double.c (TEST_MATHVEC): Add define.
27247 * math/test-float.c: Likewise.
27248 * math/test-idouble.c: Likewise.
27249 * math/test-ifloat.c: Likewise.
27250 * math/test-ildoubl.c: Likewise.
27251 * math/test-ldouble.c: Likewise.
27252 * sysdeps/generic/math-tests-arch.h
27253 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27254 architecture check.
27255
27256 * math/test-double.c (FUNC_TEST): New macro.
27257 * math/test-float.c: Likewise.
27258 * math/test-idouble.c: Likewise.
27259 * math/test-ifloat.c: Likewise.
27260 * math/test-ildoubl.c: Likewise.
27261 * math/test-ldouble.c: Likewise.
27262 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27263
27264 2015-05-13 Roland McGrath <roland@hack.frob.com>
27265
27266 * sysdeps/nacl/fdopendir.c: New file.
27267
27268 * dirent/scandir-tail.c: New file.
27269 * dirent/scandir64-tail.c: New file.
27270 * dirent/Makefile (routines): Add them.
27271 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27272 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27273 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27274 [!SCANDIR] (SCANDIR_TAIL): New macro.
27275 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27276 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27277 (SCANDIRAT): Macro removed.
27278 (SCANDIR_TAIL): New macro.
27279 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27280 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27281 (SCANDIRAT): Just call __opendirat and __scandir_tail.
27282 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27283 (READDIR): Macro removed.
27284 (SCANDIR_TAIL): New macro.
27285 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27286 (SCANDIR_TAIL): New macro.
27287
27288 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27289 * dirent/scandir-cancel.c: ... to this new file.
27290 * dirent/Makefile (routines): Add it.
27291 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27292 * sysdeps/unix/sysv/linux/i386/scandir64.c
27293 (SKIP_SCANDIR_CANCEL): Macro removed.
27294 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27295
27296 * dirent/tst-scandir.c: New file.
27297 * dirent/tst-scandir64.c: New file.
27298 * dirent/Makefile (tests): Add them.
27299
27300 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 [BZ #18409]
27303 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27304
27305 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27306
27307 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27308 list.
27309
27310 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
27311
27312 * benchtests/bench-strcoll.c: New benchmark.
27313 * benchtests/Makefile: Generate locales and run benchmark.
27314 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27315 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27316 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27317 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27318 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27319 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27320 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27321 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27322 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27323 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27324 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27325 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27326 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27327 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27328 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27329 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27330 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27331 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27332 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27333 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27334 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27335 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27336 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27337 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27338
27339 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27340
27341 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27342 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27343
27344 2015-05-12 Roland McGrath <roland@hack.frob.com>
27345
27346 * posix/uname-values.h: New file.
27347 * posix/uname.c: Include that instead of <config-name.h>.
27348 * sysdeps/nacl/uname-values.h: New file.
27349 * sysdeps/arm/nacl/uname-values.h: New file.
27350
27351 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27352
27353 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27354 splitting into fields.
27355
27356 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27357
27358 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27359 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27360 * locale/localeinfo.h: Add enum collation_encoding_type.
27361 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27362 * programs/ld-collate.c (collate_output): Add encoding type info.
27363 * string/strcoll_l.c (STRDIFF): New function.
27364 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27365 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27366
27367 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27368
27369 [BZ #18397]
27370 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27371 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27372 <fpu_control.h> instead of <math/fpu_control.c>.
27373 * sysdeps/mips/mips32/fpu/Makefile: New file.
27374
27375 2015-05-11 Andreas Schwab <schwab@suse.de>
27376
27377 [BZ #18007]
27378 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27379 nss_endgrent.
27380 (_nss_compat_endgrent): Call nss_endgrent.
27381 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27382 nss_endpwent.
27383 (_nss_compat_endpwent): Call nss_endpwent.
27384 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27385 needent, call nss_setspent only if non-zero.
27386 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27387 (internal_endspent): Don't call nss_endspent.
27388 (_nss_compat_endspent): Call nss_endspent.
27389 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27390 Remove. All uses removed.
27391 (internal_setent): Remove parameter stayopen, add parameter
27392 stream. Use it instead of global variable.
27393 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27394 (internal_endent, internal_getent): Add parameter stream. Use it
27395 instead of global variable.
27396 (CONCAT(_nss_files_end,ENTNAME))
27397 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27398 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27399 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27400 uses removed.
27401 (internal_setent, internal_endent): Add parameter stream. Use it
27402 instead of global variable.
27403 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27404 stream.
27405 (get_next_alias): Add parameter stream.
27406 (_nss_files_getaliasent_r): Pass global stream.
27407 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27408 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27409 (_nss_files_gethostbyname4_r): Pass local stream to
27410 internal_setent, internal_getent and internal_endent. Remove
27411 locking.
27412
27413 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27414
27415 * tst-strfmon1.c (tests): Update expected currency symbol.
27416
27417 2015-05-08 Roland McGrath <roland@hack.frob.com>
27418
27419 * sysdeps/nacl/gethostname.c: New file.
27420
27421 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27422
27423 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27424 and sinh.
27425 * math/auto-libm-test-out: Regenerated.
27426 * sysdeps/i386/fpu/libm-test-ulps: Update.
27427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27428
27429 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27430
27431 [BZ #18125]
27432 * stdlib/tst-setcontext3.c: New file.
27433 * stdlib/tst-setcontext3.sh: New file.
27434 * stdlib/Makefile (tests): Add tst-setcontext3.
27435 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27436 to verify test program created output file.
27437 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27438 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27439 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27440 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27441
27442 2015-05-06 Roland McGrath <roland@hack.frob.com>
27443
27444 [BZ #18383]
27445 * elf/tst-tlsalign.c: New file.
27446 * elf/tst-tlsalign-static.c: New file.
27447 * elf/tst-tlsalign-lib.c: New file.
27448 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27449 (tests-static): Add tst-tlsalign-static.
27450 (modules-names): Add tst-tlsalign-lib.
27451 (test-xfail-tst-tlsalign): New variable.
27452 (test-xfail-tst-tlsalign-static): New variable.
27453
27454 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27455 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27456
27457 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27458
27459 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27460 csqrt, erfc, sin and sincos.
27461 * math/auto-libm-test-out: Regenerated.
27462 * sysdeps/i386/fpu/libm-test-ulps: Update.
27463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27464
27465 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27466
27467 * sysdeps/aarch64/libm-test-ulps: Update.
27468
27469 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27470
27471 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27472 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27473 * math/auto-libm-test-out: Regenerated.
27474 * sysdeps/i386/fpu/libm-test-ulps: Update.
27475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27476
27477 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27478
27479 [BZ #18265]
27480 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27481 (wcsncpy): Likewise.
27482
27483 2015-05-05 Florian Weimer <fweimer@redhat.com>
27484
27485 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27486 Assume __ASSUME_FALLOCATE is always true.
27487 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27488 (__posix_fallocate64_l64): Likewise.
27489 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27490 (posix_fallocate): Likewise.
27491 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27492 (__posix_fallocate64_l64): Likewise.
27493 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27494 [!__ASSUME_FALLOCATE]: Add comment.
27495
27496 2015-05-05 Florian Weimer <fweimer@redhat.com>
27497
27498 * sysdeps/unix/sysv/linux/i386/Makefile
27499 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27500 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27501 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27502 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27503 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27504 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27505 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27506
27507 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27508
27509 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27510 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27511 tgamma.
27512 * math/auto-libm-test-out: Regenerated.
27513 * sysdeps/i386/fpu/libm-test-ulps: Update.
27514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27515
27516 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27517
27518 * math/auto-libm-test-in: Add more tests of tgamma.
27519 * math/auto-libm-test-out: Regenerated.
27520 * sysdeps/i386/fpu/libm-test-ulps: Update.
27521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27522
27523 * math/auto-libm-test-in: Add more tests of tanh.
27524 * math/auto-libm-test-out: Regenerated.
27525 * sysdeps/i386/fpu/libm-test-ulps: Update.
27526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27527
27528 * math/auto-libm-test-in: Add more tests of tan.
27529 * math/auto-libm-test-out: Regenerated.
27530 * sysdeps/i386/fpu/libm-test-ulps: Update.
27531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27532
27533 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27534 * math/auto-libm-test-out: Regenerated.
27535 * sysdeps/i386/fpu/libm-test-ulps: Update.
27536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27537
27538 * math/auto-libm-test-in: Add another test of pow.
27539 * math/auto-libm-test-out: Regenerated.
27540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27541
27542 * math/auto-libm-test-in: Add more tests of lgamma.
27543 * math/auto-libm-test-out: Regenerated.
27544 * sysdeps/i386/fpu/libm-test-ulps: Update.
27545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27546
27547 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27548 log1p.
27549 * math/auto-libm-test-out: Regenerated.
27550 * sysdeps/i386/fpu/libm-test-ulps: Update.
27551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27552
27553 2015-05-01 Mark Wielaard <mjw@redhat.com>
27554
27555 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27556 Elf64_Chdr structs and ELFCOMPRESS constants.
27557
27558 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27559
27560 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27561 expm1.
27562 * math/auto-libm-test-out: Regenerated.
27563 * sysdeps/i386/fpu/libm-test-ulps: Update.
27564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27565
27566 * math/auto-libm-test-in: Add more tests of erf and erfc.
27567 * math/auto-libm-test-out: Regenerated.
27568 * sysdeps/i386/fpu/libm-test-ulps: Update.
27569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27570
27571 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27572
27573 * config.h.in (HAVE_AARCH64_BE): Add.
27574
27575 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27576
27577 * math/auto-libm-test-in: Add more tests of csqrt.
27578 * math/auto-libm-test-out: Regenerated.
27579 * sysdeps/i386/fpu/libm-test-ulps: Update.
27580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27581
27582 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27583 * math/auto-libm-test-out: Regenerated.
27584 * sysdeps/i386/fpu/libm-test-ulps: Update.
27585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27586
27587 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27588
27589 2015-04-29 Roland McGrath <roland@hack.frob.com>
27590
27591 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27592 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27593
27594 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27595 (euidaccess, eaccess): Define as weak aliases.
27596
27597 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27598 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27599 but __suseconds_t is often 'long int' so some sources assume that
27600 type is being used (e.g. they use %ld to print tv_usec).
27601
27602 2015-04-29 Florian Weimer <fweimer@redhat.com>
27603
27604 [BZ #18007]
27605 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27606 (CVE-2014-8121)
27607 * nss/tst-nss-getpwent.c: New file.
27608 * nss/Makefile (tests): Add new test.
27609
27610 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27611
27612 [BZ #18346]
27613 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27614 exponents less than 48 as cases where high part of mantissa needs
27615 examining to determine whether argument is integral.
27616 * math/libm-test.inc (round_test_data): Add more tests.
27617
27618 2015-04-28 Mark Wielaard <mjw@redhat.com>
27619
27620 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27621
27622 2015-04-27 David S. Miller <davem@davemloft.net>
27623
27624 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27625 __tls_get_addr.
27626 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27627
27628 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27629
27630 [BZ#18333]
27631 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27632
27633 2015-04-27 Florian Weimer <fweimer@redhat.com>
27634
27635 [BZ#18333]
27636 * time/tzset.c (parse_tzname): Return error on memory allocation
27637 failure.
27638 * test-skeleton.c (struct temp_name_list): Change type of name
27639 member to non-const.
27640 (add_temp_file): Create a copy of the file name.
27641 (delete_temp_files): Deallocate memory.
27642 (create_temp_file): Add comment.
27643
27644 2015-04-24 Florian Weimer <fweimer@redhat.com>
27645
27646 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27647 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27648
27649 2015-04-24 Roland McGrath <roland@hack.frob.com>
27650
27651 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27652 * sysdeps/arm/configure: Regenerated.
27653
27654 2015-04-24 Florian Weimer <fweimer@redhat.com>
27655
27656 [BZ #17715]
27657 * time/tzfile.c (__tzfile_read): Check for large values of
27658 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27659 * time/tzset.c (__tzstring_len): New function, based on the old
27660 __tzstring function.
27661 (__tzstring): Call __tzstring_len.
27662 (parse_tzname): New helper function extracted from
27663 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27664 the input string.
27665 (parse_offset): New helper function extracted from
27666 __tzset_parse_tz. Replace switch with fallthrough with
27667 initialization before sscanf.
27668 (parse_rule): Likewise.
27669 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27670 new-style function definition.
27671 * timezone/Makefile (tests): Add tst-tzset.
27672 (tst-tzset.out): Dependencies on time zone files.
27673 (tst-tzset-ENV): Set TZDIR.
27674 (testdata/XT%): Copy crafted time zone files.
27675 * timezone/README: Mention crafted time zone files.
27676 * timezone/testdata/XT1, timezone/testdata/XT2,
27677 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27678 files.
27679 * timezone/tst-tzset.c: New test.
27680
27681 2015-04-24 Florian Weimer <fweimer@redhat.com>
27682
27683 * Makeconfig (+gccwarn): Remove -Winline.
27684
27685 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27686
27687 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27688
27689 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27690
27691 * NEWS: Mention sysconf() cache information support for s390.
27692 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27693
27694 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27695
27696 * math/k_casinh.c (__kernel_casinh): Use __copysign.
27697 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27698 (__nearbyint): Likewise.
27699 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27700 (copysignl): Likewise.
27701
27702 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
27703
27704 [BZ #18287]
27705 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27706 based on padding. (CVE-2015-1781)
27707
27708 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27709
27710 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27711 libc-vdso.h.
27712 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27713 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27714 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27715 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27716 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27717 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27718 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27719 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27720 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27721 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27722 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27723 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27724 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27725 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27726 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27727 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27728 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27729 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27730 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27731 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27732 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27733 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27734 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27735
27736 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
27737
27738 * stdlib/setenv.c (__add_to_environ):
27739 Dump core quickly if setenv (..., NULL, ...) is called.
27740 This time, do it the right way, and pacify GCC with a pragma.
27741
27742 2015-04-17 Roland McGrath <roland@hack.frob.com>
27743
27744 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27745 IMAP->l_prev cannot be null, and #if out the code for the contrary
27746 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27747 believe that NS (&_dl_ns[NSID]) could point outside the array.
27748
27749 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27750 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27751 before using NSID as an index.
27752
27753 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27754
27755 [BZ #17825]
27756 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27757 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27758 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27759
27760 2015-04-17 Roland McGrath <roland@hack.frob.com>
27761
27762 Add preliminary port to Google Native Client on ARM.
27763 * abi-tags (.*-.*-nacl.*): New entry.
27764 * sysdeps/arm/nacl: New directory.
27765 * sysdeps/nacl: New directory.
27766
27767 2015-04-16 David S. Miller <davem@davemloft.net>
27768
27769 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27770 lowlevellock-futex.h
27771
27772 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27773
27774 * sysdeps/tile/configure.ac: New file.
27775 * sysdeps/tile/configure: Regenerated.
27776
27777 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27778
27779 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27780 conditionals for weak_alias and libc_hidden_weak.
27781 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27782 libc_hidden_weak and weak_alias.
27783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27784 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27785 and weak_alias for static one.
27786
27787 2015-04-15 David S. Miller <davem@davemloft.net>
27788
27789 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27790
27791 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27792
27793 [BZ #18206]
27794 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27795 Use signed comparision instead of substraction to avoid
27796 overflow bug.
27797 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27798 Take the sign of ret.
27799 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27800 Do not expect precise return values. Only the sign matters.
27801 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27802 * wcsmbs/test-wcsncmp.c: New File.
27803 * string/test-strncmp.c: Add wcsncmp support.
27804
27805 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27806
27807 [BZ #6792]
27808 * math/w_log1p.c: New file.
27809 * math/w_log1pf.c: Likewise.
27810 * math/w_log1pl.c: Likewise.
27811 * math/Makefile (libm-calls): Add w_log1p.
27812 * math/s_log1pl.c (log1pl): Remove weak_alias.
27813 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27814 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27815 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27816 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27817 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27818 [NO_LONG_DOUBLE] (log1pl): Likewise.
27819 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27820 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27821 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27822 (log1p): Remove long_double_symbol.
27823 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27824 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27825 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27826 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27827 remove weak_alias for corresponding log1p function.
27828 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27829 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27830 * sysdeps/ia64/fpu/w_log1p.c: New file.
27831 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27832 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27833 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27834
27835 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27836
27837 [BZ #18247]
27838 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27839 decimal exponent by 1.
27840 * stdlib/tst-strtod-round-data: Add more tests.
27841 * stdlib/tst-strtod-round.c (tests): Regenerated.
27842
27843 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27844
27845 * math/auto-libm-test-in: Add more tests of clog and clog10.
27846 * math/auto-libm-test-out: Regenerated.
27847 * sysdeps/i386/fpu/libm-test-ulps: Update.
27848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27849
27850 2015-04-09 Roland McGrath <roland@hack.frob.com>
27851
27852 * Makeconfig (module-cppflags): Exclude all .v.i files.
27853 (skip-module-cppflags): Variable removed.
27854
27855 * configure.ac (libc_config_ok): Initialize before reading
27856 preconfigure scripts, not after.
27857 * configure: Regenerated.
27858
27859 * test-skeleton.c (TIMEOUT): Move #define to top level.
27860 (main): Grok environment variable TEST_DIRECT. If set, print
27861 test expectation details into that file and then behave as if
27862 given --direct.
27863
27864 2015-04-09 Florian Weimer <fweimer@redhat.com>
27865
27866 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27867 warning on 32-bit.
27868
27869 2015-04-08 David S. Miller <davem@davemloft.net>
27870
27871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27872
27873 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27874
27875 * math/auto-libm-test-in: Add more tests of atanh.
27876 * math/auto-libm-test-out: Regenerated.
27877 * sysdeps/i386/fpu/libm-test-ulps: Update.
27878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27879
27880 * math/auto-libm-test-in: Add more tests of atan.
27881 * math/auto-libm-test-out: Regenerated.
27882 * sysdeps/i386/fpu/libm-test-ulps: Update.
27883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27884
27885 2015-04-08 Florian Weimer <fweimer@redhat.com>
27886
27887 * elf/pldd.c (main): Rewrite to use struct
27888 scratch_buffer instead of extend_alloca.
27889 * elf/pldd-xx.c (find_maps): Likewise.
27890 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27891 <alloca.h>.
27892 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27893 scratch_buffer instead of extend_alloca.
27894 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27895 grp/compat-initgroups.c.
27896 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27897 Rewrite to use struct scratch_buffer instead of extend_alloca.
27898 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27899 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27900
27901 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27902
27903 * math/auto-libm-test-in: Add more tests of cbrt.
27904 * math/auto-libm-test-out: Regenerated.
27905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27906
27907 * math/auto-libm-test-in: Add more tests of cabs.
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 #18210]
27913 [BZ #18211]
27914 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27915 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27916 computations.
27917 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27918 clog10.
27919 * math/auto-libm-test-out: Regenerated.
27920 * sysdeps/i386/fpu/libm-test-ulps: Update.
27921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27922
27923 [BZ #18197]
27924 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27925 (atan): Set FE_TONEAREST mode for internal computations.
27926 * math/auto-libm-test-in: Add more tests of atan.
27927 * math/auto-libm-test-out: Regenerated.
27928
27929 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27930
27931 [BZ #17930]
27932 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27933
27934 2015-04-07 Florian Weimer <fweimer@redhat.com>
27935
27936 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27937
27938 2015-04-07 Florian Weimer <fweimer@redhat.com>
27939
27940 * include/scratch_buffer.h: New file.
27941 * malloc/scratch_buffer_grow.c: Likewise.
27942 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27943 * malloc/scratch_buffer_set_array_size.c: Likewise.
27944 * malloc/tst-scratch_buffer.c: Likewise.
27945 * malloc/Makefile (routines): Add scratch_buffer_grow.
27946 (tests): Add test case.
27947 * malloc/Versions (GLIBC_PRIVATE): Export
27948 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27949 __libc_scratch_buffer_set_array_size.
27950
27951 2015-04-06 Richard Henderson <rth@redhat.com>
27952
27953 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27954 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27955
27956 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27957 unsigned int before printing.
27958
27959 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27960
27961 [BZ #17596]
27962 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27963 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27964
27965 2015-04-02 Florian Weimer <fweimer@redhat.com>
27966
27967 * include/libc-internal.h (libc_max_align_t): Define.
27968
27969 2015-04-02 Andreas Schwab <schwab@suse.de>
27970
27971 [BZ #16850]
27972 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27973
27974 2015-04-02 Mel Gorman <mgorman@suse.de>
27975
27976 [BZ #17195]
27977 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27978 as well as the main arena.
27979
27980 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27981
27982 [BZ #18185]
27983 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27984 sharing L2 cache to 2 for Silvermont/Knights Landing.
27985
27986 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27987
27988 [BZ #17711]
27989 * config.make.in (have-protected-data): New.
27990 * configure.ac: Check linker support for protected data symbol.
27991 * configure: Regenerated.
27992 * elf/Makefile (modules-names): Add tst-protected1moda and
27993 tst-protected1modb if $(have-protected-data) is yes.
27994 (tests): Add tst-protected1a and tst-protected1b if
27995 $(have-protected-data) is yes.
27996 ($(objpfx)tst-protected1a): New.
27997 ($(objpfx)tst-protected1b): Likewise.
27998 (tst-protected1modb.so-no-z-defs): Likewise.
27999 * elf/tst-protected1a.c: New file.
28000 * elf/tst-protected1b.c: Likewise.
28001 * elf/tst-protected1mod.h: Likewise.
28002 * elf/tst-protected1moda.c: Likewise.
28003 * elf/tst-protected1modb.c: Likewise.
28004
28005 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28006
28007 [BZ #17711]
28008 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28009 indicates it is called from do_lookup_x on relocation against
28010 protected data, skip the data definion in the executable from
28011 copy reloc.
28012 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28013 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28014 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28015 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28016 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28017 otherwise to 0.
28018 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28019 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28020 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28021 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28022 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28023 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28024
28025 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
28026
28027 * sysdeps/nptl/pthread.h: Remove duplicate definition of
28028 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28029
28030 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
28031
28032 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28033 THREAD_SETMEM_NC.
28034 * sysdeps/x86_64/nptl/tls.h: Ditto.
28035
28036 2015-03-27 Roland McGrath <roland@hack.frob.com>
28037
28038 * dlfcn/tststatic.c (main): Converted to ...
28039 (do_test): ... this.
28040 (TEST_FUNCTION): New macro.
28041 Include test-skeleton.c.
28042
28043 2015-03-26 Alan Modra <amodra@gmail.com>
28044
28045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28046 Don't segfault if ifunc resolver returns a NULL. Do set plt to
28047 zero for undefined weak.
28048 (elf_machine_plt_conflict): Similarly.
28049
28050 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28051
28052 * math/auto-libm-test-in: Add more tests of acosh, asinh and
28053 atanh.
28054 * math/auto-libm-test-out: Regenerated.
28055 * sysdeps/i386/fpu/libm-test-ulps: Update.
28056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28057
28058 * math/auto-libm-test-in: Add another test of asin.
28059 * math/auto-libm-test-out: Regenerated.
28060 * sysdeps/i386/fpu/libm-test-ulps: Update.
28061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28062
28063 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28064 Remove macro.
28065 (LLL_EBX_REG): Likewise.
28066 (LLL_ENTER_KERNEL): Likewise.
28067
28068 * math/auto-libm-test-in: Add more tests of asin.
28069 * math/auto-libm-test-out: Regenerated.
28070 * sysdeps/i386/fpu/libm-test-ulps: Update.
28071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28072
28073 [BZ #18138]
28074 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28075 libc_do_syscall_args): New structure.
28076 (INTERNAL_SYSCALL_MAIN_0): New macro.
28077 (INTERNAL_SYSCALL_MAIN_1): Likewise.
28078 (INTERNAL_SYSCALL_MAIN_2): Likewise.
28079 (INTERNAL_SYSCALL_MAIN_3): Likewise.
28080 (INTERNAL_SYSCALL_MAIN_4): Likewise.
28081 (INTERNAL_SYSCALL_MAIN_5): Likewise.
28082 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
28083 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28084 Replace conditional definitions by conditional definitions of ....
28085 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
28086 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28087 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28088 (libpthread-sysdep_routines): Add libc-do-syscall.
28089 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28090 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28091 to __NR_futex not 240.
28092
28093 2015-03-25 Alan Modra <amodra@gmail.com>
28094
28095 * NEWS: Advertise TLS optimization.
28096 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28097 (DT_PPC_NUM): Increment.
28098 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28099 (CHECK_STATIC_TLS): Use here.
28100 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28101 TLS descriptors.
28102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28103 * sysdeps/powerpc/dl-tls.c: New file.
28104 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28105 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28106 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28107 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28111
28112 2015-03-25 Alan Modra <amodra@gmail.com>
28113
28114 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28115 for overlapping .opd entries" to "support...".
28116 * sysdeps/powerpc/powerpc64/configure: Regenerate
28117
28118 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28119
28120 * math/auto-libm-test-in: Add more tests of acos.
28121 * math/auto-libm-test-out: Regenerated.
28122 * sysdeps/i386/fpu/libm-test-ulps: Update.
28123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28124
28125 * math/auto-libm-test-in: Add more tests of expm1.
28126 * math/auto-libm-test-out: Regenerated.
28127 * sysdeps/i386/fpu/libm-test-ulps: Update.
28128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28129
28130 2015-03-24 Joseph Myers <joseph@codesourcery.com>
28131
28132 * math/auto-libm-test-in: Add more tests of cosh and sinh.
28133 * math/auto-libm-test-out: Regenerated.
28134 * sysdeps/i386/fpu/libm-test-ulps: Update.
28135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28136
28137 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28139
28140 * math/auto-libm-test-in: Add more tests of log2.
28141 * math/auto-libm-test-out: Regenerated.
28142 * sysdeps/i386/fpu/libm-test-ulps: Update.
28143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28144
28145 2015-03-23 Roland McGrath <roland@hack.frob.com>
28146
28147 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28148 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
28149 _IO_IS_APPENDING bit in READ_WRITE instead.
28150
28151 2015-03-23 Florian Weimer <fweimer@redhat.com>
28152
28153 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28154 (__determine_cpumask_size): Replace extend_alloca with a
28155 variable-length array. Do not treat res == 0 as an error.
28156
28157 2015-03-23 Florian Weimer <fweimer@redhat.com>
28158
28159 [BZ #18100]
28160 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28161 and integer overflow.
28162 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28163 (main): Add integer overflow tests.
28164 * manual/pattern.texi (Calling Wordexp): Document additional use
28165 for WRDE_SYNTAX.
28166
28167 2015-03-23 Alan Modra <amodra@gmail.com>
28168
28169 * config.h.in: Remove HAVE_ASM_PPC_REL16.
28170 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28171 and false branch of conditional.
28172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28173 Likewise.
28174
28175 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
28176
28177 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28178 libc-modules.h
28179 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28180 unused declaration of _hurd_intr_rpc_msg_in_trap.
28181 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28182 defined instead of whether it is non-zero.
28183 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28184 input constraint instead of both input and output constraint. Use ecx
28185 clobber instead of %ecx.
28186 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28187 mutex_unlock): Use a statement expression instead of an expression list.
28188 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28189 type to vm_size_t instead of vm_address_t.
28190 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28191 defined instead of whether it is non-zero.
28192 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28193 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28194 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28195 comparisons with mapaddr.
28196 * nscd/nscd-client.h: Include <time.h>.
28197 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28198 9th parameter to __vm_region instead of int.
28199 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28200 * scripts/check-local-headers.sh (exclude): Add device/,
28201 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28202 cthreads.h.
28203
28204 2015-03-19 Roland McGrath <roland@hack.frob.com>
28205
28206 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28207 to account for alignment padding.
28208 * sysdeps/arm/memmove.S: Likewise.
28209
28210 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
28211
28212 * sysdeps/unix/sysv/linux/generic/README: New file.
28213
28214 2015-03-18 Joseph Myers <joseph@codesourcery.com>
28215
28216 [BZ #18138]
28217 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28218 (futex_abstimed_wait)
28219 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28220 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28221 of lll_futex_timed_wait.
28222
28223 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
28224
28225 [BZ #17542]
28226 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28227
28228 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
28229
28230 [BZ #17090]
28231 [BZ #17620]
28232 [BZ #17621]
28233 [BZ #17628]
28234 * NEWS: Update.
28235 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28236 entries with Static TLS too. Skip entries past the end of the
28237 allocated DTV, from Alan Modra.
28238 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
28239 Static TLS DTV entry set up from...
28240 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28241 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28242 * nptl/allocatestack.c (init_one_static_tls): ... and here...
28243 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28244 for Static TLS.
28245 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
28246 that the slot we find is associated with the given map before
28247 using its generation count.
28248 * nptl_db/db_info.c: Include ldsodefs.h.
28249 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28250 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28251 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28252 (link_map::l_tls_offset): New struct field.
28253 (dtv_t::counter): Likewise.
28254 (rtld_global): New struct.
28255 (_rtld_global): New rtld variable.
28256 (dl_tls_dtv_slotinfo_list): New rtld global field.
28257 (dtv_slotinfo_list): New struct.
28258 (dtv_slotinfo): Likewise.
28259 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28260 (td_lookup): Rename to...
28261 (td_mod_lookup): ... this. Use new mod parameter instead of
28262 LIBPTHREAD_SO.
28263 * nptl_db/td_thr_tlsbase.c: Include link.h.
28264 (dtv_slotinfo_list, dtv_slotinfo): New functions.
28265 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
28266 addresses even if the DTV is out of date or missing them.
28267 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28268 index zero-length arrays.
28269 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28270 (td_lookup): Make it a macro implemented in terms of...
28271 (td_mod_lookup): ... this declaration.
28272 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28273 (DB_MAIN_VARIABLE): Likewise.
28274
28275 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 [BZ #18134]
28278 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28279
28280 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
28281
28282 * stdlib/setenv.c (__add_to_environ): Revert previous change.
28283
28284 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
28285
28286 [BZ #18128]
28287 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28288 (atomic_add, atomic_increment_and_test)
28289 (atomic_decrement_and_test): Fix 64-bit arithmetic.
28290
28291 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
28292
28293 * stdlib/setenv.c (__add_to_environ):
28294 Dump core quickly if setenv (..., NULL, ...) is called.
28295
28296 2015-03-13 Roland McGrath <roland@hack.frob.com>
28297
28298 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28299 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28300 all the necessary asm magic in one place.
28301 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28302 using those.
28303
28304 2015-03-13 Carlos O'Donell <carlos@redhat.com>
28305
28306 [BZ #14906]
28307 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28308 traced file mtime. Use consistent log message.
28309 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28310 (register_traced_file): Call install_watches. Always set mtime.
28311 (invalidate_cache): Iterate over all trace files. Call install_watches.
28312 (inotify_check_files): Don't inline. Handle watching parent
28313 directories and configuration file movement in and out.
28314 (handle_inotify_events): New function.
28315 (main_loop_poll): Call handle_inotify_events.
28316 (main_loop_epoll): Likewise.
28317 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28318 (struct traced_file): Use array of inotify fds. Add parent directory,
28319 and basename.
28320 (struct database_dyn): Remove unused file_mtime.
28321 (init_traced_file): New inline function.
28322 (define_traced_file): New macro.
28323 * nss/nss_db/db-init.c: Use define_traced_file.
28324 (_nss_db_init): Use init_traced_file.
28325 * nss/nss_files/files-init.c: Use define_traced_file.
28326 (_nss_files_init): Use init_traced_file.
28327
28328 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28329
28330 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28331 [_LIBC]: Do not include <stdlib.h>.
28332 [!_LIBC] (abort): Remove declaration.
28333 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28334 _FP_STATIC_ASSERT instead of conditionally calling abort.
28335 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28336 (_FP_EXTEND_CNAN): Likewise.
28337 (FP_TRUNC): Likewise.
28338 (__FP_CLZ): Likewise.
28339 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28340
28341 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28342
28343 * manual/string.texi (XPG basename): Fix prototype.
28344
28345 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28346
28347 [BZ #18080]
28348 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28349 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28350 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28351 (__setcontext): Likewise.
28352 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28353 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28354 Call rt_sigprocmask syscall one time to set new signal mask
28355 and retrieve the current signal mask instead of two calls.
28356 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28357 (__swapcontext): Likewise.
28358 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28359 * stdlib/tst-setcontext2.c: New file.
28360
28361 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28362
28363 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28364
28365 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28366
28367 [BZ #18093]
28368 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28369 the wrong size.
28370
28371 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28372
28373 [BZ #18043]
28374 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28375
28376 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28377
28378 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28379 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28380 Remove define.
28381 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28382 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28383 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28384 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28385 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28386 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28387 define.
28388 * nptl_db/td_symbol_list.c (td_lookup): Remove
28389 HAVE_ASM_GLOBAL_DOT_NAME code.
28390 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28391 HAVE_ASM_GLOBAL_DOT_NAME check.
28392 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28393 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28394 (DOT_LABEL): Remove define.
28395 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28396 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28397 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28398 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28399 (__TLS_GET_ADDR): Likewise.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28401 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28402
28403 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28404
28405 [BZ #18111]
28406 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28407 (_FPU_SETCW): Initialize cw from fpsr before storing.
28408 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28409 (fesetexceptflag): Rewrite using fpu_control.h.
28410 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28411
28412 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28413
28414 [BZ #18110]
28415 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28416 asms.
28417 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28418
28419 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28420
28421 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28422 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28423 abort.
28424 (_FP_FMA): Likewise.
28425 (_FP_DIV): Likewise.
28426
28427 2015-03-10 Roland McGrath <roland@hack.frob.com>
28428
28429 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28430 with 0 in that case.
28431 * Makefile (summarize-tests): New canned sequence, factored out of
28432 commands for targets tests and xtests. Display summary lines that
28433 don't start with PASS: or XFAIL: rather than ones that do start with
28434 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28435 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28436 do start with ERROR: or FAIL:.
28437 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28438 (except for [$(build-shared) = yes]).
28439 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28440 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28441 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28442 * nptl/Makefile: Revert 2015-03-04 changes.
28443 [$(CXX) empty] (tests-unsupported): New variable.
28444 * debug/Makefile: Likewise.
28445
28446 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28447 gnulib file. Replace __attribute with __attribute__ throughout.
28448
28449 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28450
28451 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28452
28453 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28454
28455 [BZ #18104]
28456 * math/auto-libm-test-in: Add another test of pow.
28457 * math/auto-libm-test-out: Regenerated.
28458
28459 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28460
28461 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28462 $(config-cflags-nofma).
28463
28464 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28465
28466 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28467 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28468 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28469 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28470 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28471 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28472 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28473 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28474 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28475 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28476 Add comment on closing #endif.
28477
28478 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28479
28480 * posix/wordexp.c (CHAR_IN_SET): New macro.
28481 (parse_param): Use it.
28482
28483 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28484
28485 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28486
28487 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28488
28489 [BZ #18043]
28490 * posix/wordexp.c (parse_param): Fix buffer overflow.
28491 * posix/wordexp-test.c (test_case): Add test case.
28492
28493 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28494
28495 [BZ #18042]
28496 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28497 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28498
28499 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28500
28501 [BZ #18043]
28502 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28503 (do_bz18043): Delete.
28504 (at_page_end): New.
28505 (testit): Refactor to have words at the edge of unreadable page.
28506
28507 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28508
28509 [BZ #16734]
28510 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28511 Cleanup read-only streams as well.
28512 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28513
28514 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28515
28516 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28517 <bits/libc-lockP.h>
28518
28519 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28520
28521 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28522 on [__KERNEL__].
28523 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28524 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28525 * soft-fp/op-common.h (_FP_DECL): Likewise.
28526
28527 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28528
28529 * elf/ifuncdep2.c (global): Replace
28530 __attribute__((visibility("protected"))) with
28531 asm (".protected global").
28532 * elf/ifuncmod1.c (global): Likewise.
28533 * elf/ifuncmod5.c (global): Likewise.
28534
28535 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28536
28537 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28538 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28539
28540 2015-03-06 Roland McGrath <roland@hack.frob.com>
28541
28542 * manual/install.texi (Configuring and compiling):
28543 Document test-wrapper-env-only.
28544 * INSTALL: Regenerated.
28545
28546 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28547
28548 [BZ #18043]
28549 * posix/wordexp.c (parse_param): Fix buffer overflow.
28550 * posix/wordexp-test.c (do_bz18043): Add test case.
28551
28552 2015-03-06 Vincent Bernat <vincent@bernat.im>
28553
28554 * time/tst-strptime2.c (do_test): Ensure failing tests are
28555 reported correctly.
28556 * time/tst-strptime3.c (do_test): Likewise.
28557
28558 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28559
28560 Fix aio_error thread-safety.
28561 * sysdeps/pthread/aio_error.c: New file
28562 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28563 synchronization.
28564
28565 2015-03-06 Florian Weimer <fweimer@redhat.com>
28566
28567 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28568 (group_number, vfprintf): Use it.
28569 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28570 (JUMP, REF): Use it.
28571 (WORK_BUFFER_SIZE): New enum constant.
28572 (process_arg, vfprintf): Use it.
28573
28574 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28575
28576 * manual/errno.texi (Error Messages): Complete example function
28577 by adding missing #define.
28578 (program_invocation_name): Add statement indicating GNU
28579 extension and reference which header file declares the variable.
28580 (program_invocation_short_name): Likewise.
28581
28582 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28583
28584 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28585 compatibility note.
28586
28587 2015-03-05 Roland McGrath <roland@hack.frob.com>
28588
28589 * Makeconfig (test-wrapper-env-only): New variable.
28590 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28591 then use that with $(test-wrapper-env-only) rather than using
28592 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28593
28594 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28595
28596 [BZ #18082]
28597 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28598 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28599 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28600 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28601 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28602 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28603 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28604 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28605 Likewise.
28606 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28607 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28608 Likewise.
28609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28610 Likewise.
28611 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28612 Likewise.
28613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28614 Likewise.
28615 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28617 Likewise.
28618 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28619 Likewise.
28620 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28621 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28622
28623 2015-03-04 Roland McGrath <roland@hack.frob.com>
28624
28625 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28626 (ETH_ALEN): New macro.
28627 (struct ether_addr): Use it for length of ether_addr_octet.
28628
28629 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28630 (setdb): Don't call __nss_configure_lookup for "rpc".
28631 (do_test): Don't call test_rpc.
28632 (output_rpcent, test_rpc): Functions moved ...
28633 * sunrpc/test-rpcent.c: ... to this new file.
28634 * sunrpc/Makefile (tests): Add it.
28635
28636 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28637 __xpg_sigpause.
28638 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28639 * nptl/tst-signal6.c: Likewise.
28640 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28641 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28642
28643 * configure.ac (libc_cv_cxx_link_ok): New check.
28644 Reset CXX to empty if it fails to link.
28645 * configure: Regenerated.
28646 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28647 bug-atexit3-lib only if $(CXX) is nonempty.
28648 * nptl/Makefile (tests): Likewise for tst-cancel24.
28649 (tests, tests-static): Likewise for tst-cancel24-static.
28650 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28651 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28652 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28653 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28654
28655 2015-03-04 Andreas Schwab <schwab@suse.de>
28656
28657 [BZ #17631]
28658 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28659 for non-GCC compilers.
28660 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28661 Likewise.
28662
28663 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28664
28665 [BZ #17776]
28666 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28667 integer before bitwise and assembly operations.
28668 (feclearexcept): Likewise.
28669 * math/test-fenvinline.c: New file.
28670 * math/Makefile: Add test-fenvinline test.
28671
28672 2015-03-03 Alan Modra <amodra@gmail.com>
28673
28674 [BZ #16512]
28675 * scripts/localplt.awk: Strip off symbol version.
28676 * NEWS: Mention bug fix.
28677
28678 2015-03-02 Roland McGrath <roland@hack.frob.com>
28679
28680 * sysdeps/pthread/timer_routines.c
28681 (timer_free_list, thread_free_list, thread_active_list): Make static.
28682
28683 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28684
28685 [BZ #17779]
28686 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28687 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28688 Undefine.
28689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28690 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28691 Likewise.
28692 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28693 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28694 Likewise.
28695
28696 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28697
28698 [BZ #18036]
28699 * posix/fnmatch_loop.c (END): Detect invalid pattern.
28700 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28701
28702 2015-03-02 Andreas Schwab <schwab@suse.de>
28703
28704 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28705 variable name.
28706
28707 2015-03-02 Florian Weimer <fweimer@redhat.com>
28708
28709 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28710 Return error status.
28711
28712 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
28713
28714 [BZ #15969]
28715 * locale/findlocale.c (_nl_find_locale): Introduce const
28716 version of loc_name and drop unsafe type casts.
28717
28718 2015-02-27 Roland McGrath <roland@hack.frob.com>
28719
28720 * dlfcn/tststatic2.c (main): Converted to ...
28721 (do_test): ... this.
28722 (TEST_FUNCTION): New macro.
28723 Include test-skeleton.c.
28724
28725 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 [BZ #17711]
28728 * elf/Makefile (tests): Add vismain only if PIE is enabled.
28729 (tests-pie): Add vismain.
28730 (CFLAGS-vismain.c): New.
28731 * elf/vismain.c: Add comments for PIE requirement.
28732
28733 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28734
28735 [BZ #18046]
28736 [BZ #18047]
28737 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28738 0x1p-56L as threshold for just returning the argument.
28739 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28740 0x1p-32L as threshold for just returning the argument.
28741 * math/auto-libm-test-in: Add more tests of atanh.
28742 * math/auto-libm-test-out: Regenerated.
28743 * sysdeps/i386/fpu/libm-test-ulps: Update.
28744 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28745
28746 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28747
28748 * string/bcopy.c (bcopy): Call memmove for performance.
28749
28750 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28751
28752 * string/bzero.c (__bzero): Call memset for performance.
28753
28754 2015-02-27 John David Anglin <dave.anglin@bell.net>
28755
28756 [BZ #18068]
28757 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28758 to 00100000.
28759
28760 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28761
28762 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28763
28764 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28765
28766 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28767 (__kernel_standard): Use CSTR macro when setting exc.name.
28768 * sysdeps/ieee754/Makefile [$(subdir) = math]
28769 (CFLAGS-k_standard.c): Remove variable.
28770
28771 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28772 setting p and q from "else if" to "else".
28773 (qzero): Likewise.
28774 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28775 (qone): Likewise.
28776 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28777 (qzerof): Likewise.
28778 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28779 (qonef): Likewise.
28780 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28781 (qzero): Likewise.
28782 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28783 (qone): Likewise.
28784
28785 [BZ #18038]
28786 [BZ #18039]
28787 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28788 return pi/2 for arguments below 0x1p-113L.
28789 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28790 return pi/2 for arguments below 0x1p-106L.
28791 * math/auto-libm-test-in: Add more tests of acos.
28792 * math/auto-libm-test-out: Regenerated.
28793
28794 [BZ #16351]
28795 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28796 (MO): New macro.
28797 (__ieee754_asin): Force underflow exception for results with small
28798 absolute value.
28799 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28800 (MO): New macro.
28801 (__ieee754_asinf): Force underflow exception for results with
28802 small absolute value.
28803 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28804 (__ieee754_asin): Force underflow exception for results with small
28805 absolute value.
28806 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28807 (__ieee754_asinf): Force underflow exception for results with
28808 small absolute value.
28809 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28810 (__ieee754_asinl): Force underflow exception for results with
28811 small absolute value.
28812 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28813 (__ieee754_asinl): Force underflow exception for results with
28814 small absolute value.
28815 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28816 (__ieee754_asinl): Force underflow exception for results with
28817 small absolute value.
28818 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28819 Include <math.h>.
28820 * math/auto-libm-test-in: Do not mark underflow exceptions as
28821 possibly missing for bug 16351.
28822 * math/auto-libm-test-out: Regenerated.
28823
28824 [BZ #18030]
28825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28826 of power of 2 down when low part has opposite sign.
28827 * math/libm-test.inc (logb_test_data): Add more tests.
28828
28829 2015-02-26 Andreas Schwab <schwab@suse.de>
28830
28831 [BZ #18032]
28832 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28833 over collating symbol inside a bracket expression. Minor cleanup.
28834 * posix/tst-fnmatch3.c (do_test): Add test case.
28835
28836 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28837
28838 [BZ #18029]
28839 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28840 Adjust exponent of power of 2 down when low part has opposite
28841 sign.
28842 * math/libm-test.inc (ilogb_test_data): Add more tests.
28843
28844 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28845
28846 [BZ #15969]
28847 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28848 the previous change.
28849
28850 [BZ #15969]
28851 * locale/findlocale.c (_nl_find_locale): Retry archive search
28852 after alias expansion.
28853
28854 2015-02-25 Roland McGrath <roland@hack.frob.com>
28855
28856 * iconv/tst-iconv3.c (main): Converted to ...
28857 (do_test): ... this.
28858 (TEST_FUNCTION): New macro.
28859 Include test-skeleton.c.
28860
28861 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28862 (convert): Make function static.
28863 (test_unalign): Likewise. Add const to argument pointee types.
28864 (main): Replace with static function do_test.
28865 Print "Succeeded." only if RET is zero.
28866 (TEST_FUNCTION): New macro.
28867 Include test-skeleton.c.
28868
28869 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28870 returns a null pointer.
28871
28872 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28873
28874 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28875 to __memcpy_ppc only for static builds.
28876
28877 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28878
28879 [BZ #18020]
28880 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28881 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28882 * math/auto-libm-test-in: Add more tests of asinh.
28883 * math/auto-libm-test-out: Regenerated.
28884 * sysdeps/i386/fpu/libm-test-ulps: Update.
28885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28886
28887 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28888
28889 [BZ #15850]
28890 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28891 and ip6_mtuinfo definitions here.
28892 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28893 in this define too. Update comment.
28894
28895 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28896
28897 * elf/sprof.c (load_shobj): Tweak error message to match others.
28898
28899 2015-02-24 Kevin Easton <kevin@guarana.org>
28900
28901 [BZ #16145] (partial fix)
28902 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28903 to reduce lock contention.
28904
28905 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28906
28907 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28908 (struct timex): Update time comment.
28909 (ADJ_SETOFFSET): Define.
28910
28911 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28912
28913 [BZ #18019]
28914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28915 2**56 not 2**28 as threshold for log (2x) formula.
28916 * math/auto-libm-test-in: Add more tests of acosh.
28917 * math/auto-libm-test-out: Regenerated.
28918 * sysdeps/i386/fpu/libm-test-ulps: Update.
28919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28920
28921 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28922
28923 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28924 parenthesis around the buf assignment.
28925 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28926
28927 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28928
28929 [BZ #16783]
28930 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28931 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28932 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28933 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28934 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28935 * math/libm-test.inc (scalb_test_data): Add more tests.
28936
28937 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28938
28939 [BZ #17916]
28940 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28941 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28942
28943 2015-02-24 Eric Rannaud <e@nanocritical.com>
28944
28945 [BZ #17523]
28946 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28947 * io/bits/fcntl2.h (open): Use it.
28948 (openat): Likewise.
28949 * io/open.c (__libc_open): Likewise.
28950 * io/open64.c (__libc_open64): Likewise.
28951 * io/open64_2.c (__open64_2): Likewise.
28952 * io/open_2.c (__open_2): Likewise.
28953 * io/openat.c (__openat): Likewise.
28954 * io/openat64.c (__openat64): Likewise.
28955 * io/openat64_2.c (__openat64_2): Likewise.
28956 * io/openat_2.c (__openat_2): Likewise.
28957 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28958 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28959 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28960 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28961 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28962 (__open_nocancel): Likewise.
28963 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28964 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28965 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28966
28967 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28968
28969 [BZ #14841]
28970 * resolv/gethnamaddr.c (getanswer): Skip logging if
28971 RES_USE_DNSSEC is set.
28972 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28973
28974 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28975
28976 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28977
28978 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28979
28980 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28981 201304L, for Unicode 7.
28982
28983 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28984
28985 [BZ #17836]
28986 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28987 shared library. Add gmon-start.os otherwise.
28988 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28989 $(objpfx)gmon-start.os if builing shared library.
28990 ($(objpfx)g$(static-start-installed-name)): Likewise.
28991
28992 2015-02-23 Andreas Schwab <schwab@suse.de>
28993
28994 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28995
28996 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28997
28998 [BZ #17269]
28999 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29000 (enlarge_userbuf): Likewise.
29001
29002 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
29003
29004 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29005 * math/atest-exp.c (TIMEOUT): Adjust to 200.
29006 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29007 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29008
29009 2015-02-20 Joseph Myers <joseph@codesourcery.com>
29010
29011 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29012 expression inside statement expression.
29013
29014 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
29015
29016 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29017 <sysdeps/nptl/lowlevellock.h> and remove macros and
29018 functions that are now defined there.
29019 (SYS_futex): Remove.
29020 (lll_compare_and_swap): Remove.
29021 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29022
29023 2015-02-19 Joseph Myers <joseph@codesourcery.com>
29024
29025 [BZ #17999]
29026 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29027 instead of scandirat.
29028 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29029 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29030 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29031 __scandirat.
29032 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29033 (__scandirat): Declare. Use libc_hidden_proto.
29034 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29035 Remove variable.
29036 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29037
29038 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29039
29040 [BZ #15319]
29041 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29042 (MO): New macro.
29043 (__ieee754_atan2): For results with small absolute value, force
29044 underflow exception and remove excess range and precision from
29045 return value.
29046 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29047 (MO): New macro.
29048 (__ieee754_atan2f): For results with small absolute value, force
29049 underflow exception and remove excess range and precision from
29050 return value.
29051 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29052 (MO): New macro.
29053 (__atan): For results with small absolute value, force underflow
29054 exception and remove excess range and precision from return value.
29055 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29056 (MO): New macro.
29057 (__atanf): For results with small absolute value, force underflow
29058 exception and remove excess range and precision from return value.
29059 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29060 <math.h>.
29061 (__ieee754_atan2): Force underflow exception for results with
29062 small absolute value.
29063 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29064 <math_private.h>.
29065 (atan): Force underflow exception for results with small absolute
29066 value.
29067 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29068 (__atanf): Force underflow exception for results with small
29069 absolute value.
29070 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29071 <math.h>.
29072 (__atanl): Force underflow exception for results with small
29073 absolute value.
29074 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29075 (__atanl): Force underflow exception for results with small
29076 absolute value.
29077 * sysdeps/x86/fpu/bits/mathinline.h
29078 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29079 (__ieee754_atan2): Only define inline for long double.
29080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29081 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29082 * math/auto-libm-test-in: Do not mark underflow exceptions as
29083 possibly missing for bug 15319. Add more tests of atan2.
29084 * math/auto-libm-test-out: Regenerated.
29085 * math/libm-test.inc (casin_test_data): Do not mark underflow
29086 exceptions as possibly missing for bug 15319.
29087 (casinh_test_data): Likewise.
29088 * sysdeps/i386/fpu/libm-test-ulps: Update.
29089
29090 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
29091
29092 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29093 * sysdeps/mips/bits/endian.h: Fix comments.
29094
29095 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29096
29097 [BZ #17996]
29098 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29099 (hdestroy_r): Likewise.
29100 (hsearch_r): Likewise.
29101 (__hcreate_r): Declare and use libc_hidden_proto.
29102 (__hdestroy_r): Likewise.
29103 (__hsearch_r): Likewise.
29104 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29105 (hcreate): Call __hcreate_r instead of hcreate_r.
29106 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29107 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29108 as weak alias of __hcreate_r.
29109 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29110 __hdestroy_r.
29111 (hsearch_r): Rename to __hsearch_r and define as weak alias of
29112 __hsearch_r.
29113 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29114 Remove variable.
29115 (test-xfail-XPG4/search.h/linknamespace): Likewise.
29116 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29117 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29118 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29119
29120 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29121
29122 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29123 arena_lock into a single arena_get.
29124
29125 2015-02-17 Carlos O'Donell <carlos@redhat.com>
29126
29127 * dl-reloc.c: Inlucde libc-internal.h.
29128 (_dl_try_allocate_static_tls): Call ALIGN_UP.
29129 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29130 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29131 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29132 (grow_heap): Likewise.
29133 * malloc/malloc.c: Include libc-internal.h.
29134 (do_check_malloc): Call powerof2.
29135 (sysmalloc): Use pagesize. Call ALIGN_UP.
29136 (systrim): Use pagesize.
29137 (mremap_chunk): Use pagesize. Call ALIGN_UP.
29138 (__libc_valloc): Use pagesize.
29139 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29140
29141 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29142
29143 [BZ #17991]
29144 * include/sys/resource.h (__getrlimit64): Declare. Use
29145 libc_hidden_proto.
29146 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29147 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
29148 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29149 getrlimit64.
29150 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29151 __getrlimit64.
29152 [!getrlimit64] (getrlimit64): Define as weak alias of
29153 __getrlimit64. Use libc_hidden_weak.
29154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29155 using __getrlimit64 not __new_getrlimit64.
29156 (__GI_getrlimit64): Likewise.
29157 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29158 Likewise.
29159 (__GI_getrlimit64): Likewise.
29160 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29162 (getrlimit): Add __getrlimit64 alias.
29163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29164 Likewise.
29165 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29166 Remove variable.
29167 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29168 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29169
29170 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
29171
29172 * libio/fileops.c: Add missing sys/mman.h
29173 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29174
29175 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29176
29177 * manual/math.texi (Errors in Math Functions): Clarify goals
29178 regarding inexact and underflow exceptions.
29179
29180 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29181
29182 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29183 * sysdeps/mips/memset.S: Ditto.
29184
29185 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29186
29187 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29188
29189 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29190
29191 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29192 (__v1longjmp): Remove versioned symbol.
29193 (__v1siglongjmp): Remove alias and versioned symbol.
29194 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29195 (__v2siglongjmp): Likewise.
29196
29197 2015-02-16 Torvald Riegel <triegel@redhat.com>
29198
29199 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29200
29201 2015-02-16 Mike Frysinger <vapier@gentoo.org>
29202
29203 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29204
29205 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29206
29207 [BZ #17987]
29208 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29209 zero result does not depend on the sign resulting from
29210 subtraction.
29211 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29212 Likewise.
29213 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29214 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29215 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29216 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29217 * math/libm-test.inc (remquo_test_data): Add more tests.
29218
29219 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
29220
29221 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29222 Problem reported by J William Piggott.
29223
29224 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29225
29226 [BZ #17978]
29227 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29228 products 4 * y and 2 * y where those would overflow.
29229 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29230 Likewise.
29231 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29232 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29233 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29234 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29235 * math/libm-test.inc (remquo_test_data): Add more tests.
29236
29237 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29238
29239 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29240 [defined _COMPILING_NEWLIB].
29241 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29242 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29243
29244 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29245 [!defined __mips_isa_rev || __mips_isa_rev < 6].
29246
29247 2015-02-16 Torvald Riegel <triegel@redhat.com>
29248
29249 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29250 acquired.
29251
29252 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
29253
29254 [BZ #17792]
29255 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29256 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29257 HOST_STACK_END_ADDR): Likewise.
29258
29259 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
29260
29261 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29262 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29263 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29264
29265 2015-02-13 Roland McGrath <roland@hack.frob.com>
29266
29267 * sysdeps/generic/c++-types.data: New file.
29268 * sysdeps/generic/ld.abilist: New file.
29269 * sysdeps/generic/libBrokenLocale.abilist: New file.
29270 * sysdeps/generic/libanl.abilist: New file.
29271 * sysdeps/generic/libc.abilist: New file.
29272 * sysdeps/generic/libcrypt.abilist: New file.
29273 * sysdeps/generic/libdl.abilist: New file.
29274 * sysdeps/generic/libm.abilist: New file.
29275 * sysdeps/generic/libpthread.abilist: New file.
29276 * sysdeps/generic/libresolv.abilist: New file.
29277 * sysdeps/generic/librt.abilist: New file.
29278
29279 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29280
29281 [BZ #17569]
29282 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29283 Compute absolute value of x as modified by fmod, not original
29284 value of x.
29285 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29286 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
29287 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
29288 RUN_TEST_ffI_f1_mod8.
29289 (remquo_test_data): Add more tests.
29290
29291 2015-02-13 Roland McGrath <roland@hack.frob.com>
29292
29293 * sysdeps/init_array/pt-crti.S: New file.
29294
29295 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29296
29297 [BZ #17967]
29298 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29299 __builtin_fmaf instead of relying on contraction of a * b + c.
29300
29301 2015-02-12 J William Piggott <elseifthen@gmx.com>
29302
29303 [BZ #17969]
29304 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29305 node.
29306
29307 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29308
29309 [BZ #17964]
29310 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29311 __builtin_fma instead of relying on contraction of a * b + c.
29312
29313 2015-02-12 Roland McGrath <roland@hack.frob.com>
29314
29315 * Makeconfig (ASFLAGS): Add -Werror=undef.
29316 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29317 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29318 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29319
29320 * Makeconfig (after-link): New variable.
29321 (+link-pie, +link-pie-tests): Use it.
29322 (+link-static, +link-static-tests): Likewise.
29323 (+link, +link-tests): Likewise.
29324 * Makerules (build-module, build-module-asneeded): Likewise.
29325 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29326 Likewise.
29327 * elf/Makefile ($(objpfx)ld.so): Likewise.
29328
29329 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29330
29331 [BZ #17965]
29332 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29333 both struct timeval and struct timespec.
29334
29335 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29336
29337 [BZ #16560]
29338 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29339 and redefine.
29340 (__ieee754_exp2l): Do not multiply small fractional parts by
29341 M_LN2l.
29342 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29343 small argument.
29344 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29345 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29346 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29347 * math/auto-libm-test-in: Add more tests of exp2.
29348 * math/auto-libm-test-out: Regenerated.
29349
29350 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29351
29352 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29353 unaligned path.
29354
29355 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29356
29357 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29358 little endian.
29359
29360 2015-02-12 Andreas Schwab <schwab@suse.de>
29361
29362 [BZ #15790]
29363 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29364 Filter out elision flags from value returned in kind.
29365 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29366 * nptl/tst-pthread-mutexattr.c: New file.
29367
29368 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29369
29370 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29371 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29372 into gnu-gnu, and update comment to refer to abi-tags.
29373
29374 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29375
29376 [BZ #15467]
29377 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29378 (__sincos): Set errno to EDOM for infinite argument.
29379 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29380 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29381 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29382 (__sincosl): Set errno to EDOM for infinite argument.
29383 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29384 (__sincosl): Set errno to EDOM for infinite argument.
29385 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29386 (__sincosl): Set errno to EDOM for infinite argument.
29387 * math/libm-test.inc (sincos_test_data): Test errno setting.
29388
29389 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29390
29391 * string/strxfrm_l.c: Remove #define STRCMP.
29392 * string/strcoll_l.c: Remove #define STRLEN.
29393 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29394 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29395
29396 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29397
29398 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29399 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29400 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29401 * sysdeps/mips/mips64/Makefile: ... here.
29402 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29403 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29404 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29405 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29406 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29407 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29408 * sysdeps/mips/mips64/n64/Implies: Likewise.
29409
29410 2015-02-10 Roland McGrath <roland@hack.frob.com>
29411
29412 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29413 <sys/time.h>, <string.h>, and <errno.h>.
29414 (dest_offset, dest_address, value, zero): Remove unused variables.
29415 (ldouble): Remove typedef.
29416 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29417 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29418 1). Fix code style.
29419 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29420 (check): Function removed.
29421 (CHECK): New macro.
29422 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29423 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29424 Don't call set_sigaction_FP and remove_sigaction_FP here.
29425 (ldouble_test): Just use 'long double' as macro argument, no need for
29426 the 'ldouble' typedef.
29427 (do_test): Set up SIGFPE handler at start, using plain signal rather
29428 than sigaction. Fix code style.
29429
29430 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29431
29432 [BZ #17949]
29433 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29434 jump label.
29435
29436 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29437
29438 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29439 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29440
29441 * sysdeps/powerpc/configure.ac: Remove file.
29442 * sysdeps/powerpc/configure: Likewise.
29443
29444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29445 [sysdep_routines]: Remove wordcopy-power6 object.
29446 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29447 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29448 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29449 (__memmove_ppc32): Likewise.
29450 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29451 file.
29452 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29453 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29454 Remove preprocessor.
29455
29456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29457 [sysdep_routines]: Remove wide chars objects.
29458 [wcsmbs]: New rule for wide char objects.
29459
29460 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29461 Remove wordcopy-power6 obejct.
29462 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29463 Use local call for wordcopy and memcpy symbols.
29464 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29465 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29466 implementation for loader.
29467 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29468
29469 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29470 Remove wordcopy-power7 object.
29471 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29472 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29473 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29474 (_wordcopy_fwd_dest_aligned): Likewise.
29475 (_wordcopy_bwd_aligned): Likewise.
29476 (_wordcopy_bwd_dest_aligned): Likewise.
29477
29478 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29479 Rewrite to call __memmove_ppc instead of include default
29480 implementation.
29481
29482 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29483 Remove wide chars objects.
29484 [wcsmbs]: New rule for wide char objects.
29485
29486 2015-02-09 Andreas Schwab <schwab@suse.de>
29487
29488 [BZ #17912]
29489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29490 in terms of __O_DIRECTORY.
29491
29492 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29493
29494 * time/getdate.c: Include <stdbool.h>.
29495 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29496 call PTR_MANGLE.
29497 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29498 PTR_DEMANGLE.
29499
29500 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29501
29502 Add ersatz _Static_assert on older C hosts
29503 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29504 pre-C11 C platform that is not known to support _Static_assert.
29505
29506 2015-02-07 Richard Braun <rbraun@sceen.net>
29507
29508 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29509 sigstate.
29510 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29511
29512 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29513
29514 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29515 priority against unexistent AIO_PRIO_DELTA_MAX.
29516 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29517 instead of int.
29518 * misc/fchflags.c (fchflags): Likewise.
29519 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29520 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29521 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29522 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29523 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29524 Declare macros.
29525 [__USE_MISC] (chflags, fchflags): Declare functions.
29526 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29527 EINVAL when nfds is greater than FD_SETSIZE.
29528 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29529 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29530 45.
29531 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29532 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29533 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29534 MACH_RCV_TIMED_OUT.
29535 * hurd/hurd/signal.h (_hurd_self_sigstate,
29536 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29537 Explicit casts from void *.
29538 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29539 * abi-tags: Rename gnu-gnu os into gnu.
29540
29541 [BZ #4719]
29542 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29543 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29544 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29545 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29546 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29547 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29548
29549 [BZ #17944]
29550 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29551 duplicates ADDR->sun_path with sockaddr LEN limitation.
29552 * sysdeps/mach/hurd/connect.c: Include <string.h>
29553 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29554 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29555 * sysdeps/mach/hurd/sendto.c: Likewise.
29556 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29557 implementing it by hand.
29558
29559 2015-02-06 Roland McGrath <roland@hack.frob.com>
29560
29561 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29562 Use sfi_breg on ldr.
29563 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29564 Likewise.
29565
29566 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29567 it's defined.
29568 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29569 Test SIGSETXID only if it's defined.
29570
29571 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29572
29573 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29574 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29575
29576 * nptl/tst-align2.c: Moved ...
29577 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29578 * nptl/Makefile (tests): Remove tst-align2.
29579 * sysdeps/unix/sysv/linux/Makefile
29580 [$(subdir) = nptl] (tests): Add tst-align-clone.
29581 * nptl/tst-getpid1.c: Moved ...
29582 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29583 * nptl/tst-getpid2.c: Moved ...
29584 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29585 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29586 * sysdeps/unix/sysv/linux/Makefile
29587 [$(subdir) = nptl] (tests): ... here.
29588 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29589 * sysdeps/unix/sysv/linux/Makefile
29590 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29591
29592 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29593 Drop trailing \n from perror argument. Use return rather than exit.
29594
29595 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29596 on [SA_SIGINFO].
29597 * nptl/tst-cancel21.c (do_test): Likewise.
29598 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29599 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29600 [!SA_SIGINFO]: Make it a stub test.
29601
29602 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29603 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29604
29605 * posix/tst-getlogin.c: Move to ...
29606 * login/tst-getlogin.c: ... here.
29607 * posix/Makefile (tests): Move tst-getlogin to ...
29608 * login/Makefile (tests): ... here.
29609
29610 * libio/tst-atime.c (do_test): Move local variables SV and E
29611 inside [ST_NOATIME] conditional.
29612
29613 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29614
29615 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29616
29617 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29618 (wait_code): New function replaces macro.
29619 Call nanosleep rather than syscall.
29620
29621 * nptl/pt-system.c: Rewritten. Put everything under
29622 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29623 Use IFUNC to redirect when possible.
29624
29625 * nptl/pt-longjmp.c: Rewritten. Put everything under
29626 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29627 Use IFUNC to redirect when possible.
29628
29629 * nptl/pt-fork.c: Rewritten. Put everything under
29630 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29631 Use IFUNC to redirect when possible.
29632 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29633
29634 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29635 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29636 unconditionally nowadays. This included the only reference to
29637 __vdso_clock_gettime that appears outside libc proper.
29638 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29639 Remove version set (containing only __vdso_clock_gettime).
29640 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29641 Add attribute_hidden.
29642 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29643 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29644 libc_hidden_data_def.
29645 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29646 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29647
29648 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29649 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29650 setrpcent, and getrpcport to ...
29651 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29652 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29653 getrpcbynumber_r, and getrpcent_r to ...
29654 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29655 * inet/getrpcbyname.c: Moved ...
29656 * sunrpc/getrpcbyname.c: ... here.
29657 * inet/getrpcbyname_r.c: Moved ...
29658 * sunrpc/getrpcbyname_r.c: ... here.
29659 * inet/getrpcbynumber.c: Moved ...
29660 * sunrpc/getrpcbynumber.c: ... here.
29661 * inet/getrpcbynumber_r.c: Moved ...
29662 * sunrpc/getrpcbynumber_r.c: ... here.
29663 * inet/getrpcent.c: Moved ...
29664 * sunrpc/getrpcent.c: ... here.
29665 * inet/getrpcent_r.c: Moved ...
29666 * sunrpc/getrpcent_r.c: ... here.
29667 * inet/Makefile (routines): Move those to ...
29668 * sunrpc/Makefile (routines): ... here.
29669 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29670 the $(subdirs) list.
29671 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29672 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29673 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29674 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29675
29676 * elf/Makefile (routines): Include $(all-dl-routines), not just
29677 $(dl-routines).
29678 (rtld-routines): Likewise. Use = rather than :=.
29679 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29680 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29681 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29682 * sysdeps/arm/Makefile: Likewise.
29683 * sysdeps/i386/Makefile: Likewise.
29684 * sysdeps/x86_64/Makefile: Likewise.
29685 * sysdeps/hppa/Makefile [$(subdir) = elf]
29686 (sysdep_routines, sysdep-rtld-routines): Don't add
29687 $(sysdep-dl-routines) to these.
29688 * sysdeps/ia64/Makefile: Likewise.
29689 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29690 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29691 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29692 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29693 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29694 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29695 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29696 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29697 * sysdeps/powerpc/Makefile [$(subdir) = elf]
29698 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29699 these; sysdep-dl-routines alone is enough.
29700
29701 2015-02-06 Joseph Myers <joseph@codesourcery.com>
29702
29703 [BZ #17932]
29704 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29705 where multiplication results in zero and third argument is finite
29706 and nonzero.
29707 * math/auto-libm-test-in: Add more tests of fma.
29708 * math/auto-libm-test-out: Regenerated.
29709
29710 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29711 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29712 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29713 (_FP_CMP_EQ): Likewise.
29714 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29715
29716 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29717 extra argument CHECK_NAN. Redefine as wrapper around
29718 _FP_EXTEND_CNAN.
29719
29720 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
29721
29722 * version.h (RELEASE): Set to "stable".
29723 (VERSION): Set to "2.21"
29724 * include/features.h (__GLIBC_MINOR__): Set to 21.
29725
29726 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29727
29728 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29729 Paul Eggert <eggert@cs.ucla.edu>
29730
29731 [BZ #16618]
29732 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29733 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29734 size in bytes. Store needed elements in wpmax. Use needed size
29735 in bytes for extend_alloca.
29736
29737 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
29738
29739 * manual/install.texi: Latest tested versions are GCC 4.9.2,
29740 binutls 2.25, and texinfo 5.2.
29741 * INSTALL: Regenerate.
29742 * sysdeps/nios2/configure: Regenerate.
29743 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29744 * manual/contrib.texi: Update.
29745 * po/be.po: Update.
29746 * po/bg.po: Update.
29747 * po/ca.po: Update.
29748 * po/cs.po: Update.
29749 * po/da.po: Update.
29750 * po/de.po: Update.
29751 * po/el.po: Update.
29752 * po/eo.po: Update.
29753 * po/es.po: Update.
29754 * po/fi.po: Update.
29755 * po/fr.po: Update.
29756 * po/gl.po: Update.
29757 * po/hr.po: Update.
29758 * po/hu.po: Update.
29759 * po/ia.po: Update.
29760 * po/id.po: Update.
29761 * po/it.po: Update.
29762 * po/ja.po: Update.
29763 * po/ko.po: Update.
29764 * po/lt.po: Update.
29765 * po/nb.po: Update.
29766 * po/nl.po: Update.
29767 * po/pl.po: Update.
29768 * po/pt_BR.po: Update.
29769 * po/ru.po: Update.
29770 * po/rw.po: Update.
29771 * po/sk.po: Update.
29772 * po/sl.po: Update.
29773 * po/sv.po: Update.
29774 * po/tr.po: Update.
29775 * po/uk.po: Update.
29776 * po/vi.po: Update.
29777 * po/zh_CN.po: Update.
29778 * po/zh_TW.po: Update.
29779
29780 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29781 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29782 * sysdeps/hppa/dl-irel.h: Remove #warning.
29783 * sysdeps/hppa/entry.h: Provide prototype for
29784 __canonicalize_funcptr_for_compare and cast argument.
29785 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29786 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29787 * sysdeps/hppa/sotruss-lib.c: New file.
29788 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29789 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29790 (atomic_compare_and_exchange_bool_acq): Likewise.
29791 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29792 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29793
29794 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29795 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29796 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29797
29798 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29799
29800 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29801 called function in non-PIC case.
29802
29803 2015-01-31 David S. Miller <davem@davemloft.net>
29804
29805 * sysdeps/sparc/sparc32/bits/atomic.h
29806 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29807 unlock not after it.
29808 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29809 volatile register usage warnings from the compiler.
29810
29811 * sysdeps/sparc/nptl/sem_init.c: Delete.
29812 * sysdeps/sparc/nptl/sem_post.c: Delete.
29813 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29814 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29815 * sysdeps/sparc/sparc32/sem_init.c: New file.
29816 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29817 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29818 padding explicitly initialized.
29819 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29820 padding for in-semaphore spinlock.
29821 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29822 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29823 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29824 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29825 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29826 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29827 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29828 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29829 version.
29830 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29831 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29832
29833 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29834
29835 [BZ #17801]
29836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29837 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29838 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29839 New.
29840 (index_AVX_Fast_Unaligned_Load): Likewise.
29841 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29842 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29843 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29844 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29845 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29846 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29847 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29848 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29849 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29850
29851 2015-01-29 Andreas Schwab <schwab@suse.de>
29852
29853 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29854
29855 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29856
29857 [BZ #17892]
29858 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29859
29860 2015-01-28 Martin Sebor <msebor@redhat.com>
29861
29862 * math/README.libm-test: Clarify. Add "How to read the test output."
29863
29864 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29865
29866 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29867 Define to 0.
29868
29869 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29870
29871 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29872 (__HAVE_64B_ATOMICS): Define to 0.
29873
29874 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29875
29876 [BZ #17885]
29877 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29878 value to set as new flag.
29879
29880 [BZ #16576]
29881 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29882 and use _ARCH_PPCSQ instead.
29883 (__ieee754_sqrt): Likewise.
29884 (__ieee754_sqrtf): Likewise.
29885 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29886 _ARCH_PPCSQ is defined.
29887 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29888 fsqrt instruction.
29889 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29890 _ARCH_PPCSQ is defined.
29891 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29892 fsqrts instruction.
29893 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29894
29895 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29896
29897 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29898 bug (GCC BZ #64739).
29899
29900 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29901
29902 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29903 Mark _retval as used.
29904 (lll_futex_wake_unlock): Likewise.
29905 (lll_futex_timed_wait_requeue_pi): Likewise.
29906
29907 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29908 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29909 register variables.
29910
29911 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29912 libm_hidden_def.
29913
29914 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29915 (__bswap_64): Mark as __always_inline.
29916
29917 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29918
29919 [BZ #15378]
29920 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29921 when none of the search directories exist.
29922
29923 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29924
29925 [BZ #17869]
29926 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29927 power8 in .machine directive.
29928
29929 [BZ #17868]
29930 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29931 set dependency from opd value.
29932
29933 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29934
29935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29936 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29937 architecture.
29938
29939 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29940
29941 [BZ #17870]
29942 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29943 with uint64_t.
29944 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29945 (uint64_t) 1.
29946 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29947 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29948 Replace 1UL with (uint64_t) 1.
29949 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29950 int with uint64_t.
29951
29952 2015-01-23 Roland McGrath <roland@hack.frob.com>
29953
29954 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29955 (if_freenameindex): Likewise.
29956
29957 * resource/getrlimit64.c: Add missing libc_hidden_def.
29958
29959 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29960
29961 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29962 __label__.
29963 (_FP_FMA): Likewise.
29964 (_FP_TO_INT_ROUND): Likewise.
29965 (_FP_FROM_INT): Likewise.
29966
29967 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29968
29969 [BZ #16418]
29970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29971 Make code racy and cancel safe.
29972
29973 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29974
29975 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29976 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29977 attribution.
29978
29979 * pwd/tst-getpw.c: Rewrite.
29980
29981 [BZ #17702]
29982 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29983 (modules-names): Add moddummy1 and moddummy2.
29984 ($(objpfx)tst-rec-dlopen): Define.
29985 * dlfcn/moddummy1.c: New file.
29986 * dlfcn/moddummy2.c: New file.
29987 * dlfcn/tst-rec-dlopen.c: New file.
29988 * elf/dl-cache.c (_dl_load_cache_lookup):
29989 Return char*. Copy result with alloca/strcpy/strdup.
29990 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29991 returns char*. Free cached. If not saving realname
29992 free cached.
29993 * elf/dl-open.c (dl_open_worker): Do not assert that
29994 _r_debug->r_state is RT_CONSISTENT.
29995 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29996 returns char*.
29997
29998 2015-01-21 Torvald Riegel <triegel@redhat.com>
29999 Carlos O'Donell <carlos@redhat.com>
30000
30001 [BZ #12674]
30002 * nptl/sem_waitcommon.c: New file.
30003 * nptl/sem_wait.c: Include sem_waitcommon.c.
30004 (__sem_wait_cleanup, do_futex_wait): Remove.
30005 (__new_sem_wait): Adapt.
30006 (__new_sem_trywait): New function.
30007 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30008 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30009 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30010 (sem_timedwait): Adapt.
30011 * nptl/sem_post.c (__new_sem_post): Adapt.
30012 (futex_wake): New function.
30013 (__old_sem_post): Add release MO fence.
30014 * nptl/sem_open.c (sem_open): Adapt.
30015 * nptl/sem_init.c (__new_sem_init): Adapt.
30016 (futex_private_if_supported): New function.
30017 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30018 (__old_sem_getvalue): Add using previous code.
30019 * sysdeps/nptl/internaltypes.h: Adapt.
30020 * nptl/tst-sem13.c (do_test): Adapt.
30021 * nptl/tst-sem11.c (main): Adapt.
30022 * nptl/sem_trywait.c: Remove.
30023 * nptl/DESIGN-sem.txt: Remove.
30024 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30025 (gen-as-const-headers): Remove structsem.sym.
30026 * nptl/structsem.sym: Remove.
30027 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30028 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30029 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30030 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30031 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30032 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30033 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30034 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30035 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30036 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30037 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30038 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30039 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30040 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30041 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30042 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30043 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30044 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30045 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30046 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30047 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30048 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30049
30050 2015-01-20 Carlos O'Donell <carlos@redhat.com>
30051
30052 * INSTALL: Regenerated.
30053
30054 * po/libc.pot: Regenerated.
30055
30056 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
30057 Sandra Loosemore <sandra@codesourcery.com>
30058 Andrew Jenner <andrew@codesourcery.com>
30059 Joseph Myers <joseph@codesourcery.com>
30060 Nathan Sidwell <nathan@codesourcery.com>
30061
30062 * NEWS: Mention new Nios II port.
30063 * sysdeps/nios2/Implies: New file.
30064 * sysdeps/nios2/Makefile: New file.
30065 * sysdeps/nios2/Subdirs: New file.
30066 * sysdeps/nios2/Versions: New file.
30067 * sysdeps/nios2/__longjmp.S: New file.
30068 * sysdeps/nios2/abort-instr.h: New file.
30069 * sysdeps/nios2/backtrace.c: New file.
30070 * sysdeps/nios2/bits/endian.h: New file.
30071 * sysdeps/nios2/bits/fenv.h: New file.
30072 * sysdeps/nios2/bits/link.h: New file.
30073 * sysdeps/nios2/bits/setjmp.h: New file.
30074 * sysdeps/nios2/bsd-_setjmp.S: New file.
30075 * sysdeps/nios2/bsd-setjmp.S: New file.
30076 * sysdeps/nios2/configure: New generated file.
30077 * sysdeps/nios2/configure.ac: New file.
30078 * sysdeps/nios2/crti.S: New file.
30079 * sysdeps/nios2/crtn.S: New file.
30080 * sysdeps/nios2/dl-init.c: New file.
30081 * sysdeps/nios2/dl-machine.h: New file.
30082 * sysdeps/nios2/dl-sysdep.h: New file.
30083 * sysdeps/nios2/dl-tls.h: New file.
30084 * sysdeps/nios2/dl-trampoline.S: New file.
30085 * sysdeps/nios2/gccframe.h: New file.
30086 * sysdeps/nios2/gmp-mparam.h: New file.
30087 * sysdeps/nios2/jmpbuf-offsets.h: New file.
30088 * sysdeps/nios2/jmpbuf-unwind.h: New file.
30089 * sysdeps/nios2/ldsodefs.h: New file.
30090 * sysdeps/nios2/libc-tls.c: New file.
30091 * sysdeps/nios2/libm-test-ulps: New file.
30092 * sysdeps/nios2/machine-gmon.h: New file.
30093 * sysdeps/nios2/math-tests.h: New file.
30094 * sysdeps/nios2/math_private.h: New file.
30095 * sysdeps/nios2/memusage.h: New file.
30096 * sysdeps/nios2/nptl/Makefile: New file.
30097 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30098 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30099 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30100 * sysdeps/nios2/nptl/pthreaddef.h: New file.
30101 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30102 * sysdeps/nios2/nptl/tls.h: New file.
30103 * sysdeps/nios2/preconfigure: New file.
30104 * sysdeps/nios2/s_fma.c: New file.
30105 * sysdeps/nios2/s_fmaf.c: New file.
30106 * sysdeps/nios2/setjmp.S: New file.
30107 * sysdeps/nios2/sfp-machine.h: New file.
30108 * sysdeps/nios2/sotruss-lib.c: New file.
30109 * sysdeps/nios2/stackguard-macros.h: New file.
30110 * sysdeps/nios2/stackinfo.h: New file.
30111 * sysdeps/nios2/start.S: New file.
30112 * sysdeps/nios2/sysdep.h: New file.
30113 * sysdeps/nios2/tls-macros.h: New file.
30114 * sysdeps/nios2/tst-audit.h: New file.
30115 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30116 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30117 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30118 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30119 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30120 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30121 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30122 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30123 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30124 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30125 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30126 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30127 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30128 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30129 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30130 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30131 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30132 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30133 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30134 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30135 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30136 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30137 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30138 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30139 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30140 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30141 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30142 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30143 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30144 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30145 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30146 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30147 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30148 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30149 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30150 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30151 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30152 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30153 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30154 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30155 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30156 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30157 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30158 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30159
30160 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30161
30162 [BZ #17844]
30163 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30164 (getutent): Use weak_alias in non SHARED case
30165 and default_symbol_version in SHARED case.
30166 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30167 (getutent_r, pututline): Likewise.
30168 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30169 (getutid): Likewise.
30170 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30171 (getutid_r): Likewise.
30172 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30173 (getutline): Likewise.
30174 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30175 (getutline_r): Likewise.
30176 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30177 (updwtmp): Likewise.
30178
30179 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30180
30181 [BZ #17848]
30182 * sysdeps/s390/s390-32/memcmp.S
30183 (memcmp_g5): Rename to __memcmp_g5.
30184 * sysdeps/s390/s390-32/memcpy.S
30185 (memcpy_g5): Rename to __memcpy_g5.
30186 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30187 (memcpy_mvcle) Rename to __memcpy_mvcle.
30188 * sysdeps/s390/s390-32/memset.S
30189 (memset_g5): Rename to __memset_g5.
30190 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30191 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30192 and use prefixed functions.
30193 * sysdeps/s390/s390-32/multiarch/memcmp.S
30194 (memcmp_z196): Rename to __memcmp_z196.
30195 (memcmp_z10): Rename to __memcmp_z10.
30196 (memcmp): Set alias to __memcmp_g5.
30197 (bcmp): Set alias to __memcmp_g5.
30198 * sysdeps/s390/s390-32/multiarch/memcpy.S
30199 (memcpy_z196): Rename to __memcpy_z196.
30200 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30201 (memcpy_z10): Rename to __memcpy_z10.
30202 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30203 (memcpy): Set alias to __memcpy_g5.
30204 * sysdeps/s390/s390-32/multiarch/memset.S
30205 (memset_z196): Rename to __memset_z196.
30206 Jump to __memset_mvcle instead of memset_mvcle.
30207 (memset_z10): Rename to __memset_z10.
30208 Jump to __memset_mvcle instead of memset_mvcle.
30209 (memset_mvcle) Rename to __memset_mvcle.
30210 (memset): Set alias to __memset_g5.
30211 * sysdeps/s390/s390-64/memcmp.S
30212 (memcmp_z900): Rename to __memcmp_z900.
30213 * sysdeps/s390/s390-64/memcpy.S
30214 (memcpy_z900): Rename to __memcpy_z900.
30215 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30216 (memcpy_mvcle) Rename to __memcpy_mvcle.
30217 * sysdeps/s390/s390-64/memset.S
30218 (memset_z900): Rename to __memset_z900.
30219 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30220 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30221 and use prefixed functions.
30222 * sysdeps/s390/s390-64/multiarch/memcmp.S
30223 (memcmp_z196): Rename to __memcmp_z196.
30224 (memcmp_z10): Rename to __memcmp_z10.
30225 (memcmp): Set alias to __memcmp_z900.
30226 (bcmp): Set alias to __memcmp_z900.
30227 * sysdeps/s390/s390-64/multiarch/memcpy.S
30228 (memcpy_z196): Rename to __memcpy_z196.
30229 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30230 (memcpy_z10): Rename to __memcpy_z10.
30231 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30232 (memcpy): Set alias to __memcpy_z900.
30233 * sysdeps/s390/s390-64/multiarch/memset.S
30234 (memset_z196): Rename to __memset_z196.
30235 Jump to __memset_mvcle instead of memset_mvcle.
30236 (memset_z10): Rename to __memset_z10.
30237 Jump to __memset_mvcle instead of memset_mvcle.
30238 (memset_mvcle) Rename to __memset_mvcle.
30239 (memset): Set alias to __memset_z900.
30240
30241 2015-01-14 Joseph Myers <joseph@codesourcery.com>
30242
30243 [BZ #17748]
30244 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30245 __fesetenv instead of fesetenv.
30246
30247 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30248
30249 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30250 macro.
30251
30252 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30253
30254 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30255 regression on LE.
30256
30257 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30258 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30259 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30260 strncmp-power8 object.
30261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30262 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30263 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30264 * NEWS: Update.
30265
30266 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30267 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30268
30269 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30270 trailing byte check.
30271
30272 2015-01-13 David S. Miller <davem@davemloft.net>
30273
30274 * include/signal.h (__sigreturn): Guard with __USE_MISC.
30275
30276 2015-01-13 Roland McGrath <roland@hack.frob.com>
30277
30278 * login/logout.c (logout): Use memset rather than bzero.
30279 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30280 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30281 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30282 (_gethtbyaddr): Likewise.
30283 * locale/programs/simple-hash.c (bcopy): Macro removed.
30284
30285 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30286
30287 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30288 Add strcmp-power8 object.
30289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30290 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30291 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30292 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30293 __strcmp_power8 implementation.
30294 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30295 * NEWS: Update.
30296
30297 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30298 Add strncpy-power8 and stpncpy-power8 objects.
30299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30300 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30301 implementations.
30302 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30303 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30304 __stpncpy_power8 implementation.
30305 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30306 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30307 __strncpy_power8 implementation.
30308 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30309 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30310 * NEWS: Update.
30311
30312 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30313 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30314 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30315
30316 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30317 strncat-power8 object.
30318 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30319 __strcat_power8 implementation.
30320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30321 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30322 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30323 optimized strcat for power8.
30324
30325 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30326 strcpy-power8 and stpcpy-power8 objects.
30327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30328 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30329 implementations.
30330 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30331 multiarch stpcpy implementation for POWER8.
30332 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30333 multiarch strcpy implementation for POWER8.
30334 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30335 __strcpy_power8 function.
30336 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30337 stpcpy for POWER8.
30338 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30339 strcpy for POWER8.
30340 * NEWS: Update.
30341
30342 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30343
30344 [BZ #16009]
30345 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30346 weights and rules. Use do_xfrm_cached if data fits in cache,
30347 do_xfrm otherwise. Moved former main loop to...
30348 * (do_xfrm_cached): New function.
30349 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30350 find_idx, find_position and stack_push.
30351 * (find_idx): New function.
30352 * (find_position): Likewise.
30353 * localedata/sort-test.sh: Added test run for do_xfrm.
30354 * localedata/xfrm-test.c (main): Added command line option
30355 -nocache to run the test with strings that are too large for
30356 the STRXFRM cache.
30357
30358 2015-01-13 Torvald Riegel <triegel@redhat.com>
30359
30360 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30361 variable to lll_futex_wake call, not the value itself.
30362
30363 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30364
30365 [BZ #17803]
30366 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30367 twom64. Adjust value to 0x1p-64L.
30368 (__scalblnl): Only return standard underflowing result for K <=
30369 -64 not K <= -63; adjust exponent for underflowing result by 64
30370 not 63.
30371 * math/libm-test.inc (scalbn_test_data): Add more tests.
30372 (scalbln_test_data): Likewise.
30373
30374 [BZ #17834]
30375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30376 0x1p63L.
30377 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30378 not HX.
30379 * math/libm-test.inc (scalbn_test_data): Add more tests.
30380 (scalbln_test_data): Likewise.
30381
30382 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30383 Stefani Seibold <stefani@seibold.net>
30384
30385 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30386 (sysdep_routines): Add dl-vdso here, ...
30387 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30388 (sysdep_routines): ... not here.
30389 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30390 fallback when vDSO is not presented.
30391 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30392 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30393 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30394 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30395 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30396 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30397 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30399 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30401 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30402 fallback configurable symbol when vDSO is not available.
30403 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30404 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30405 be able to redefine fallback symbol when vDSO is not available.
30406 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30407 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30408
30409 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30410
30411 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30412 (TLS_INIT_TP): Add tm_capable initialization.
30413 (TLS_DEFINE_INIT_TP): Likewise.
30414 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30415 TCB.
30416 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30417 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30418 calculation.
30419 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30420 transactoion is lock elision is built and TCB tm_capable is set.
30421 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30423 (INTERNAL_SYSCALL_NCS): Likewise.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30425 (INTERNAL_SYSCALL_NCS): Likewise.
30426 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30427
30428 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30429 for powerpc.
30430 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30431 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30432 and remove it for 32 bits case.
30433 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30435 initialization.
30436 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30437 Disable lock elision with rdlocks if elision is not available.
30438
30439 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30440 (sysdep_routines): Add lock elision objects.
30441 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30442 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30443 [pthread_mutex_t] (__elision): Add field.
30444 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30445 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30446 elision definitions for powerpc.
30447 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30448 implementation of lock elision for powerpc.
30449 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30450 implementation of timed lock elision for powerpc.
30451 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30452 implementation of trylock with lock elision for powerpc.
30453 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30454 implementaion of unlock for lock elision for powerpc.
30455 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30456 automatic enable lock elision for mutexes.
30457 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30458 transaction execution definitions for powerpc.
30459 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30460 definitions.
30461 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30462 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30463 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30464 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30465 * NEWS: Update.
30466
30467 2015-01-09 Roland McGrath <roland@hack.frob.com>
30468
30469 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30470 for #include of <shm-directory.h>.
30471
30472 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30473
30474 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30475 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30476
30477 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30478
30479 [BZ #17791]
30480 * NEWS: Mention bug fix.
30481 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30482 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30483 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30484
30485 2015-01-09 Torvald Riegel <triegel@redhat.com>
30486
30487 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30488
30489 2015-01-09 Torvald Riegel <triegel@redhat.com>
30490
30491 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30492
30493 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30494
30495 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30496 pointer and cast to uintptr_t.
30497
30498 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30499
30500 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30501 removed.
30502 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30503
30504 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30505
30506 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30507 of 0.
30508
30509 2015-01-08 Roland McGrath <roland@hack.frob.com>
30510
30511 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30512 <nptl/pthreadP.h> instead.
30513 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30514
30515 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30516 already defined.
30517 [__SIGRTMIN] (init): Function removed.
30518 [__SIGRTMIN] (initialized): Variable removed.
30519 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30520 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30521 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30522 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30523 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30524 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30525 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30526 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30527 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30528 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30529 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30530 * sysdeps/nptl/allocrtsig.c: New file.
30531 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30532 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30533 * sysdeps/generic/testrtsig.h: File removed.
30534
30535 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30536 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30537
30538 * nptl/nptl-init.c (pthread_functions): Conditionalize
30539 .ptr__nptl_setxid initialization on [SIGSETXID].
30540
30541 * sysdeps/nptl/sys/procfs.h: New file.
30542 * nptl_db/Makefile (headers): Add it.
30543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30544
30545 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30546 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30547 * nptl/pthread_attr_setaffinity.c: Include it.
30548 * nptl/pthread_setattr_default_np.c: Likewise.
30549 * nptl/check-cpuset.h: New file.
30550
30551 2015-01-08 Richard Henderson <rth@redhat.com>
30552
30553 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30554 (CFLAGS-tst-execstack-prog.c): Likewise.
30555 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30556
30557 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30558 Sandra Loosemore <sandra@codesourcery.com>
30559 Andrew Jenner <andrew@codesourcery.com>
30560 Joseph Myers <joseph@codesourcery.com>
30561 Nathan Sidwell <nathan@codesourcery.com>
30562
30563 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30564 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30565 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30566 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30567 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30568 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30569 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30570 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30571 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30572 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30573 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30574 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30575 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30576 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30577 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30578 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30579 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30580
30581 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30582
30583 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30584 timespec struct member in syscall macro.
30585 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30586 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30587 first timeval struct member in syscall macro.
30588 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30589
30590 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30591
30592 [BZ #17748]
30593 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30594 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30595 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30596 __feupdateenv and define as weak alias of __feupdateenv. Use
30597 libm_hidden_weak.
30598 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30599 libm_hidden_def.
30600 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30601 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30602 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30603 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30604 libm_hidden_def.
30605 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30606 __feupdateenv and define as weak alias of __feupdateenv. Use
30607 libm_hidden_weak.
30608 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30609 libm_hidden_def.
30610 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30611 __feupdateenv and define as weak alias of __feupdateenv. Use
30612 libm_hidden_weak.
30613 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30614 libm_hidden_def.
30615 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30616 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30617 (__feupdateenv): Likewise.
30618 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30619 __feupdateenv and define as weak alias of __feupdateenv. Use
30620 libm_hidden_weak.
30621 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30622 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30623 libm_hidden_def.
30624 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30625 function.
30626 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30627 libm_hidden_def.
30628 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30629 __feupdateenv instead of feupdateenv.
30630 (default_libc_feupdateenv_test): Likewise.
30631 (libc_feresetround_ctx): Likewise.
30632
30633 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30634
30635 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30636 prototype.
30637
30638 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30639
30640 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30641 COLL_SYM in a couple of places to avoid uninitialized variable
30642 wanings on tilegx gcc 4.8.2.
30643
30644 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30645
30646 * sysdeps/aarch64/strcpy.S: New file.
30647 * sysdeps/aarch64/stpcpy.S: New file.
30648 * NEWS: Updated.
30649
30650 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30651
30652 * sysdeps/aarch64/strrchr.S: New file.
30653 * NEWS: Updated.
30654
30655 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30656
30657 [BZ #17658]
30658 * stdlib/setenv.c: Fix memory leak when setting large,
30659 duplicate string.
30660
30661 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30662
30663 [BZ #17273]
30664 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30665 and tabs from buffer before parsing fstab entry.
30666 * misc/tst-mntent.c (main): Add test for mount entry with
30667 trailing spaces and tabs.
30668
30669 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30670
30671 [BZ #17748]
30672 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30673 * math/fesetround.c (fesetround): Rename to __fesetround and
30674 define as weak alias of __fesetround. Use libm_hidden_weak.
30675 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30676 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30677 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30678 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30679 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30680 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30681 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30682 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30683 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30684 __fesetround_inline.
30685 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30686 __fesetround_inline instead of __fesetround.
30687 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30688 __fesetround and define as weak alias of __fesetround. Use
30689 libm_hidden_weak. Call __fesetround_inline instead of
30690 __fesetround.
30691 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30692 __fesetround and define as weak alias of __fesetround. Use
30693 libm_hidden_weak.
30694 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30695 Likewise.
30696 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30697 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30698 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30699 * sysdeps/tile/math_private.h (__fesetround): New inline function.
30700 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30701 __fesetround and define as weak alias of __fesetround. Use
30702 libm_hidden_weak.
30703 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30704 __fesetround instead of fesetround.
30705 (default_libc_feholdexcept_setround): Likewise.
30706 (libc_feholdsetround_ctx): Likewise.
30707 (libc_feholdsetround_noex_ctx): Likewise.
30708
30709 [BZ #17748]
30710 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30711 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30712 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30713 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30714 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30715 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30716 define as weak alias of __fesetenv. Use libm_hidden_weak.
30717 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30718 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30719 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30720 define as weak alias of __fesetenv. Use libm_hidden_weak.
30721 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30722 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30723 define as weak alias of __fesetenv. Use libm_hidden_weak.
30724 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30725 libm_hidden_def.
30726 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30727 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30728 Likewise.
30729 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30730 define as weak alias of __fesetenv. Use libm_hidden_weak.
30731 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30732 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30733 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30734 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30735 and define as weak alias of __fesetenv. Use libm_hidden_weak.
30736 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30737 __fesetenv instead of fesetenv.
30738 (libc_feresetround_noex_ctx): Likewise.
30739 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30740 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30741 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30742 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30743 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30744 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30745 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30746 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30747 (__feupdateenv): Likewise.
30748 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30749 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30750 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30751 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30752
30753 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30754
30755 [BZ #17806]
30756 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30757 addresses have been freed.
30758
30759 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30760
30761 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30762 and nservall.
30763
30764 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30765
30766 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30767 Clean up check_pf allocation pattern. addresses
30768
30769 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30770
30771 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30772 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30773 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30774 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30775 * nptl/pthread_join.c (pthread_join): Likewise.
30776 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30777 * sysdeps/posix/waitid.c (__waitid): Likewise.
30778 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30779 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30780 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30781 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30782 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30783 Likewise.
30784 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30785 (__libc_pread64): Likewise.
30786 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30787 (__libc_pwrite): Likewise.
30788 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30789 (__libc_pwrite64): Likewsie.
30790 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30791 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30792 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30793 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30794 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30795 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30796 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30798 Likewise.
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30800 (__libc_pread64): Likewise.
30801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30802 Likewise.
30803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30804 (__libc_pwrite64): Likewise.
30805 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30806 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30807 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30808 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30809 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30810 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30811 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30812 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30813 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30814 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30815 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30816 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30817 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30818 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30819 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30820 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30821 Likewise.
30822
30823 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30824
30825 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30826 (CFLAGS-test-double.c): Likewise.
30827 (CFLAGS-test-ldouble.c): Likewise.
30828 (CPPFLAGS-test-ifloat.c): Likewise.
30829 (CPPFLAGS-test-idouble.c): Likewise.
30830 (CPPFLAGS-test-ildoubl.c): Likewise.
30831 (CFLAGS-test-test-fenv.c): Remove variable.
30832 (CFLAGS-test-misc.c): Likewise.
30833
30834 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30835
30836 [BZ #17797]
30837 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30838 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30839 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30840 CLOCKS_PER_SEC == 1000000.
30841 * time/clocktest.c (main): Replace %ld with %jd and cast to
30842 intmax_t.
30843
30844 2015-01-05 Roland McGrath <roland@hack.frob.com>
30845
30846 * sysdeps/generic/unwind-resume.h: New file.
30847 * sysdeps/gnu/unwind-resume.c: Include it.
30848 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30849 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30850 argument list.
30851 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30852 global rather than static.
30853 (_Unwind_Resume): Update user.
30854 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30855 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30856 rather than static. Add __attribute__ ((cold)).
30857 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30858 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30859 * sysdeps/arm/arm-unwind-resume.S: New file.
30860 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30861 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30862 * sysdeps/arm/Makefile [$(subdir) = csu]
30863 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30864 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30865 Add rt-arm-unwind-resume.
30866 [$(subdir) = nptl]
30867 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30868 Add pt-arm-unwind-resume.
30869 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30870 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30871
30872 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30873
30874 [BZ #17748]
30875 * include/fenv.h (__feholdexcept): Declare. Use
30876 libm_hidden_proto.
30877 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30878 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30879 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30880 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30881 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30882 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30883 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30884 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30885 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30886 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30887 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30888 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30889 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30890 (feholdexcept): Likewise.
30891 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30892 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30893 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30894 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30895 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30896 __feholdexcept instead of feholdexcept.
30897 (default_libc_feholdexcept_setround): Likewise.
30898
30899 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30900
30901 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30902 to avoid using stl/str to align destination.
30903
30904 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30905
30906 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30907
30908 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30909
30910 [BZ #17796]
30911 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30912 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30913 Define as weak alias not strong alias.
30914
30915 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30916
30917 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30918 bltzal with addiupc.
30919 (RTLD_START): Ditto.
30920
30921 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30922
30923 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30924 for __vdso_* functions in declarations.
30925 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30926 definitions.
30927 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30928 INTERNAL_VSYSCALL): Use struct return types to check for error.
30929
30930 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30931 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30932 function with cast from llround().
30933 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30934 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30935 Define.
30936
30937 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30938
30939 [BZ #17793]
30940 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30941 Define as weak alias not strong alias.
30942
30943 [BZ #17635]
30944 * ctype/ctype-c99.c: New file. isblank implementation moved from
30945 ...
30946 * ctype/ctype-extn.c: ... here.
30947 (__isblank_l): Move to ...
30948 * ctype/ctype-c99_l.c: ... here. New file.
30949 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30950 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30951 Remove variable.
30952 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30953 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30954 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30955 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30956 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30957
30958 [BZ #17777]
30959 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30960 (posix_fadvise64): Define as weak alias not strong alias.
30961 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30962 (posix_fallocate64): Likewise.
30963 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30964 Remove variable.
30965 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30966 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30967 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30968 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30969 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30970
30971 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30972
30973 [BZ #16191]
30974 * NEWS: Mention bug fix.
30975 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30976 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30977 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30978 (HOST_STACK_END_ADDR): Likewise.
30979
30980 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30981
30982 [BZ #17748]
30983 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30984 * math/fegetround.c (fegetround): Rename to __fegetround and
30985 define as weak alias of __fegetround. Use libm_hidden_weak.
30986 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30987 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30988 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30989 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30990 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30991 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30992 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30993 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30994 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30995 Undefine after rather than before function definition; use
30996 parentheses around function name in definition.
30997 (__fegetround): Also undefine macro after function definition.
30998 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30999 __fegetround and define as weak alias of __fegetround. Use
31000 libm_hidden_weak. Do not undefine as macro.
31001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31002 Likewise.
31003 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31004 __fegetround and define as weak alias of __fegetround. Use
31005 libm_hidden_weak.
31006 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31007 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31008 * sysdeps/tile/math_private.h (__fegetround): New inline function.
31009 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31010 __fegetround and define as weak alias of __fegetround. Use
31011 libm_hidden_weak.
31012 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31013 __fegetround instead of fegetround.
31014
31015 [BZ #17782]
31016 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31017 Condition macro definition on [__USE_MISC].
31018
31019 [BZ #17781]
31020 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31021 (struct sigaction): Change type of sa_flags field to int.
31022
31023 [BZ #17780]
31024 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31025 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31026 __glibc_reserved0.
31027
31028 * nptl/version.c (banner): Use single year in copyright notice.
31029
31030 * NEWS: Update copyright dates.
31031 * catgets/gencat.c (print_version): Likewise.
31032 * csu/version.c (banner): Likewise.
31033 * debug/catchsegv.sh: Likewise.
31034 * debug/pcprofiledump.c (print_version): Likewise.
31035 * debug/xtrace.sh (do_version): Likewise.
31036 * elf/ldconfig.c (print_version): Likewise.
31037 * elf/ldd.bash.in: Likewise.
31038 * elf/pldd.c (print_version): Likewise.
31039 * elf/sotruss.sh: Likewise.
31040 * elf/sprof.c (print_version): Likewise.
31041 * iconv/iconv_prog.c (print_version): Likewise.
31042 * iconv/iconvconfig.c (print_version): Likewise.
31043 * locale/programs/locale.c (print_version): Likewise.
31044 * locale/programs/localedef.c (print_version): Likewise.
31045 * login/programs/pt_chown.c (print_version): Likewise.
31046 * malloc/memusage.sh (do_version): Likewise.
31047 * malloc/memusagestat.c (print_version): Likewise.
31048 * malloc/mtrace.pl: Likewise.
31049 * manual/libc.texinfo: Likewise.
31050 * nptl/version.c (banner): Likewise.
31051 * nscd/nscd.c (print_version): Likewise.
31052 * nss/getent.c (print_version): Likewise.
31053 * nss/makedb.c (print_version): Likewise.
31054 * posix/getconf.c (main): Likewise.
31055 * scripts/test-installation.pl: Likewise.
31056 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31057
31058 2015-01-02 Will Newton <will.newton@linaro.org>
31059
31060 * sysdeps/arm/armv7/configure: Removed.
31061 * sysdeps/arm/armv7/configure.ac: Likewise.
31062
31063 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31064
31065 * All files with FSF copyright notices: Update copyright dates
31066 using scripts/update-copyrights.
31067 * intl/plural.c: Regenerated.
31068 * locale/programs/charmap-kw.h: Likewise.
31069 * locale/programs/locfile-kw.h: Likewise.
31070
31071 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31072
31073 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31074
31075 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31076
31077 [BZ #17748]
31078 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31079 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31080 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31081 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31082 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31083 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31084 define as weak alias of __fegetenv. Use libm_hidden_weak.
31085 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31086 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31087 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31088 define as weak alias of __fegetenv. Use libm_hidden_weak.
31089 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31090 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31091 define as weak alias of __fegetenv. Use libm_hidden_weak.
31092 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31093 libm_hidden_def.
31094 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31095 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31096 Likewise.
31097 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31098 define as weak alias of __fegetenv. Use libm_hidden_weak.
31099 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31100 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31101 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31102 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31103 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31104 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31105 __fegetenv instead of fegetenv.
31106 (libc_feholdsetround_noex_ctx): Likewise.
31107
31108 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
31109
31110 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31111 (Elf_MIPS_ABIFlags_v0): New structure.
31112 (EF_MIPS_FP64): Define.
31113 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31114 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31115 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31116 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31117 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31118 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31119 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31120 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31121 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31122 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31123 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31124 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31125 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31126 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31127 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31128 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31129 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31130 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31131 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31132 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31133 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31134 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31135 field.
31136 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31137 EF_MIPS_FP64.
31138 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31139 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31140 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31141 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31142 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31143 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31144 * sysdeps/mips/tst-abi-interlink.c: Likewise.
31145 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31146 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31147 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31148 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31149 record the current FP ABI extension.
31150 (mips-mode-switch): Define to show if kernel headers support mode
31151 switching.
31152 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31153 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31154 supported SYSV ABI version to 3.
31155 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31156 feature.
31157
31158 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31159 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31160
31161 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31162 path.
31163 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31164
31165 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31166
31167 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31168 __fegetround and redefine to call __fegetround. Remove condition
31169 on [!__NO_MATH_INLINES].
31170 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31171 function.
31172 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31173 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31174 Remove macro.
31175 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31176 instead of <fenv_libc.h>.
31177 (__llrintl): Call fegetround instead of __fegetround.
31178 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31179 instead of <fenv_libc.h>.
31180 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31181 (__lrintl): Call fegetround instead of __fegetround.
31182 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31183 instead of <fenv_libc.h>.
31184 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31185 (__rintl): Call fegetround instead of __fegetround.
31186
31187 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31188
31189 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31190 arrays.
31191
31192 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31193
31194 [BZ #17775]
31195 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31196 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31197 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31198
31199 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31200
31201 * sysdeps/i386/tls-macros.h: Include <features.h>.
31202 (TLS_LE): Use non-PIC version for GCC >= 5.0.
31203 (TLS_IE): Likewise.
31204 (TLS_LD): Likewise.
31205 (TLS_GD): Likewise.
31206 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31207 define for GCC >= 5.0.
31208
31209 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
31210
31211 * math/test-fenv.c (test_single_exception, set_single_exc,
31212 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31213 feexcp_mask_test, feenable_test, fe_single_test): Add
31214 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31215 case where they are not used.
31216 * math/libm-test.inc: Likewise.
31217 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31218 unused in the absence of FP rounding/exception support.
31219 * stdio-common/tst-printf-round.c: Likewise.
31220 * stdlib/tst-strtod-round.c: Likewise.
31221 * stdlib/tst-strtod-underflow.c: Likewise.
31222
31223 2014-12-30 Joseph Myers <joseph@codesourcery.com>
31224
31225 [BZ #17723]
31226 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31227 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31228 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31229 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31230 libm_hidden_weak.
31231 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31232 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31233 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31234 libm_hidden_def.
31235 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31236 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31237 libm_hidden_weak.
31238 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31239 Likewise.
31240 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31241 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31242 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31243 libm_hidden_weak.
31244 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31245 libm_hidden_def.
31246 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31247 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31248 (__feraiseexcept): Likewise.
31249 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31250 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31251 libm_hidden_weak.
31252 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31253 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31254 libm_hidden_def.
31255 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31256 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31257 Use libm_hidden_def.
31258 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31259 libm_hidden_def.
31260 (feraiseexcept): Define as weak not strong alias. Use
31261 libm_hidden_weak.
31262 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31263 New inline function. Factored out of ...
31264 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
31265 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31266 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31267 feraiseexcept.
31268 * math/w_acos.c (__acos): Likewise.
31269 * math/w_asin.c (__asin): Likewise.
31270 * math/w_ilogb.c (__ilogb): Likewise.
31271 * math/w_j0.c (y0): Likewise.
31272 * math/w_j1.c (y1): Likewise.
31273 * math/w_jn.c (yn): Likewise.
31274 * math/w_log.c (__log): Likewise.
31275 * math/w_log10.c (__log10): Likewise.
31276 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31277 * sysdeps/aarch64/fpu/math_private.h
31278 (libc_feupdateenv_test_aarch64): Likewise.
31279 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31280 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31281 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31282 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31283 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31284 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31285 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31286 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31287 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31288 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31289
31290 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31291
31292 [BZ #17732]
31293 * io/test-utime.c (main): Replace %ld with %jd and cast to
31294 intmax_t.
31295 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31296 * nptl/tst-mutex5.c: Include <stdint.h>.
31297 (do_test): Replace %ld with %jd and cast to intmax_t.
31298 * posix/tst-regex.c (run_test): Likewise.
31299 (run_test_backwards): Likewise.
31300 * rt/tst-clock.c: Include <stdint.h>.
31301 (clock_test): Replace %ld with %jd and cast to intmax_t.
31302 * rt/tst-cpuclock1.c: Include <stdint.h>.
31303 (do_test): Replace %lu with %ju and cast to uintmax_t.
31304 * rt/tst-cpuclock2.c: Include <stdint.h>.
31305 (do_test): Replace %lu with %ju and cast to uintmax_t.
31306 * rt/tst-mqueue1.c: Include <stdint.h>.
31307 (check_attrs): Replace %ld with %jd and cast to intmax_t.
31308 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31309 intmax_t.
31310 * rt/tst-mqueue4.c (do_test): Likewise.
31311 * rt/tst-timer4.c: Include <stdint.h>.
31312 (check_ts): Replace %ld with %jd and cast to intmax_t.
31313 (do_test): Likewise.
31314 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31315 and cast to intmax_t.
31316 * sysdeps/pthread/tst-timer.c (main): Likewise.
31317 * time/clocktest.c (main): Likewise.
31318 * time/tst-posixtz.c (do_test): Likewise.
31319 * timezone/tst-timezone.c (main): Likewise.
31320
31321 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31322 H.J. Lu <hongjiu.lu@intel.com>
31323
31324 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31325 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31326 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31327 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31328 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31329 version if bit_Fast_Unaligned_Load is set.
31330 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31331 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31332 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31333 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31334 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31335 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31337 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31338 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31339 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31340 to 4.
31341 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31342 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31343 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31344 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31345
31346 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31347
31348 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31349 instead of #if to avoid a Wundef warning.
31350 * stdlib/tst-limits.c (do_test): Likewise.
31351
31352 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31353 parallel other exception macros.
31354 (fegetenv): Convert from macro to extern inline so that it applies
31355 retroactively to inline functions already seen by the compiler.
31356 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31357
31358 * posix/Makefile (before-compile): Use $(objpfx) for
31359 posix-conf-vars-def.h.
31360
31361 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31362
31363 * posix/getconf.c (main): Use size_t for type of I.
31364 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31365 NSPEC.
31366
31367 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31368 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31369 * posix/posix-envs.def: Likewise.
31370 * sysdeps/posix/sysconf.c: Likewise.
31371 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31372 (specs): Remove array.
31373 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31374 array.
31375
31376 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31377 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31378 (__sysconf): Use CONF_IS_* macros.
31379
31380 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31381 ($(objpfx)posix-conf-vars-def.h): New target.
31382 * posix/posix-conf-vars.list: New file.
31383 * posix/posix-conf-vars.h: New file.
31384 * posix/confstr.c: Include posix-conf-vars.h.
31385 (confstr): Use CONF_IS_* macros.
31386 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31387 CONF_IS_* macros.
31388 * scripts/gen-posix-conf-vars.awk: New file.
31389
31390 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31391
31392 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31393 fegetround): Add no-op macros to avoid linknamespace issues.
31394
31395 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31396 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31397
31398 * sysdeps/unix/sysv/linux/tile/sysdep.h
31399 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31400 assembly-specific section to avoid a redefinition warning.
31401
31402 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31403 long before casting to pointer to avoid a cast warning.
31404
31405 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31406
31407 * sysdeps/tile/tilegx/Implies: New file.
31408
31409 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31410
31411 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31412
31413 2014-12-23 Florian Weimer <fweimer@redhat.com>
31414
31415 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31416
31417 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31418
31419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31420 not define.
31421 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31422 <kernel-features.h>.
31423 (__utimes) [__NR_utimes]: Make code unconditional.
31424 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31425 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31426 (__ASSUME_UTIMES): Do not undefine.
31427 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31428 (__ASSUME_UTIMES): Likewise.
31429 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31430 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31431 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31432 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31433
31434 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31435
31436 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31437
31438 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31439
31440 [BZ #17747]
31441 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31442 alias to weak alias for j0l, y0l.
31443 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31444 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31445
31446 [BZ #17746]
31447 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31448 conversion.
31449
31450 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31451
31452 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31453 to zero if not already defined.
31454
31455 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31456
31457 [BZ #17724]
31458 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31459 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31460 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31461 (char *) casts added.
31462 * sysdeps/ieee754/k_standardf.c: New file.
31463 * sysdeps/ieee754/k_standardl.c: Likewise.
31464 * math/Makefile (libm-support): Remove k_standard.
31465 (libm-calls): Add k_standard.
31466
31467 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31468
31469 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31470 Optimize to avoid an unnecessary FPCR read.
31471
31472 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31473
31474 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31475 Optimize to reduce FPCR/FPSR accesses.
31476
31477 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31478
31479 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31480 Call libc_fetestexcept_aarch64.
31481
31482 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31483
31484 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31485 Call libc_fesetround_aarch64.
31486
31487 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31488
31489 [BZ #17733]
31490 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31491 (__bind): Do not define as weak alias.
31492 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31493 define.
31494 (__getsockname): Do not define as weak alias.
31495
31496 2014-12-22 Will Newton <will.newton@linaro.org>
31497
31498 * manual/install.texi: Document that we require bison 2.7
31499 or above.
31500 * INSTALL: Regenerate.
31501 * configure.ac: Use AC_CHECK_PROG_VER instead of
31502 AC_PATH_PROG when checking for bison and check for
31503 version 2.7 or above.
31504 * configure: Regenerate.
31505
31506 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31507
31508 [BZ #17745]
31509 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31510 * sysdeps/tile/ffsll.c (ffsll): To here.
31511
31512 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31513
31514 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31515
31516 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31517 if not defined.
31518 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31519 definition.
31520 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31521 hidden ___tls_get_addr.
31522 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31523 hidden __tls_get_addr.
31524 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31525 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31526 Likewise.
31527
31528 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31529
31530 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31531 _dl_init call.
31532
31533 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31534
31535 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31536 from "call _dl_init@PLT".
31537 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31538
31539 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31540
31541 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31542 guarantees.
31543
31544 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31545
31546 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31547
31548 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31549
31550 [BZ #17744]
31551 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31552 strnlen.
31553
31554 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31555
31556 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31557 of multu on MIPSr6.
31558 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31559 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31560 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31561 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31562 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31563
31564 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31565
31566 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31567 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31568 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31569 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31570 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31571 mips32r6/mips64r6.
31572 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31573
31574 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31575
31576 * string/strncat.c (STRNCAT): Simplify implementation.
31577
31578 2014-12-19 David S. Miller <davem@davemloft.net>
31579
31580 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31581 access the quad as both a long double and as a series of 4 words.
31582
31583 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31584 link_map->l_info array access.
31585
31586 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31587
31588 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31589
31590 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31591 * math/atest-exp2.c (TIMEOUT): Likewise.
31592 * math/atest-sincos.c (TIMEOUT): Likewise.
31593
31594 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31595
31596 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31597 -Wno-error with -fno-builtin-lround.
31598
31599 2014-12-19 Torvald Riegel <triegel@redhat.com>
31600
31601 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31602 Contains futex constants and functions moved over from ...
31603 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31604 <lowlevellock-futex.h>.
31605 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31606 (lll_timedwait_tid): Add comments and parentheses around macro
31607 arguments.
31608
31609 2014-12-19 Torvald Riegel <triegel@redhat.com>
31610
31611 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31612 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31613 (__lll_private_flag): Remove.
31614 (lll_futex_wait): Likewise.
31615 (lll_futex_timed_wait): Likewise.
31616 (lll_futex_wake): Likewise.
31617 (lll_futex_requeue): Likewise.
31618 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31619 (__lll_timedwait_tid): Spell out argument names.
31620 (lll_timedwait_tid): Add comments and parentheses around macro
31621 arguments.
31622 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31623 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31624
31625 2014-12-19 Torvald Riegel <triegel@redhat.com>
31626
31627 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31628 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31629 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31630 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31631 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31632 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31633 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31634 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31635 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31636 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31637 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31638 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31639 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31640 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31641 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31642 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31643 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31644 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31645 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31646
31647 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31648
31649 * sysdeps/x86_64/x32/Makefile: New file.
31650
31651 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31654 1L with (mp_limb_t) 1.
31655
31656 2014-12-17 Roland McGrath <roland@hack.frob.com>
31657
31658 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31659 * nptl/libc_pthread_init.c: ... here.
31660 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31661 * nptl/register-atfork.c: ... here.
31662
31663 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31664 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31665 Use assert_perror to check its return value.
31666 (__gai_create_helper_thread): Likewise.
31667
31668 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31669
31670 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31671
31672 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31673
31674 [BZ #17725]
31675 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31676 __profil_counter.
31677 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31678 Likewise.
31679 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31680 Likewise.
31681 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31682 Likewise.
31683 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31684 (profil_counter): Likewise.
31685 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31686 (profil_counter): Likewise.
31687 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31688 Likewise.
31689 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31690 Likewise.
31691 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31692 (profil_counter): Likewise.
31693 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31694 Likewise.
31695 [!__profil_counter] (profil_counter): Define as weak alias of
31696 __profil_counter.
31697 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31698 (profil_counter): Rename to __profil_counter.
31699 [!__profil_counter] (profil_counter): Define as weak alias of
31700 __profil_counter.
31701 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31702 (profil_counter): Rename to __profil_counter.
31703 [!__profil_counter] (profil_counter): Define as weak alias of
31704 __profil_counter.
31705 * sysdeps/posix/profil.c: Update comment referring to
31706 profil_counter.
31707 (__profil): Use __profil_counter instead of profil_counter.
31708 * sysdeps/posix/sprofil.c (profil_counter): Rename to
31709 __profil_counter. Use __profil_counter_ushort and
31710 __profil_counter_uint in definitions.
31711 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31712 instead of profil_counter_uint and profil_counter_ushort.
31713
31714 [BZ #17722]
31715 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31716 define as weak alias of __inet_makeaddr.
31717 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31718 as weak alias of __inet_addr.
31719 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31720 as weak alias of __inet_pton. Use libc_hidden_weak.
31721 * include/arpa/inet.h (__inet_pton): Declare. Use
31722 libc_hidden_proto.
31723 (inet_makeaddr): Don't use libc_hidden_proto.
31724 (__inet_makeaddr): Declare. Use libc_hidden_proto.
31725 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31726 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
31727 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31728 Remove variable.
31729 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31730 (test-xfail-POSIX/time.h/linknamespace): Likewise.
31731
31732 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
31733
31734 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31735
31736 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31737
31738 * stdio-common/bug-vfprintf-nargs.c (do_test):
31739 Cast value to intptr_t to avoid format warning
31740 for usage with PRIdPTR printing macro.
31741
31742 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31743
31744 * libio/tst-widetext.c (do_test):
31745 Use format type %td instead of %Zd for ptrdiff_t
31746 in order to avoid format warning.
31747
31748 2014-12-17 Andreas Schwab <schwab@suse.de>
31749
31750 * nscd/mem.c (gc): Add size_t cast to match printf format.
31751
31752 2014-12-16 Roland McGrath <roland@hack.frob.com>
31753
31754 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31755 (init): Apply PTR_MANGLE to pointers before storing them.
31756 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31757 before using them.
31758
31759 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31760
31761 [BZ #17719]
31762 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31763 define as weak alias of __memrchr.
31764 (__memrchr): Do not define as strong alias of memrchr.
31765 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31766 Remove variable.
31767 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31768 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31769 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31770
31771 [BZ #17717]
31772 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31773 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31774 (if_indextoname): Rename to __if_indextoname and define as weak
31775 alias of __if_indextoname. Use libc_hidden_weak.
31776 (if_freenameindex): Rename to __if_freenameindex and define as
31777 weak alias of __if_freenameindex.
31778 (if_nameindex): Rename to __if_nameindex and define as weak alias
31779 of __if_nameindex.
31780 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31781 __if_nametoindex and define as weak alias of __if_nametoindex.
31782 Use libc_hidden_weak.
31783 (if_freenameindex): Rename to __if_freenameindex and define as
31784 weak alias of __if_freenameindex.
31785 (if_nameindex): Rename to __if_nameindex and define as weak alias
31786 of __if_nameindex.
31787 (if_indextoname): Rename to __if_indextoname and define as weak
31788 alias of __if_indextoname. Use libc_hidden_weak.
31789 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31790 __if_nametoindex and define as weak alias of __if_nametoindex.
31791 Use libc_hidden_weak.
31792 (if_freenameindex): Rename to __if_freenameindex and define as
31793 weak alias of __if_freenameindex. Use libc_hidden_weak.
31794 (if_nameindex_netlink): Use __if_freenameindex instead of
31795 if_freenameindex.
31796 (if_nameindex): Rename to __if_nameindex and define as weak alias
31797 of __if_nameindex. Use libc_hidden_weak.
31798 (if_indextoname): Rename to __if_indextoname and define as weak
31799 alias of __if_indextoname. Use libc_hidden_weak.
31800 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31801 libc_hidden_proto.
31802 [!_ISOMAC] (__if_freenameindex): Likewise.
31803 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31804 if_nametoindex.
31805 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31806 variable.
31807 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31808 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31809 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31810 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31811 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31812 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31813 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31814
31815 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31816 Remove variable.
31817 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31818 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31819
31820 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31821
31822 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31823 subscript above bounds'
31824
31825 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31826 bounds.
31827
31828 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31829
31830 * libio/tst-fopenloc.c: Use test-skeleton.c.
31831
31832 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31833 (entry): Rename to ITEM.
31834 (do_test, comp): Adjust.
31835
31836 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31837
31838 2014-12-16 Torvald Riegel <triegel@redhat.com>
31839
31840 * string/tester.c: Include <libc-internal.h>.
31841 (test_memset): Ignore -Wmemset-transposed-args.
31842
31843 2014-12-16 Torvald Riegel <triegel@redhat.com>
31844
31845 * misc/tst-mntent2.c (do_test): Fix warning.
31846
31847 2014-12-16 Torvald Riegel <triegel@redhat.com>
31848
31849 * elf/tst-unique4lib.cc(a): Mark as used.
31850
31851 2014-12-16 Florian Weimer <fweimer@redhat.com>
31852
31853 [BZ #17630]
31854 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31855 names.
31856
31857 2014-12-16 Allan McRae <allan@archlinux.org>
31858
31859 * stdio-common/Makefile (tests): Re-add bug26.
31860
31861 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31862
31863 [BZ #17657]
31864 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31865 static array.
31866
31867 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31868
31869 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31870 (__lll_lock_wait): Likewise.
31871 (__lll_timedlock_wait): Likewise.
31872 (__lll_timedwait_tid): Likewise.
31873 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31874 (__lll_robust_timedlock_wait): Likewise.
31875 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31876 (lll_cond_trylock): Likewise.
31877 (__lll_lock): Likewise.
31878 (__lll_robust_lock): Likewise.
31879 (__lll_cond_lock): Likewise.
31880 (lll_robust_cond_lock): Likewise.
31881 (__lll_timedlock): Likewise.
31882 (__lll_robust_timedlock): Likewise.
31883 (__lll_unlock): Likewise.
31884 (__lll_robust_unlock): Likewise.
31885 (lll_wait_tid): Likewise.
31886 (lll_timedwait_tid): Likewise.
31887
31888 2014-12-15 Torvald Riegel <triegel@redhat.com>
31889
31890 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31891
31892 2014-12-15 Torvald Riegel <triegel@redhat.com>
31893
31894 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31895
31896 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31897
31898 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31899 * stdio-common/tst-sprintf.c: Likewise.
31900
31901 2014-12-15 Torvald Riegel <triegel@redhat.com>
31902
31903 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31904
31905 2014-12-15 Jeff Law <law@redhat.com>
31906
31907 [BZ #16617]
31908 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31909 on the heap. (CVE-2012-3406)
31910 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31911 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31912 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31913
31914 2014-12-15 Will Newton <will.newton@linaro.org>
31915
31916 * manual/install.texi: Bump required version of texinfo
31917 to 4.7 from 4.5.
31918 * INSTALL: Regenerated.
31919 * configure.ac: Check for makeinfo version 4.7 and above.
31920 * configure: Regenerated.
31921
31922 2014-12-12 Roland McGrath <roland@hack.frob.com>
31923
31924 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31925 PREFIX, string constant to insert between directory and name.
31926 * sysdeps/posix/shm_open.c: Update caller.
31927 * sysdeps/posix/shm_unlink.c: Likewise.
31928 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31929 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31930 (SEM_SHM_PREFIX): New macro.
31931 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31932 [$(have-thread-library) = no].
31933 * nptl/Makefile (libpthread-routines): Add shm-directory.
31934 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31935 * sysdeps/nptl/shm-directory.h: New file.
31936 * sysdeps/posix/shm-directory.c
31937 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31938 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31939 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31940 INTERNAL_SYSCALL.
31941 (__where_is_shmfs): Function removed.
31942 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31943 Variables removed.
31944 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31945 Use SHM_GET_NAME.
31946 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31947
31948 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31949 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31950 unconditional for use inside libpthread.
31951 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31952
31953 2014-12-12 Roland McGrath <roland@hack.frob.com>
31954
31955 * nptl/pthread_getaffinity.c: New file.
31956 * nptl/pthread_setaffinity.c: New file.
31957 * nptl/pthread_getname.c: New file.
31958 * nptl/pthread_setname.c: New file.
31959
31960 * nptl/pthread_create.c (START_THREAD_DEFN)
31961 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31962
31963 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31964 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31965
31966 * resolv/res_send.c (send_vc): Disable warning resplen may
31967 be used uninitialized.
31968
31969 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31970
31971 * nptl/tst-mutex6.c
31972 (ATTR_NULL): New define checks ATTR against NULL.
31973 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31974 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31975
31976 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31977
31978 [BZ #17581]
31979 * malloc/hooks.c
31980 (mem2mem_check): Revert my previous change.
31981 (malloc_check_get_size): Revert my previous change.
31982 (mem2chunk_check): Revert my previous change.
31983
31984 2014-12-11 Roland McGrath <roland@hack.frob.com>
31985
31986 * sysdeps/posix/shm-directory.c: New file.
31987 * sysdeps/posix/shm-directory.h: New file.
31988 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31989 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31990 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31991 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31992 Transmute EPERM to EACCES.
31993 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31994 from ...
31995 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31996 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31997
31998 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31999
32000 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32001 pointer and cast to uintptr_t.
32002 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32003 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32004 Add cast to avoid warning.
32005 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32006
32007 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32008
32009 * nptl/semaphore.h: Move to ...
32010 * sysdeps/pthread/semaphore.h: ... here.
32011 * Makefile (installed-headers): Change nptl/semaphore.h to
32012 sysdeps/pthread/semaphore.h.
32013
32014 2014-12-11 Roland McGrath <roland@hack.frob.com>
32015
32016 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32017 generated error format strings.
32018
32019 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32020 -Wformat-extra-args warnings for scanf formats.
32021 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32022 test of zero-length format (duh).
32023 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32024 corner-case scanf format test.
32025 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32026 generated fprintf format string.
32027 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32028 corner-case sprintf format tests.
32029 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32030 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32031 -Wformat-extra-args warnings throughout.
32032 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32033 (CFLAGS-scanf4.c): Likewise.
32034 (CFLAGS-scanf7.c): Likewise.
32035 (CFLAGS-tst-sprintf.c): Likewise.
32036 (CFLAGS-tst-printf.c): Likewise.
32037 (CFLAGS-tst-printfsz.c): Likewise.
32038
32039 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32040
32041 * include/cpio.h: New file.
32042 * include/fmtmsg.h: Likewise.
32043
32044 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
32045 corresponding format argument to size_t.
32046 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
32047 arguments.
32048 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
32049 corresponding format argument to size_t.
32050 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
32051 arguments.
32052 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
32053 corresponding format argument to size_t.
32054 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32055 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32056 (CFLAGS-tst-mbswcs2.c): Likewise.
32057 (CFLAGS-tst-mbswcs3.c): Likewise.
32058 (CFLAGS-tst-mbswcs4.c): Likewise.
32059 (CFLAGS-tst-mbswcs5.c): Likewise.
32060 (CFLAGS-tst-trans.c): Likewise.
32061
32062 2014-12-11 Roland McGrath <roland@hack.frob.com>
32063
32064 * posix/regexbug1.c (main): Use "%s" format with regerror results,
32065 rather than assuming they won't contain any '%'s.
32066
32067 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
32068
32069 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32070 inhibit_loop_to_libcall to avoid recursive calls.
32071 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32072 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32073
32074 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
32075
32076 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32077 prototype.
32078
32079 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32080
32081 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32082 integer value instead of boolean.
32083
32084 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32085
32086 * malloc/malloc.c: Fix powerof2 check.
32087
32088 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32089
32090 * locale/programs/locfile.h (maybe_swap_uint32):
32091 Remove inline and add unused attribute.
32092
32093 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32094
32095 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32096 Truncating assembler expression to a .long expression.
32097
32098 2014-12-11 Andreas Schwab <schwab@suse.de>
32099
32100 * elf/rtld.c (struct map_args): Constify str member.
32101 (do_preload): Constify fname argument.
32102
32103 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32104
32105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32106 constants definition.
32107
32108 2014-12-11 Andreas Schwab <schwab@suse.de>
32109
32110 [BZ #16657]
32111 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32112 FORCE_ELISION instead of DO_ELISION.
32113 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32114 Remove.
32115 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32116 Likewise.
32117
32118 * iconvdata/gconv-modules: Remove duplicate entry.
32119
32120 2014-12-11 Will Newton <will.newton@linaro.org>
32121
32122 Merge gettext 0.19.3 into intl/.
32123
32124 This involves a number of cosmetic changes to comments
32125 and ANSI function definitions and prototypes throughout
32126 all the files. The gettext copyright header is used but
32127 with the date ranges taken from the glibc copy.
32128
32129 * NEWS: Add gettext merge to 2.21.
32130 * intl/bindtextdom.c: Switch to gettext copyright.
32131 Use ANSI definitions and prototypes.
32132 Use gl_* locking primitives rather than __libc_* ones.
32133 Use __builtin_expect rather than __glibc_likely/unlikely.
32134 * intl/dcgettext.c: Switch to gettext copyright.
32135 Use ANSI definitions and prototypes.
32136 * intl/dcigettext.c: Switch to gettext copyright.
32137 Use ANSI definitions and prototypes.
32138 (INTDIV0_RAISES_SIGFPE): New define.
32139 Use gl_* locking primitives rather than __libc_* ones.
32140 Include eval-plural.h instead of plural-eval.c.
32141 Use __builtin_expect rather than __glibc_likely/unlikely.
32142 * intl/dcngettext.c: Switch to gettext copyright.
32143 Use ANSI definitions and prototypes.
32144 * intl/dgettext.c: Likewise.
32145 * intl/dngettext.c: Likewise.
32146 * intl/plural-eval.c: Renamed to...
32147 * intl/eval-plural.h: ...this.
32148 * intl/explodename.c: Switch to gettext copyright.
32149 Use ANSI definitions and prototypes.
32150 (_nl_explode_name): Use strchr instead of __rawmemchr.
32151 * intl/finddomain.c: Switch to gettext copyright.
32152 Use ANSI definitions and prototypes.
32153 Use gl_* locking primitives rather than __libc_* ones.
32154 (_nl_find_domain): Use malloc rather than alloca for
32155 allocation of temporary locale name.
32156 * intl/gettext.c: Switch to gettext copyright.
32157 Use ANSI definitions and prototypes.
32158 * intl/gettextP.h: Switch to gettext copyright.
32159 Use ANSI definitions and prototypes.
32160 Use gl_* locking primitives rather than __libc_* ones.
32161 * intl/gmo.h: Switch to gettext copyright.
32162 (struct sysdep_string): Move struct segment_pair outside of
32163 struct definition.
32164 * intl/hash-string.c: Use ANSI definitions and prototypes.
32165 * intl/hash-string.h: Switch to gettext copyright.
32166 Use ANSI definitions and prototypes.
32167 * intl/l10nflist.c: Switch to gettext copyright.
32168 Use ANSI definitions and prototypes.
32169 (_nl_normalize_codeset): Avoid integer overflow.
32170 * intl/loadinfo.h: Switch to gettext copyright.
32171 Use ANSI definitions and prototypes.
32172 (LIBINTL_DLL_EXPORTED): New define.
32173 (PATH_SEPARATOR): New define.
32174 * intl/loadmsgcat.c: Switch to gettext copyright.
32175 * intl/localealias.c: Switch to gettext copyright.
32176 Use ANSI definitions and prototypes.
32177 (_nl_expand_alias): Use PATH_SEPARATOR.
32178 * intl/ngettext.c: Switch to gettext copyright.
32179 Use ANSI definitions and prototypes.
32180 * intl/plural-exp.c: Likewise.
32181 * intl/plural-exp.h: Switch to gettext copyright.
32182 Use ANSI definitions and prototypes.
32183 (struct expression): Move definition of enum operator outside
32184 of struct definition.
32185 * intl/plural.c: Regenerate.
32186 * intl/plural.y: Switch to gettext copyright.
32187 Use ANSI definitions and prototypes.
32188 Port to bison 3.0.
32189 * intl/textdomain.c: Switch to gettext copyright.
32190 Use ANSI definitions and prototypes.
32191 Use gl_* locking primitives rather than __libc_* ones.
32192
32193 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
32194
32195 * debug/warning-nop.c: Add used atrribute.
32196
32197 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32198
32199 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32200
32201 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32202 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32203 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32204
32205 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32206 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32207
32208 [BZ #17634]
32209 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32210 Undefine after defining function. Define as weak alias of
32211 __wcschr. Use libc_hidden_weak.
32212 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
32213 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32214 (libc_hidden_def): Also define __GI___wcschr alias.
32215 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32216 __wcschr and define as weak alias of __wcschr.
32217 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32218 __wcschr.
32219 [!WCSCHR] (DEFAULT_WCSCHR): Define.
32220 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32221 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
32222 libc_hidden_weak. Do not use libc_hidden_def.
32223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32224 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32225 __GI___wcschr alias.
32226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32227 [IS_IN (libc)] (wcschr): Define as macro expanding to
32228 __redirect_wcschr.
32229 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32230 [IS_IN (libc)] (__wcschr_power6): Likewise.
32231 [IS_IN (libc)] (__wcschr_power7): Likewise.
32232 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
32233 instead of wcschr.
32234 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32235 __libc_wcschr.
32236 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32237 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32238 __wcschr and define as weak alias of __wcschr. Use
32239 libc_hidden_builtin_def.
32240 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32241 as weak alias of __wcschr. Use libc_hidden_weak.
32242 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32243 wcschr.
32244 * time/era.c (_nl_init_era_entries): Likewise.
32245 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32246 variable.
32247 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32248 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32249
32250 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32251
32252 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32253 format for long int variable.
32254
32255 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
32256
32257 [BZ #10672]
32258 * manual/search.texi: (Array Sort Function): Remove claim how to make
32259 qsort stable.
32260
32261 2014-12-10 Andreas Schwab <schwab@suse.de>
32262
32263 [BZ #12847]
32264 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32265 user-controlled locks.
32266
32267 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
32268
32269 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32270 register.
32271
32272 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32273
32274 * configure.ac (--disable-werror): New configure option.
32275 (enable_werror): New AC_SUBST.
32276 * configure: Regenerated.
32277 * config.make.in (enable-werror): New variable.
32278 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32279 -Wno-error=undef.
32280 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32281 * manual/install.texi (Configuring and compiling): Document
32282 --disable-werror.
32283 * INSTALL: Regenerated.
32284 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32285 (CFLAGS-tst-chk2.c): Likewise.
32286 (CFLAGS-tst-chk3.c): Likewise.
32287 (CFLAGS-tst-chk4.cc): Likewise.
32288 (CFLAGS-tst-chk5.cc): Likewise.
32289 (CFLAGS-tst-chk6.cc): Likewise.
32290 (CFLAGS-tst-lfschk1.c): Likewise.
32291 (CFLAGS-tst-lfschk2.c): Likewise.
32292 (CFLAGS-tst-lfschk3.c): Likewise.
32293 (CFLAGS-tst-lfschk4.cc): Likewise.
32294 (CFLAGS-tst-lfschk5.cc): Likewise.
32295 (CFLAGS-tst-lfschk6.cc): Likewise.
32296
32297 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32298 (main): Disable -Wdeprecated-declarations around calls to
32299 register_printf_function.
32300
32301 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32302 (do_test): Disable -Wdiv-by-zero around some calls to
32303 fwrite_unlocked and fread_unlocked.
32304
32305 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32306 (DIAG_POP_NEEDS_COMMENT): Likewise.
32307 (_DIAG_STR1): Likewise.
32308 (_DIAG_STR): Likewise.
32309 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32310 * stdio-common/bug21.c: Include <libc-internal.h>.
32311 (do_test): Disable -Wformat around call to sscanf.
32312 * stdio-common/scanf14.c: Include <libc-internal.h>.
32313 (main): Disable -Wformat around some calls to scanf functions.
32314
32315 2014-12-09 Torvald Riegel <triegel@redhat.com>
32316
32317 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32318
32319 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32320
32321 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32322 stack variable alignment.
32323
32324 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32325
32326 [BZ #17682]
32327 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32328 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32329 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32330 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32331 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32332 __getrlimit instead of getrlimit.
32333 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32334 __gettimeofday instead of gettimeofday.
32335 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32336 Likewise.
32337 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32338 Likewise.
32339 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32340 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32341 Remove variable.
32342 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32343 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32344
32345 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32346
32347 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32348 for wide-character tests.
32349
32350 2014-12-04 Roland McGrath <roland@hack.frob.com>
32351
32352 * io/openat64.c: #include <libc-internal.h>
32353 (__openat64): Prototypify. Use ignore_value on MODE.
32354 * io/openat.c: Likewise.
32355 * misc/reboot.c: #include <libc-internal.h>
32356 (reboot): Prototypify. Use ignore_value on HOWTO.
32357 * misc/ptrace.c: #include <libc-internal.h>
32358 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32359
32360 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32361
32362 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32363 XPG4, UNIX98 and XOPEN2K.
32364 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32365 Remove variable.
32366 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32367
32368 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32369
32370 * libio/fileops.c: Use ISO C style for function definitions.
32371 * libio/iofopen.c: Likewise.
32372 * libio/wfileops.c: Likewise.
32373
32374 [BZ #17653]
32375 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32376 offset on EOF.
32377 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32378 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32379 (fgets_func): Function pointer to fgets and fgetws.
32380 (do_ftell_test): Add test to verify ftell value after read
32381 EOF.
32382 (do_test): Set fgets_func.
32383
32384 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32385 O_TRUNC flag for w and w+ modes.
32386 (do_rewind_test): Likewise.
32387 (do_ftell_test): Likewise.
32388 (do_write_test): Likewise.
32389
32390 [BZ #17647]
32391 * libio/fileops.c (do_ftell): Seek only when there are
32392 unflushed writes.
32393 * libio/wfileops.c (do_ftell_wide): Likewise.
32394 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32395 test case.
32396 (do_one_test): Call it.
32397
32398 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32399
32400 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32401 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32402 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32403 Remove variable.
32404 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32405 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32406 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32407
32408 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32409
32410 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32411 Remove variable.
32412 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32413
32414 [BZ #17668]
32415 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32416 as weak alias of __getifaddrs. Use libc_hidden_weak.
32417 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32418 __freeifaddrs. Use libc_hidden_weak.
32419 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32420 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32421 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32422 __freeifaddrs. Use libc_hidden_weak.
32423 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32424 __getifaddrs and define as weak alias of __getifaddrs. Use
32425 libc_hidden_weak.
32426 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32427 __freeifaddrs. Use libc_hidden_weak.
32428 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32429 Remove variable.
32430 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32431 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32432
32433 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32434
32435 [BZ #17601]
32436 * sysdeps/mips/start.S (__start): Use indirect jump to call
32437 __libc_start_main.
32438
32439 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32440
32441 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32442
32443 * nptl/tst-mutex1.c: Include <stdbool.h>.
32444 [!ATTR] (ATTR_NULL): New macro.
32445 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32446 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32447 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32448
32449 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32450 to char *.
32451
32452 [BZ #17665]
32453 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32454 Change conditional to [__USE_MISC].
32455
32456 [BZ #17664]
32457 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32458 fgets_unlocked.
32459 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32460 __fgets_unlocked.
32461 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32462 fgets_unlocked.
32463 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32464 Remove variable.
32465 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32466 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32467 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32468 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32469 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32470 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32471 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32472 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32473 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32474
32475 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32476
32477 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32478
32479 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32480 Remove strpbrk objects.
32481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32482 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32483 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32484 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32485 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32486 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32487
32488 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32489 Remove strcspn objects.
32490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32491 (__libc_ifunc_impl_list): Remove strcspn implementation.
32492 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32493 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32494 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32495 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32496
32497 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32498 Remove strspn objetcs.
32499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32500 (__libc_ifunc_impl_list): Remove strspn implementation.
32501 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32502 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32503 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32504 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32505
32506 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32507
32508 [BZ #17581]
32509 * malloc/hooks.c
32510 (mem2mem_check): Add a terminator to the chain of checking blocks.
32511 (malloc_check_get_size): Use it here.
32512 (mem2chunk_check): Ditto.
32513
32514 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32515
32516 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32517 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32518
32519 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32520
32521 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32522
32523 * nptl/nptl-init.c: Include libc-internal.h.
32524 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32525
32526 * elf/ldconfig.c (search_dir): Expand comment.
32527
32528 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32529
32530 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32531 variable.
32532 (linknamespace-symlist-stdlibs-tests): Likewise.
32533 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32534 instead of $(objpfx)symlist-stdlibs.
32535 (linknamespace-libs-isoc): New variable.
32536 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32537 (linknamespace-libs-ISO): New variable.
32538 (linknamespace-libs-ISO99): Likewise.
32539 (linknamespace-libs-ISO11): Likewise.
32540 (linknamespace-libs-XPG3): Likewise.
32541 (linknamespace-libs-XPG4): Likewise.
32542 (linknamespace-libs-POSIX): Likewise.
32543 (linknamespace-libs-UNIX98): Likewise.
32544 (linknamespace-libs-XOPEN2K): Likewise.
32545 (linknamespace-libs-POSIX2008): Likewise.
32546 (linknamespace-libs-XOPEN2K8): Likewise.
32547 ($(objpfx)symlist-stdlibs): Replace by
32548 $(linknamespace-symlist-stdlibs-tests). Use
32549 $(linknamespace-libs-$*) as set of libraries.
32550 ($(linknamespace-header-tests)): Update dependencies. Use
32551 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32552 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32553 * conform/linknamespace.pl: Remove comment about considering
32554 definitions of symbols from irrelevant libraries.
32555
32556 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32557
32558 [BZ #13862]
32559 * elf/dl-tls.c: Include <atomic.h>.
32560 (oom): Remove #ifdef SHARED/#endif.
32561 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32562 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32563 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32564 big enough.
32565 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32566 * nptl/Makefile (tests): Add tst-stack4.
32567 (modules-names): Add tst-stack4mod.
32568 ($(objpfx)tst-stack4): New.
32569 (tst-stack4mod.sos): Likewise.
32570 ($(objpfx)tst-stack4.out): Likewise.
32571 ($(tst-stack4mod.sos)): Likewise.
32572 (clean): Likewise.
32573 * nptl/tst-stack4.c: New file.
32574 * nptl/tst-stack4mod.c: Likewise.
32575
32576 2014-11-27 J. Brown <jb999@gmx.de>
32577
32578 * sysdeps/x86/bits/string.h: Add recent CPUs.
32579
32580 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32581
32582 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32583 sigblock.
32584
32585 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32586 feof.
32587
32588 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32589 variable.
32590
32591 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32592
32593 * nscd/connections.c: Include libc-internal.h because of macro
32594 usage ignore_value.
32595
32596 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32597
32598 * string/bits/string3.h (__warn_memset_zero_len): Don't
32599 declare for gcc newer than 5.0.
32600 (memset): Don't test for zero-length __LEN for gcc newer than
32601 5.0.
32602
32603 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32604
32605 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32606 size_t for %zu format.
32607
32608 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32609 difference, not %ju.
32610
32611 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32612
32613 * include/libc-internal.h (ignore_value): New macro.
32614 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32615 with ignore_value.
32616
32617 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32618 definition.
32619
32620 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32621 pthread_cleanup_push to void *.
32622
32623 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32624 Undefine.
32625
32626 [BZ #16619]
32627 [BZ #16740]
32628 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32629 instead of 1L << 52.
32630
32631 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32632 * libio/bug-rewind2.c (do_test): Likewise.
32633
32634 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32635 * debug/test-strcpy_chk-ifunc.c: Likewise.
32636 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32637 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32638 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32639 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32640 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32641 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32642 * Rules [$(multi-arch) = no] (tests): Do not filter out
32643 $(tests-ifunc).
32644 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32645 * debug/Makefile (tests-ifunc): Remove variable.
32646 (tests): Do not add $(tests-ifunc).
32647 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32648 (tests): Do not add $(tests-ifunc).
32649 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32650 [TEST_IFUNC]: Remove conditionals.
32651 * string/test-string.h (TEST_IFUNC): Remove macro.
32652 [TEST_IFUNC]: Remove conditionals.
32653
32654 * string/test-strchr.c [!WIDE] (L): New macro.
32655 [WIDE] (L): Likewise.
32656 (check1): Use CHAR instead of char. Use L on string and character
32657 constants.
32658
32659 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32660
32661 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32662 tests.
32663 * sysdeps/powerpc/bits/atomic.h
32664 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32665 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32666 (atomic_exchange_and_add_acq): Likewise.
32667 (atomic_exchange_and_add_rel): Likewise.
32668 * sysdeps/powerpc/powerpc32/bits/atomic.h
32669 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32670 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32671 * sysdeps/powerpc/powerpc64/bits/atomic.h
32672 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32673 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32674
32675 2014-11-26 Torvald Riegel <triegel@redhat.com>
32676
32677 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32678 Change synchronization of __sched_fifo_min_prio and
32679 __sched_fifo_max_prio.
32680 * nptl/pthread_mutexattr_getprioceiling.c
32681 (pthread_mutexattr_getprioceiling): Likewise.
32682 * nptl/pthread_mutexattr_setprioceiling.c
32683 (pthread_mutexattr_setprioceiling): Likewise.
32684 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32685 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32686 Likewise.
32687
32688 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32689
32690 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32691 void.
32692
32693 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32694
32695 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32696 third argument const.
32697
32698 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
32699
32700 fnmatch: work around GCC compiler warning bug with uninit var
32701 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32702 This works around a bug with x86-64 GCC 4.9.2 and earlier
32703 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32704 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32705 used uninitialized in this function [-Wmaybe-uninitialized]".
32706
32707 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32708
32709 * posix/bug-regex31.c (main): Return RES not 0.
32710
32711 2014-11-25 Anton Blanchard <anton@samba.org>
32712
32713 * sysdeps/powerpc/bits/atomic.h
32714 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32715
32716 2014-11-24 Sterling Augustine <saugustine@google.com>
32717
32718 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32719
32720 2014-11-24 Ryan Cumming <etaoins@gmail.com>
32721
32722 [BZ #17608]
32723 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32724
32725 2014-11-24 Joseph Myers <joseph@codesourcery.com>
32726
32727 [BZ #17633]
32728 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32729 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32730 variable.
32731 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32732 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32733
32734 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32735
32736 * string/strncpy.c (strncpy): Improve performance by using memset.
32737
32738 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
32739
32740 * string/strcpy.c (strcpy):
32741 Improve performance by using strlen and memcpy.
32742
32743 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
32744
32745 * string/strcoll_l.c (get_next_seq): __always_inline.
32746 * string/strcoll_l.c (do_compare): __always_inline.
32747
32748 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32749
32750 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32751 defined.
32752 * include/mqueue.h: Likewise.
32753 * include/stdlib.h: Likewise.
32754
32755 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32756 (get_null_defines): Adjust.
32757 * sunrpc/Makefile: Adjust comment.
32758 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32759 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32760 (CFLAGS-interp.c): Likewise.
32761 (CFLAGS-ldconfig.c): Likewise.
32762 (CPPFLAGS-.os): Likewise.
32763 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32764 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32765 * extra-modules.mk (extra-modules.mk): Likewise.
32766 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32767 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32768 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32769 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32770 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32771 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32772 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32773 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32774 * iconvdata/Makefile (CPPFLAGS): Likewise.
32775 (cpp-srcs-left): Add libof for all iconvdata routines.
32776 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32777 * include/assert.h: Likewise.
32778 * include/ctype.h: Likewise.
32779 * include/errno.h: Likewise.
32780 * include/libc-symbols.h: Likewise.
32781 * include/math.h: Likewise.
32782 * include/netdb.h: Likewise.
32783 * include/resolv.h: Likewise.
32784 * include/stdio.h: Likewise.
32785 * include/stdlib.h: Likewise.
32786 * include/string.h: Likewise.
32787 * include/sys/stat.h: Likewise.
32788 * include/wctype.h: Likewise.
32789 * intl/l10nflist.c: Likewise.
32790 * libidn/idn-stub.c: Likewise.
32791 * libio/libioP.h: Likewise.
32792 * nptl/libc_multiple_threads.c: Likewise.
32793 * nptl/pthreadP.h: Likewise.
32794 * posix/regex_internal.h: Likewise.
32795 * resolv/res_hconf.c: Likewise.
32796 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32797 * sysdeps/arm/memmove.S: Likewise.
32798 * sysdeps/arm/sysdep.h: Likewise.
32799 * sysdeps/generic/_itoa.h: Likewise.
32800 * sysdeps/generic/symbol-hacks.h: Likewise.
32801 * sysdeps/gnu/errlist.awk: Likewise.
32802 * sysdeps/gnu/errlist.c: Likewise.
32803 * sysdeps/i386/i586/memcpy.S: Likewise.
32804 * sysdeps/i386/i586/memset.S: Likewise.
32805 * sysdeps/i386/i686/memcpy.S: Likewise.
32806 * sysdeps/i386/i686/memmove.S: Likewise.
32807 * sysdeps/i386/i686/mempcpy.S: Likewise.
32808 * sysdeps/i386/i686/memset.S: Likewise.
32809 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32810 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32811 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32812 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32813 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32814 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32815 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32816 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32817 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32819 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32820 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32821 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32822 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32823 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32825 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32826 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32827 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32828 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32829 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32830 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32831 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32832 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32833 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32834 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32835 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32836 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32837 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32839 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32841 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32842 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32843 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32845 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32846 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32847 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32849 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32850 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32851 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32852 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32853 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32854 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32855 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32856 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32857 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32858 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32859 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32860 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32861 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32862 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32863 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32864 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32865 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32866 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32867 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32868 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32870 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32871 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32872 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32873 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32874 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32875 * sysdeps/posix/closedir.c: Likewise.
32876 * sysdeps/posix/opendir.c: Likewise.
32877 * sysdeps/posix/readdir.c: Likewise.
32878 * sysdeps/posix/rewinddir.c: Likewise.
32879 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32880 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32881 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32882 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32883 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32884 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32885 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32889 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32890 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32891 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32892 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32893 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32894 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32895 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32896 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32897 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32899 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32900 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32901 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32902 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32904 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32906 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32907 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32914 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32915 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32916 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32917 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32918 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32919 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32920 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32921 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32922 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32923 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32924 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32925 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32926 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32927 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32928 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32929 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32930 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32931 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32932 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32933 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32935 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32936 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32937 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32938 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32939 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32940 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32941 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32942 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32943 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32944 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32945 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32946 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32947 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32948 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32949 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32950 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32951 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32952 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32953 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32954 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32955 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32956 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32957 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32958 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32959 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32961 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32962 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32963 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32964 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32965 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32966 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32967 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32968 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32969 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32970 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32971 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32972 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32975 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32976 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32977 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32978 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32980 * sysdeps/unix/alpha/sysdep.S: Likewise.
32981 * sysdeps/unix/alpha/sysdep.h: Likewise.
32982 * sysdeps/unix/make-syscalls.sh: Likewise.
32983 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32984 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32985 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32986 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32987 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32988 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32989 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32990 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32991 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32992 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32993 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32994 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32995 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32996 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32997 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32998 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32999 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33000 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33001 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33002 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33003 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33004 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33005 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33006 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33007 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33008 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33009 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33012 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33013 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33014 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33015 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33016 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33017 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33020 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33021 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33022 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33023 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33024 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33025 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33026 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33027 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33030 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33033 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33034 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33035 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33036 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33037 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33038 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33039 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33041 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33042 * sysdeps/x86_64/memcpy.S: Likewise.
33043 * sysdeps/x86_64/memmove.c: Likewise.
33044 * sysdeps/x86_64/memset.S: Likewise.
33045 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33047 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33048 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33049 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33052 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33053 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33054 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33055 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33056 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33057 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33058 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33059 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33060 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33061 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33062 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33063 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33064 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33065 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33066 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33069 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33070 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33071 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33072 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33073 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33074 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33075 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33076 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33077 * sysdeps/x86_64/strcmp.S: Likewise.
33078
33079 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33080
33081 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33082 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33083 * elf/rtld-Rules: Likewise.
33084 * elf/setup-vdso.h: Likewise.
33085 * include/assert.h: Likewise.
33086 * include/bits/stdlib-float.h: Likewise.
33087 * include/errno.h: Likewise.
33088 * include/sys/stat.h: Likewise.
33089 * include/unistd.h: Likewise.
33090 * sysdeps/aarch64/setjmp.S: Likewise.
33091 * sysdeps/alpha/setjmp.S: Likewise.
33092 * sysdeps/arm/__longjmp.S: Likewise.
33093 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33094 * sysdeps/arm/setjmp.S: Likewise.
33095 * sysdeps/arm/sysdep.h: Likewise.
33096 * sysdeps/generic/_itoa.h: Likewise.
33097 * sysdeps/generic/dl-sysdep.h: Likewise.
33098 * sysdeps/generic/ldsodefs.h: Likewise.
33099 * sysdeps/i386/dl-tls.h: Likewise.
33100 * sysdeps/i386/setjmp.S: Likewise.
33101 * sysdeps/m68k/setjmp.c: Likewise.
33102 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33103 * sysdeps/mach/hurd/opendir.c: Likewise.
33104 * sysdeps/posix/getcwd.c: Likewise.
33105 * sysdeps/posix/opendir.c: Likewise.
33106 * sysdeps/posix/profil.c: Likewise.
33107 * sysdeps/powerpc/dl-procinfo.h: Likewise.
33108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33109 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33110 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33111 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33112 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33113 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33114 * sysdeps/s390/dl-tls.h: Likewise.
33115 * sysdeps/s390/s390-32/setjmp.S: Likewise.
33116 * sysdeps/s390/s390-64/setjmp.S: Likewise.
33117 * sysdeps/sh/sh3/setjmp.S: Likewise.
33118 * sysdeps/sh/sh4/setjmp.S: Likewise.
33119 * sysdeps/unix/alpha/sysdep.h: Likewise.
33120 * sysdeps/unix/arm/sysdep.S: Likewise.
33121 * sysdeps/unix/i386/sysdep.S: Likewise.
33122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33123 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33124 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33125 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33126 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33127 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33128 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33129 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33130 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33131 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33132 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33133 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33134 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33137 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33140 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33141 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33142 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33144 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33145 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33146 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33147 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33149 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33150 * sysdeps/x86_64/setjmp.S: Likewise.
33151
33152 * include/math.h: Use IS_IN instead of IS_IN_libm.
33153 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33157 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33165 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33166 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33168 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33172 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33173 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33174 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33175 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33176 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33177 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33178 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33180 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33181 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33182 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33183 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33184 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33185 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33187 Likewise.
33188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33189 Likewise.
33190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33191 Likewise.
33192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33193 Likewise.
33194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33195 Likewise.
33196 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33197 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33198 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33199 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33200 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33201 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33207 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33208 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33209 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33210 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33211 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33212 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33213 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33214 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33215 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33216 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33217 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33218 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33219 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33220 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33222 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33223
33224 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33225 * nptl/pthreadP.h: Likewise.
33226 * nptl_db/structs.def: Likewise.
33227 * sysdeps/arm/sysdep.h: Likewise.
33228 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33229 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33230 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33231 * sysdeps/unix/alpha/sysdep.h: Likewise.
33232 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33234 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33235 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33236 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33237 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33239 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33240 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33241 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33242 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33243 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33244 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33245 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33250 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33253 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33254 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33255 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33256 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33257 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33258
33259 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33260 * nptl/pthreadP.h: Likewise.
33261 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33262 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33263 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33264 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33265 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33266 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33267 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33268 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33269 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33270 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33271 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33272 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33274 Likewise.
33275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33276 Likewise.
33277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33279 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33282 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33283 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33284 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33285
33286 * dlfcn/dladdr.c: Use IS_IN.
33287 * dlfcn/dladdr1.c: Likewise.
33288 * dlfcn/dlclose.c: Likewise.
33289 * dlfcn/dlerror.c: Likewise.
33290 * dlfcn/dlinfo.c: Likewise.
33291 * dlfcn/dlmopen.c: Likewise.
33292 * dlfcn/dlopen.c: Likewise.
33293 * dlfcn/dlsym.c: Likewise.
33294 * dlfcn/dlvsym.c: Likewise.
33295
33296 * include/ifaddrs.h: Use IS_IN.
33297 * inet/check_pf.c: Likewise.
33298 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33299 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33300
33301 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33302 IS_IN_ldconfig.
33303 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33304 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33305
33306 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33307 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33308 IS_IN (libc).
33309
33310 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33311
33312 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33313 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33314 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33315 * include/libc-symbols.h (IS_IN_LIB): New macro.
33316 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33317 * include/netdb.h: Likewise.
33318 * include/stap-probe.h: Remove all uses of IN_LIB.
33319
33320 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33321 instead of IN_MODULE.
33322 * include/libc-symbols.h (IN_MODULE): Define using
33323 MODULE_NAME.
33324 (PASTE_NAME, PASTE_NAME1): New macros.
33325 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33326 of IN_LIB.
33327 (STAP_PROBE_ASM): Likewise.
33328
33329 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33330
33331 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33332 __mach_init in dlopened libc.
33333
33334 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33335
33336 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33337 * sysdeps/arm/preconfigure: Regenerate.
33338
33339 2014-11-21 Roland McGrath <roland@hack.frob.com>
33340
33341 * nptl/pthread_create.c (__pthread_create_2_1): Set
33342 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33343 when copying values from IATTR into PD.
33344
33345 2014-11-21 Will Newton <will.newton@linaro.org>
33346 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33347
33348 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33349 Refactor inline-asm. Also add comment.
33350
33351 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33352 ElfW macro instead of hardcoded Elf64 types.
33353 (la_aarch64_gnu_pltenter): Likewise.
33354 * sysdeps/aarch64/dl-machine.h
33355 (elf_machine_runtime_setup): Use ElfW(Addr).
33356
33357 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33358 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33359 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33360 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33361 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33362 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33363 (R_AARCH64_TLS_DTPMOD): This.
33364 (R_AARCH64_TLS_DTPREL64): Rename to ...
33365 (R_AARCH64_TLS_DTPREL): This.
33366 (R_AARCH64_TLS_TPREL64): Rename to ...
33367 (R_AARCH64_TLS_TPREL): This.
33368 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33369 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33370 R_AARCH64_TLS_TPREL64.
33371 (elf_machine_rela): Likewise.
33372
33373 2014-11-21 Torvald Riegel <triegel@redhat.com>
33374
33375 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33376 by setting it to 0. 64b atomics are not supported currently.
33377
33378 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33379
33380 [BZ #16469]
33381 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33382 search domain names.
33383
33384 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33385
33386 [BZ #16469]
33387 * NEWS: Update.
33388 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33389 trailing dot.
33390 * posix/tst-getaddrinfo5.c: New.
33391 * posix/Makefile (tests): Add it.
33392
33393 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33394
33395 [BZ #14498]
33396 * NEWS: Fixed.
33397 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33398 after parsing line but before break_if_match.
33399 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33400 if there is a protocol mismatch.
33401
33402 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33403
33404 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33405 because the potential race is on the user-supplied stream.
33406
33407 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33408
33409 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33410 string literal if not passed a buffer.
33411 * manual/job.texi (ctermid): Update reasoning, note deviation
33412 from posix, suggest mtasurace when not passed a buffer, for
33413 future non-preliminary safety notes.
33414
33415 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33416
33417 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33418 of not passing it a buffer.
33419 Reported by Peng Haitao.
33420
33421 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33422
33423 * manual/Makefile ($(objpfx)stamp-summary): Require
33424 check-safety.sh to pass.
33425 * manual/check-safety.sh: Wish for verification that every
33426 @deftypefn and @deftypefun is followed by a @safety remark.
33427
33428 2014-11-20 Roland McGrath <roland@hack.frob.com>
33429
33430 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33431
33432 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33433 PTHREAD_CANCEL_ASYNCHRONOUS.
33434 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33435 send SIGCANCEL.
33436
33437 * nptl/default-sched.h: New file.
33438 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33439 * nptl/pthread_create.c: Include it.
33440 (__pthread_create_2_1): Use collect_default_sched instead of making
33441 Linux syscalls here directly.
33442
33443 2014-11-20 Torvald Riegel <triegel@redhat.com>
33444
33445 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33446 __pthread_once): Use C11 atomics.
33447
33448 2014-11-20 Torvald Riegel <triegel@redhat.com>
33449
33450 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33451
33452 2014-11-20 Torvald Riegel <triegel@redhat.com>
33453
33454 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33455 atomic_thread_fence_acquire, atomic_thread_fence_release,
33456 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33457 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33458 atomic_compare_exchange_weak_relaxed,
33459 atomic_compare_exchange_weak_acquire,
33460 atomic_compare_exchange_weak_release,
33461 atomic_exchange_acquire, atomic_exchange_release,
33462 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33463 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33464 atomic_fetch_and_acquire,
33465 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33466
33467 2014-11-20 Torvald Riegel <triegel@redhat.com>
33468
33469 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33470 USE_ATOMIC_COMPILER_BUILTINS): Define.
33471 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33472 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33473 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33474 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33475 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33476 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33477 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33478 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33479 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33480 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33481 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33482 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33483 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33484 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33485 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33486 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33487 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33488 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33489 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33490 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33491 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33492 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33493 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33494 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33495 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33496 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33497 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33498 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33499 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33500 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33501 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33502 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33503 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33504 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33505 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33506 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33507 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33508 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33509 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33510 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33511
33512 2014-11-19 Roland McGrath <roland@hack.frob.com>
33513
33514 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33515 the sched_priority value here. It was already checked when the user
33516 called pthread_attr_setschedparam.
33517
33518 * nptl/tst-bad-schedattr.c: New file.
33519 * nptl/Makefile (tests): Add it.
33520
33521 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33522 Florian Weimer <fweimer@redhat.com>
33523 Joseph Myers <joseph@codesourcery.com>
33524 Adam Conrad <adconrad@0c3.net>
33525 Andreas Schwab <schwab@suse.de>
33526 Brooks <bmoses@google.com>
33527
33528 [BZ #17625]
33529 * wordexp-test.c (__dso_handle): Add prototype.
33530 (__register_atfork): Likewise.
33531 (__app_register_atfork): New function.
33532 (registered_forks): New global.
33533 (register_fork): New function.
33534 (test_case): Add 3 new tests for WRDE_CMDSUB.
33535 (main): Call __app_register_atfork.
33536 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33537 fork count is non-zero fail the test.
33538 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33539 is set.
33540 (parse_dollars): Remove check for WRDE_NOCMD.
33541 (parse_dquote): Likewise.
33542
33543 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33544
33545 * Makeconfig (built-modules): List non-library modules to be
33546 built.
33547 (module-cppflags): Include libc-modules.h for
33548 everything except shlib-versions.v.i.
33549 (CPPFLAGS): Use it.
33550 (before-compile): Add libc-modules.h.
33551 ($(common-objpfx)libc-modules.h,
33552 $(common-objpfx)libc-modules.stmp): New targets.
33553 (common-generated): Add libc-modules.h and libc-modules.stmp.
33554 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33555 * include/libc-symbols.h: Don't include libc-modules.h.
33556 * include/libc-modules.h: Remove file.
33557 * scripts/gen-libc-modules.awk: New script to generate
33558 libc-modules.h.
33559 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33560 Depend on libc-modules.stmp.
33561
33562 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33563
33564 * Makeconfig (in-module): Get value of libof set for the
33565 translation unit.
33566 (CPPFLAGS): Use $(in-module).
33567 * Makerules: Don't suffix routine names for nonlib.
33568 * include/libc-modules.h: New file.
33569 * include/libc-symbols.h: Include libc-modules.h
33570 (IS_IN): New macro to replace IS_IN_* macros.
33571 * elf/Makefile: Set libof-* for each routine.
33572 * elf/rtld-Rules: Likewise.
33573 * extra-modules.mk: Likewise.
33574 * iconv/Makefile: Likewise.
33575 * iconvdata/Makefile: Likewise.
33576 * locale/Makefile: Likewise.
33577 * malloc/Makefile: Likewise.
33578 * nss/Makefile: Likewise.
33579 * sysdeps/gnu/Makefile: Likewise.
33580 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33581 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33582 * sysdeps/s390/s390-64/Makefile: Likewise.
33583 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33584 CPPFLAGS for nscd instead of nonlib.
33585
33586 2014-11-18 Roland McGrath <roland@hack.frob.com>
33587
33588 * nptl/createthread.c: New file.
33589
33590 * nptl/createthread.c: Moved ...
33591 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33592
33593 * nptl/createthread.c: Add proper top-line comment.
33594 (do_clone): Folded into ...
33595 (create_thread): ... here. Take new arguments STOPPED_START and
33596 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33597 increment __nptl_threads, do event-reporting logic, do
33598 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33599 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33600 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33601 just send SIGCANCEL.
33602 * nptl/pthread_create.c: Forward-declare create_thread before
33603 including createthread.c.
33604 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33605 declaration, and new macro START_THREAD_SELF to replace argument.
33606 Remove return statement.
33607 (report_thread_creation): New function.
33608 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33609 synchronization logic, and __nptl_nthreads increment here, around
33610 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33611 PD->parent_cancelhandling here, before create_thread. When
33612 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33613 __deallocate_stack, and ENOMEM translation here.
33614
33615 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33616
33617 [BZ #17616]
33618 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33619 (mptwo): Rename to __mptwo.
33620 (__inv): Use __mptwo instead of mptwo.
33621 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33622 (mptwo): Rename to __mptwo.
33623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33624 of mpone and __mptwo instead of mptwo.
33625 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33626 instead of mpone.
33627 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33628 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33629 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33630 of mpone and __mptwo instead of mptwo.
33631 (__mpranred): Use __mpone instead of mpone.
33632 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33633 variable.
33634 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33635 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33636 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33637 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33638 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33639 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33640 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33641 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33642 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33643 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33644 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33645 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33646 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33647 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33648 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33649 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33650 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33651 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33652 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33653
33654 2014-11-18 Tom de Vries <tom@codesoucery.com>
33655
33656 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33657 replace BSD Handler xref with BSD Signal Handling.
33658
33659 2014-11-17 Richard Henderson <rth@redhat.com>
33660
33661 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33662 (_FP_PACK_RAW_2): Remove.
33663 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33664 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33665 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33666 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33667 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33668 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33669 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33670 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33671 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33672 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33673 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33674 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33675 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33676 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33677 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33678 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33679
33680 2014-11-14 Roland McGrath <roland@hack.frob.com>
33681
33682 * signal/signal.h [__USE_MISC]
33683 (struct sigvec): Remove type.
33684 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33685 (sigvec): Remove declaration.
33686 * sysdeps/posix/sigvec.c: Moved ...
33687 * signal/sigvec.c: ... here, replacing old file.
33688 (struct sigvec): New type, copied from old signal.h definition.
33689 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33690 (__sigvec): Convert definition to prototype.
33691 (sigvec): Replace weak_alias with compat_symbol.
33692 * signal/Versions (libc: GLIBC_2.21): New version set.
33693 * include/signal.h: Remove __sigvec declaration.
33694 * sysdeps/unix/bsd/sigvec.c: Remove file.
33695 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33696 * manual/signal.texi (BSD Handler): Remove subsection.
33697 Move siginterrupt up to ...
33698 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
33699 (Blocking in BSD): Fold subsection into its parent.
33700 * NEWS: Mention sigvec removal.
33701
33702 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33703
33704 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33705 (DLA_FMS): Make definition conditional only on [__FMA4__].
33706 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33707 definition.
33708
33709 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33710 Make definition conditional only on [PROF].
33711 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33712 definition.
33713 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33714 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33715
33716 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33717 !__GNUC__].
33718 * include/signal.h (__sigpause): Move declaration above call to
33719 libc_hidden_proto.
33720 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33721 variable.
33722 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33723 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33724
33725 2014-11-14 David S. Miller <davem@davemloft.net>
33726
33727 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33728 Define before including <string/memcpy.c> and <string/mempcpy.c>.
33729
33730 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33731
33732 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33733 * configure: Regenerated.
33734 * manual/install.texi (Tools for Compilation): Document a
33735 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33736 compiler verified to work.
33737 * INSTALL: Regenerated.
33738
33739 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33740 redeclare with asm name.
33741 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33742 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33743 including <string.h>.
33744 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33745 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33746 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33748 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33749 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33750 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33751
33752 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33753
33754 * stdlib/strtol.c (__strtol): Use prototype definition.
33755
33756 [BZ #17594]
33757 * stdlib/strtol.c (SYM__): New macro.
33758 (SYM__1): Likewise.
33759 (__strtol): Likewise.
33760 (strtol): Rename to __strtol and define as weak alias of
33761 __strtol. Use libc_hidden_weak.
33762
33763 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33764
33765 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33766 Use numbered labels in inline assembly.
33767
33768 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33769
33770 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33771 Add setjmp LIBC_PROBE.
33772 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33773 Likewise.
33774 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33775 Add longjmp, longjmp_target LIBC_PROBE.
33776 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33777 Likewise.
33778
33779 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33780
33781 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33782 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33783 to get rid of unused variable warning.
33784
33785 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33786
33787 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33788 Check for unwind_backtrace == NULL only in SHARED case.
33789 (__backchain_backtrace): Compile only in SHARED case.
33790 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33791 Likewise.
33792 (__backchain_backtrace): Declare as static.
33793
33794 2014-11-12 Roland McGrath <roland@hack.frob.com>
33795
33796 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33797 (__libc_multiple_threads_ptr): Variable moved ...
33798 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33799
33800 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33801
33802 * conform/GlibcConform.pm: New file.
33803 * conform/conformtest.pl: Use GlibcConform module.
33804 * conform/linknamespace.pl: New file.
33805 * conform/list-header-symbols.pl: Likewise.
33806 * conform/Makefile (linknamespace-symlists-base): New variable.
33807 (linknamespace-symlists-tests): Likewise.
33808 (linknamespace-header-base): Likewise.
33809 (linknamespace-header-tests): Likewise.
33810 (tests-special): Add new tests.
33811 ($(linknamespace-symlists-tests)): New rule.
33812 (linknamespace-libs): New variable.
33813 ($(objpfx)symlist-stdlibs): New rule.
33814 ($(linknamespace-header-tests)): Likewise.
33815 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33816 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33817 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33818 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33819 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33820 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33821 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33822 (test-xfail-ISO/math.h/linknamespace): Likewise.
33823 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33824 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33825 (test-xfail-ISO/time.h/linknamespace): Likewise.
33826 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33827 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33828 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33829 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33830 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33831 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33832 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33833 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33834 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33835 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33836 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33837 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33838 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33839 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33840 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33841 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33842 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33843 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33844 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33845 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33846 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33847 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33848 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33849 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33850 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33851 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33852 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33853 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33854 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33855 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33856 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33857 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33858 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33859 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33860 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33861 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33862 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33863 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33864 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33865 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33866 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33867 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33868 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33869 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33870 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33871 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33872 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33873 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33874 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33875 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33876 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33877 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33878 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33879 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33880 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33881 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33882 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33883 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33884 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33885 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33886 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33887 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33888 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33889 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33890 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33891 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33892 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33893 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33894 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33895 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33896 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33897 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33898 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33899 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33900 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33901 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33902 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33903 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33904 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33905 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33906 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33907 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33908 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33909 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33910 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33911 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33912 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33913 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33914 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33915 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33916 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33917 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33918 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33919 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33920 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33921 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33922 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33923 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33924 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33925 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33926 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33927 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33928 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33929 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33930 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33931 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33932 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33933 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33934 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33935 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33936 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33937 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33938 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33939 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33940 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33941 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33942 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33943 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33944 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33945 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33946 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33947 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33948 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33949 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33950 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33951 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33952 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33953 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33954 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33955 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33956 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33957 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33958 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33959 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33960 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33961 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33962 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33963 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33964 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33965 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33966 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33967 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33968 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33969 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33970 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33971 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33972 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33973 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33974 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33975 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33976
33977 [BZ #17589]
33978 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33979 of fgets_unlocked.
33980
33981 [BZ #17585]
33982 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33983 (memmem): Rename to __memmem and define as weak alias of
33984 __memmem. Use libc_hidden_weak.
33985 (__memmem): Use libc_hidden_def.
33986 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33987 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33988 memmem.
33989
33990 [BZ #17582]
33991 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33992 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33993 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33994 and define as weak alias of __fgets_unlocked. Use
33995 libc_hidden_weak.
33996 (__fgets_unlocked): Use libc_hidden_def.
33997 * include/stdio.h (__fgets_unlocked): Declare. Use
33998 libc_hidden_proto.
33999 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34000 __fgets_unlocked instead of fgets_unlocked.
34001 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34002 (GET_NPROCS_CONF_PARSER): Likewise.
34003 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34004 (GET_NPROCS_CONF_PARSER): Likewise.
34005
34006 [BZ #17574]
34007 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34008 weak alias of __wmemset. Use libc_hidden_weak.
34009 (__wmemset): Use libc_hidden_def.
34010 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
34011 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34012 of wmemset.
34013
34014 [BZ #17573]
34015 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34016 with asm name __mempcpy.
34017 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34018
34019 [BZ #17572]
34020 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34021 and define as weak alias of __rawmemchr.
34022 (__rawmemchr): Do not define as strong alias of rawmemchr.
34023
34024 [BZ #17571]
34025 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34026 alias of __qsort_r.
34027 (qsort): Call __qsort_r instead of qsort_r.
34028 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34029 (__qsort_r): Declare. Call libc_hidden_proto.
34030 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34031 instead of qsort_r.
34032 * nscd/gai.c (__qsort_r): Define to qsort_r.
34033 * posix/tst-rfc3484.c (__qsort_r): Likewise.
34034 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34035 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34036
34037 [BZ #17570]
34038 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34039 define as weak alias of __malloc_info.
34040
34041 [BZ #17584]
34042 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34043 as weak alias of __rewinddir. Don't use libc_hidden_def.
34044 (__rewinddir): Use libc_hidden_def.
34045 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34046 as weak alias of __rewinddir. Don't use libc_hidden_def.
34047 (__rewinddir): Use libc_hidden_def.
34048 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34049 weak alias of __rewinddir. Don't use libc_hidden_def.
34050 (__rewinddir): Use libc_hidden_def.
34051 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34052 (__rewinddir): Use libc_hidden_proto.
34053 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34054 rewinddir.
34055 (__getcwd): Use __rewinddir instead of rewinddir.
34056
34057 [BZ #17583]
34058 * libio/fileno.c (fileno): Rename to __fileno and define as weak
34059 alias of __fileno. Use libc_hidden_weak.
34060 (__fileno): Use libc_hidden_def.
34061 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34062 * libio/ftello.c (ftello): Rename to __ftello and define as weak
34063 alias of __ftello.
34064 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34065 __ftello.
34066 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34067 (__fread_unlocked): Define as strong alias of _IO_fread. Use
34068 libc_hidden_def.
34069 (fread_unlocked): Don't use libc_hidden_ver.
34070 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34071 and define as weak alias of __fread_unlocked. Don't use
34072 libc_hidden_def.
34073 (__fread_unlocked): Use libc_hidden_def.
34074 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
34075 (ftello): Don't use libc_hidden_proto.
34076 (__ftello): Declare. Use libc_hidden_proto.
34077 (fread_unlocked): Don't use libc_hidden_proto.
34078 (__fread_unlocked): Declare. Use libc_hidden_proto.
34079 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34080 and __ftello instead of fileno, fread_unlocked and ftello.
34081
34082 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34083
34084 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34085 GOT12.
34086 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34087 Likewise.
34088 (_dl_start_user): Likewise.
34089 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34090
34091 2014-11-12 Carlos O'Donell <carlos@redhat.com>
34092 Siddhesh Poyarekar <siddhesh@redhat.com>
34093
34094 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34095 Move argv and envp down instead of moving argc up.
34096 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34097
34098 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
34099
34100 [BZ #17506]
34101 * test-skeleton.c (main): Return successful if one of
34102 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34103 * string/tst-strcoll-overflow.c: Define expected status.
34104
34105 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
34106
34107 [BZ #17475]
34108 * locale/iso-639.def: Define Bhili and Tulu language codes.
34109
34110 2014-11-11 Alan Hayward <alan.hayward@arm.com>
34111
34112 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34113
34114 2014-11-10 Renlin Li <Renlin.Li@arm.com>
34115
34116 [BZ #17555]
34117 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34118
34119 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
34120
34121 * configure.ac: Updated check of minimal required version to
34122 2.22.
34123 * manual/install.texi (Tools for Compilation): Updated version
34124 number.
34125 * configure: Regenerated.
34126 * INSTALL: Likewise.
34127
34128 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
34129
34130 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34131 __tls_get_addr.
34132
34133 2014-11-07 Joseph Myers <joseph@codesourcery.com>
34134
34135 * include/sys/wait.h (__libc_waitpid): Remove declaration.
34136 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34137 (__waitpid): Don't define as alias. Use libc_hidden_def not
34138 libc_hidden_weak.
34139 (waitpid): Define as alias of __waitpid.
34140 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34141 __waitpid.
34142 (__waitpid): Don't define as alias. Use libc_hidden_def not
34143 libc_hidden_weak.
34144 (waitpid): Define as alias of __waitpid.
34145 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34146 __libc_waitpid alias.
34147 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34148 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34149 Likewise.
34150 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34151 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34152 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34153 alias.
34154 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34155 __waitpid.
34156 (__waitpid): Don't define as alias. Use libc_hidden_def not
34157 libc_hidden_weak.
34158 (waitpid): Define as alias of __waitpid.
34159
34160 2014-11-06 Carlos O'Donell <carlos@redhat.com>
34161
34162 * manual/llio.texi: Add comment that write safety has been
34163 fixed in Linux.
34164
34165 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34166 (localplt-build-dso): Add elf/ld.so.
34167 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34168 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34169 and free for ld.so.
34170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34171 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34173 Likewise.
34174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34175 Likewise.
34176 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34177 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34178 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34179 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34180 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34181 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34182 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34183 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34184 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34185 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34186 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34187
34188 2014-11-05 Joseph Myers <joseph@codesourcery.com>
34189
34190 [BZ #14132]
34191 * include/libc-symbols.h (INTUSE): Remove macro.
34192 (INTDEF): Likewise.
34193 (INTVARDEF): Likewise.
34194 (_INTVARDEF): Likewise.
34195 (INTDEF2): Likewise.
34196 (INTVARDEF2): Likewise.
34197 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34198 rtld_hidden_def instead of INTVARDEF.
34199 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34200 (_dl_starting_up_internal): Remove declaration.
34201 (_dl_starting_up): Use rtld_hidden_proto.
34202 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34203 declaration.
34204 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34205 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34206 _dl_starting_up.
34207 * elf/dl-writev.h (_dl_writev): Likewise.
34208 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34209 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34210 _dl_starting_up_internal.
34211
34212 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34213
34214 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34215 test-skeleton.c.
34216
34217 2014-11-05 Will Newton <will.newton@linaro.org>
34218
34219 * benchtests/Makefile: (bench-malloc): Add malloc thread
34220 scalability benchmark.
34221 * benchtests/bench-malloc-threads.c: New file.
34222
34223 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
34224
34225 * sysdeps/aarch64/strchrnul.S: New file.
34226
34227 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34228
34229 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34230 definition.
34231 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34232 Likewise.
34233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34234 Likewise.
34235 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34236 Likewise.
34237 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34238 Likewise.
34239 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34240 Likewise.
34241
34242 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
34243
34244 * catgets/test-gencat.c: Use test-skeleton.c.
34245 * catgets/tst-catgets.c: Likewise.
34246 * csu/tst-empty.c: Likewise.
34247 * elf/tst-audit2.c: Likewise.
34248 * elf/tst-global1.c: Likewise.
34249 * elf/tst-pathopt.c: Likewise.
34250 * elf/tst-piemod1.c: Likewise.
34251 * elf/tst-tls10.c: Likewise.
34252 * elf/tst-tls11.c: Likewise.
34253 * elf/tst-tls12.c: Likewise.
34254 * gnulib/tst-gcc.c: Likewise.
34255 * iconvdata/tst-e2big.c: Likewise.
34256 * iconvdata/tst-loading.c: Likewise.
34257 * iconv/tst-iconv1.c: Likewise.
34258 * iconv/tst-iconv2.c: Likewise.
34259 * inet/test-inet6_opt.c: Likewise.
34260 * inet/tst-gethnm.c: Likewise.
34261 * inet/tst-network.c: Likewise.
34262 * inet/tst-ntoa.c: Likewise.
34263 * intl/tst-codeset.c: Likewise.
34264 * intl/tst-gettext2.c: Likewise.
34265 * intl/tst-gettext3.c: Likewise.
34266 * intl/tst-ngettext.c: Likewise.
34267 * intl/tst-translit.c: Likewise.
34268 * io/test-stat.c: Likewise.
34269 * libio/test-fmemopen.c: Likewise.
34270 * libio/tst-freopen.c: Likewise.
34271 * libio/tst-sscanf.c: Likewise.
34272 * libio/tst-ungetwc1.c: Likewise.
34273 * libio/tst-ungetwc2.c: Likewise.
34274 * libio/tst-widetext.c: Likewise.
34275 * localedata/tst-ctype.c: Likewise.
34276 * localedata/tst-digits.c: Likewise.
34277 * localedata/tst-leaks.c: Likewise.
34278 * localedata/tst-mbswcs1.c: Likewise.
34279 * localedata/tst-mbswcs2.c: Likewise.
34280 * localedata/tst-mbswcs3.c: Likewise.
34281 * localedata/tst-mbswcs4.c: Likewise.
34282 * localedata/tst-mbswcs5.c: Likewise.
34283 * localedata/tst-setlocale.c: Likewise.
34284 * localedata/tst-trans.c: Likewise.
34285 * localedata/tst-wctype.c: Likewise.
34286 * localedata/tst-xlocale1.c: Likewise.
34287 * login/tst-grantpt.c: Likewise.
34288 * malloc/tst-calloc.c: Likewise.
34289 * malloc/tst-malloc.c: Likewise.
34290 * malloc/tst-mallocstate.c: Likewise.
34291 * malloc/tst-mcheck.c: Likewise.
34292 * malloc/tst-mtrace.c: Likewise.
34293 * malloc/tst-obstack.c: Likewise.
34294 * math/atest-exp2.c: Likewise.
34295 * math/atest-exp.c: Likewise.
34296 * math/atest-sincos.c: Likewise.
34297 * math/test-matherr.c: Likewise.
34298 * math/test-misc.c: Likewise.
34299 * math/test-powl.c: Likewise.
34300 * math/tst-definitions.c: Likewise.
34301 * misc/tst-dirname.c: Likewise.
34302 * misc/tst-efgcvt.c: Likewise.
34303 * misc/tst-fdset.c: Likewise.
34304 * misc/tst-hsearch.c: Likewise.
34305 * misc/tst-mntent2.c: Likewise.
34306 * nptl/tst-sem7.c: Likewise.
34307 * nptl/tst-sem8.c: Likewise.
34308 * nptl/tst-sem9.c: Likewise.
34309 * nss/test-netdb.c: Likewise.
34310 * posix/tst-fnmatch.c: Likewise.
34311 * posix/tst-getlogin.c: Likewise.
34312 * posix/tst-gnuglob.c: Likewise.
34313 * posix/tst-mmap.c: Likewise.
34314 * pwd/tst-getpw.c: Likewise.
34315 * resolv/tst-inet_ntop.c: Likewise.
34316 * rt/tst-timer.c: Likewise.
34317 * stdio-common/test-fseek.c: Likewise.
34318 * stdio-common/test-popen.c: Likewise.
34319 * stdio-common/test-vfprintf.c: Likewise.
34320 * stdio-common/tst-cookie.c: Likewise.
34321 * stdio-common/tst-fileno.c: Likewise.
34322 * stdio-common/tst-gets.c: Likewise.
34323 * stdio-common/tst-obprintf.c: Likewise.
34324 * stdio-common/tst-perror.c: Likewise.
34325 * stdio-common/tst-sprintf2.c: Likewise.
34326 * stdio-common/tst-sprintf3.c: Likewise.
34327 * stdio-common/tst-sprintf.c: Likewise.
34328 * stdio-common/tst-swprintf.c: Likewise.
34329 * stdio-common/tst-tmpnam.c: Likewise.
34330 * stdio-common/tst-unbputc.c: Likewise.
34331 * stdio-common/tst-wc-printf.c: Likewise.
34332 * stdlib/tst-environ.c: Likewise.
34333 * stdlib/tst-fmtmsg.c: Likewise.
34334 * stdlib/tst-limits.c: Likewise.
34335 * stdlib/tst-rand48-2.c: Likewise.
34336 * stdlib/tst-rand48.c: Likewise.
34337 * stdlib/tst-random2.c: Likewise.
34338 * stdlib/tst-random.c: Likewise.
34339 * stdlib/tst-strtol.c: Likewise.
34340 * stdlib/tst-strtoll.c: Likewise.
34341 * stdlib/tst-tls-atexit.c: Likewise.
34342 * stdlib/tst-xpg-basename.c: Likewise.
34343 * string/test-ffs.c: Likewise.
34344 * string/tst-bswap.c: Likewise.
34345 * string/tst-inlcall.c: Likewise.
34346 * string/tst-strtok.c: Likewise.
34347 * string/tst-strxfrm.c: Likewise.
34348 * sysdeps/x86_64/tst-audit10.c: Likewise.
34349 * sysdeps/x86_64/tst-audit3.c: Likewise.
34350 * sysdeps/x86_64/tst-audit4.c: Likewise.
34351 * sysdeps/x86_64/tst-audit5.c: Likewise.
34352 * time/tst-ftime_l.c: Likewise.
34353 * time/tst-getdate.c: Likewise.
34354 * time/tst-mktime3.c: Likewise.
34355 * time/tst-mktime.c: Likewise.
34356 * time/tst-posixtz.c: Likewise.
34357 * time/tst-strptime2.c: Likewise.
34358 * time/tst-strptime3.c: Likewise.
34359 * wcsmbs/tst-btowc.c: Likewise.
34360 * wcsmbs/tst-mbrtowc.c: Likewise.
34361 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34362 * wcsmbs/tst-wchar-h.c: Likewise.
34363 * wcsmbs/tst-wcpncpy.c: Likewise.
34364 * wcsmbs/tst-wcrtomb.c: Likewise.
34365 * wcsmbs/tst-wcsnlen.c: Likewise.
34366 * wcsmbs/tst-wcstof.c: Likewise.
34367
34368 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34369
34370 [BZ #14132]
34371 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34372 INTDEF.
34373 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34374 declaration.
34375 (_dl_mcount): Use rtld_hidden_proto.
34376 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34377 _dl_mcount.
34378 * elf/rtld.c (_rtld_global_ro): Likewise.
34379
34380 [BZ #14132]
34381 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34382 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34383 of _dl_init_internal.
34384 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34385 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34386 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34387 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34388 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34389 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34390 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34391 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34392 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34393 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34394 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34395 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34396 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34397 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34398 * sysdeps/tile/dl-start.S (_start): Likewise.
34399 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34400 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34401
34402 [BZ #14132]
34403 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34404 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34405 (rtld_progname): Make macro definition unconditional.
34406 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34407 INTDEF.
34408 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34409 (dl_main): Likewise.
34410 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34411 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34412 instead of _dl_argv_internal.
34413 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34414 __GI__dl_argv instead of INTUSE(_dl_argv).
34415 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34416 __GI__dl_argv instead of _dl_argv_internal.
34417
34418 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34419 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34420 macro.
34421 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34422 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34423 New macro.
34424 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34425 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34426 macro.
34427 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34428 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34429
34430 2014-11-04 Andreas Schwab <schwab@suse.de>
34431
34432 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34433
34434 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34435
34436 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34437 mtvsrd instruction in binary form.
34438
34439 2014-11-03 Andreas Schwab <schwab@suse.de>
34440
34441 [BZ #17522]
34442 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34443 for less than MB_LEN_MAX use a local buffer of that size.
34444 * libio/tst-fputws.c: New file.
34445 * libio/Makefile (tests): Add tst-fputws.
34446
34447 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34448
34449 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34450 the size of the fpu_fr.fpu_dregs[] array.
34451
34452 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34453
34454 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34455 (__nanosleep): Do not define as alias.
34456 (nanosleep): Define as alias of __nanosleep.
34457 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34458 __libc_nanosleep name.
34459
34460 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34461
34462 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34463 install.texi in comment.
34464
34465 2014-10-31 Torvald Riegel <triegel@redhat.com>
34466
34467 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34468 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34469 ... add here and use lwsync or sync ...
34470 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34471 ... and add here using lwsync.
34472
34473 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34474
34475 * elf/dl-machine-reject-phdr.h: New file.
34476 * elf/dl-load.c: #include that.
34477 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34478 if that returned true.
34479
34480 2014-10-31 Roland McGrath <roland@hack.frob.com>
34481
34482 [BZ #17496]
34483 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34484 gen-as-const-headers chunk. Add a big scare comment after the last
34485 safe place to touch before-compile.
34486
34487 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34488
34489 * manual/install.texi (Tools for Compilation): Update autoconf
34490 version requirements.
34491 * INSTALL: Regenerated.
34492
34493 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34494 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34495 (__libc_pselect): Likewise.
34496
34497 [BZ #14138]
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34502
34503 2014-10-31 Torvald Riegel <triegel@redhat.com>
34504
34505 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34506 correct barrier instruction.
34507 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34508 Likewise.
34509 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34510 Likewise.
34511
34512 2014-10-30 Roland McGrath <roland@hack.frob.com>
34513
34514 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34515 after defining inlines. Instead, just use parens to defeat macro
34516 expansion of __isctype in its declaration.
34517
34518 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34519
34520 * include/sys/uio.h (__libc_readv): Remove declaration.
34521 (__libc_writev): Likewise.
34522 * misc/readv.c (__libc_readv): Rename to __readv.
34523 (__readv): Do not define as alias.
34524 (readv): Define as alias of __readv.
34525 * misc/writev.c (__libc_writev): Rename to __writev.
34526 (__writev): Do not define as alias.
34527 (writev): Define as alias of __writev.
34528 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34529 (__readv): Do not define as alias.
34530 (readv): Define unconditionally as alias of __readv.
34531 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34532 (__writev): Do not define as alias.
34533 (writev): Define unconditionally as alias of __writev.
34534 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34535 name.
34536 (writev): Do not define __libc_writev name.
34537
34538 2014-10-30 Roland McGrath <roland@hack.frob.com>
34539
34540 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34541 (convert_charseq): New function, broken out of ...
34542 (use_from_charmap): ... here. Call it.
34543 (use_to_charmap): Use convert_charseq and free instead of duplicating
34544 its code with a variable-length stack struct.
34545
34546 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34547
34548 * include/fcntl.h (__libc_creat): Remove declaration.
34549 * io/creat.c (__libc_creat): Rename to creat.
34550 (creat): Do not define as alias.
34551 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34552 of creat instead of __libc_creat.
34553 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34554 to creat.
34555 (creat): Do not define as alias.
34556 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34557 __libc_creat.
34558 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34559 __libc_creat name.
34560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34561 Likewise.
34562
34563 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34564
34565 * manual/llio.texi: Add comments discussing why write() may be
34566 considered MT-unsafe on Linux.
34567
34568 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34569
34570 * dl-load.c (local_strdup): Remove.
34571 (expand_dynamic_string_token): Use __strdup.
34572 (decompose_rpath): Likewise.
34573 (_dl_map_object): Likewise.
34574
34575 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34576
34577 [BZ #14132]
34578 * sysdeps/generic/unwind-dw2-fde.c
34579 (__register_frame_info_bases_internal): Do not declare.
34580 (__register_frame_info_table_bases_internal): Likewise.
34581 (__deregister_frame_info_bases_internal): Likewise.
34582 (__register_frame_info_bases): Declare and use hidden_proto before
34583 definition. Use hidden_def instead of INTDEF.
34584 (__register_frame_info_table_bases): Likewise.
34585 (__deregister_frame_info_bases): Likewise.
34586 (__register_frame_info): Do not use INTUSE.
34587 (__register_frame): Likewise.
34588 (__register_frame_info_table): Likewise.
34589 (__register_frame_table): Likewise.
34590 (__deregister_frame_info): Likewise.
34591 (__deregister_frame): Likewise.
34592
34593 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34594
34595 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34596 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34597 not undefine.
34598 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34599 Likewise.
34600 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34601 Likewise.
34602
34603 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34604
34605 [BZ #14138]
34606 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34607 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34608 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34609 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34610 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34611 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34612 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34613 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34614 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34615 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34616 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34617 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34618 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34619 syscall.
34620 (setfsuid): Likewise.
34621 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34622 (setfsuid): Likewise.
34623 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34624 (setfsuid): Likewise.
34625 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34626 Likewise.
34627 (setfsuid): Likewise.
34628 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34629 (setfsuid): Likewise.
34630 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34631 Likewise.
34632 (setfsuid): Likewise.
34633
34634 2014-10-27 Andreas Schwab <schwab@suse.de>
34635
34636 [BZ #17501]
34637 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34638 check for Slow_SSE4_2 feature bit.
34639 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34640 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34641 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34642 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34643
34644 2014-10-24 Roland McGrath <roland@hack.frob.com>
34645
34646 * configure.ac: Validate compiler version with a empirical test of
34647 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34648 $CC -v output.
34649 * configure: Regenerated.
34650
34651 * inet/htons.c (htons): Prototypify.
34652 * inet/htonl.c (htonl): Likewise.
34653
34654 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34655
34656 * string/strncat.c (strncat): Improve performance by using strlen.
34657
34658 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34659
34660 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34661
34662 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34663
34664 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34665 Call libc_fetestexcept_aarch64.
34666
34667 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34668
34669 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34670 Call libc_feholdexcept_aarch64.
34671
34672 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34673
34674 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34675 Call get_rounding_mode.
34676
34677 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34678
34679 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34680 Simplify logic.
34681
34682 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34683
34684 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34685 Simplify logic.
34686
34687 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34688
34689 [BZ #14138]
34690 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34691 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34692 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34693 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34694 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34695 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34696 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34697 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34698 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34699 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34700 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34701 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34702 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34703 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34704 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34705 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34706 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34707 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34708 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34709 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34710 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34711 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34712 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34713 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34714 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34715 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34716 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34717 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34718 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34719 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34720 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34721 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34722 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34723 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34724 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34725 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34726 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34727 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34728 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34729 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34730 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34731 syscall.
34732 (geteuid): Likewise.
34733 (getgid): Likewise.
34734 (getuid): Likewise.
34735 (getresgid): Likewise.
34736 (getresuid): Likewise.
34737 (getgroups): Likewise.
34738 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34739 (geteuid): Likewise.
34740 (getgid): Likewise.
34741 (getuid): Likewise.
34742 (getresgid): Likewise.
34743 (getresuid): Likewise.
34744 (getgroups): Likewise.
34745 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34746 (geteuid): Likewise.
34747 (getgid): Likewise.
34748 (getuid): Likewise.
34749 (getresgid): Likewise.
34750 (getresuid): Likewise.
34751 (getgroups): Likewise.
34752 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34753 Likewise.
34754 (geteuid): Likewise.
34755 (getgid): Likewise.
34756 (getuid): Likewise.
34757 (getresgid): Likewise.
34758 (getresuid): Likewise.
34759 (getgroups): Likewise.
34760 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34761 (geteuid): Likewise.
34762 (getgid): Likewise.
34763 (getuid): Likewise.
34764 (getresgid): Likewise.
34765 (getresuid): Likewise.
34766 (getgroups): Likewise.
34767 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34768 Likewise.
34769 (geteuid): Likewise.
34770 (getgid): Likewise.
34771 (getuid): Likewise.
34772 (getgroups): Likewise.
34773
34774 [BZ #14138]
34775 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34776 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34777 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34778 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34779 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34780 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34781 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34782 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34783 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34784 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34785 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34786 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34787 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34788 __chown.
34789 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34790 (lchown): Likewise.
34791 (fchown): Likewise.
34792 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34793 Likewise.
34794 (lchown): Likewise.
34795 (fchown): Likewise.
34796 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34797 (lchown): Likewise.
34798 (fchown): Likewise.
34799 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34800 Likewise.
34801 (lchown): Likewise.
34802 (fchown): Likewise.
34803
34804 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34805
34806 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34807 Simplify logic.
34808
34809 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34810
34811 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34812 Cleanup logic.
34813
34814 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34815
34816 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34817 Remove unused include.
34818
34819 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34820
34821 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34822 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34823 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34824 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34825
34826 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34827 Helge Deller <deller@gmx.de>
34828
34829 [BZ #17508]
34830 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34831 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34832 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34833
34834 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34835
34836 [BZ #14132]
34837 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34838 Remove macro definition.
34839 (__ashrdi3_v_glibc20): Likewise.
34840 (__lshrdi3_v_glibc20): Likewise.
34841 (__cmpdi2_v_glibc20): Likewise.
34842 (__ucmpdi2_v_glibc20): Likewise.
34843 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34844 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34845 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34846 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34847 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34848 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34849
34850 2014-10-22 Roland McGrath <roland@hack.frob.com>
34851
34852 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34853 old GNU extension [0] syntax.
34854 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34855 alloca rather than an array member with variable length.
34856 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34857 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34858 (parse_opt): ... here. Likewise use alloca there.
34859 Validate the -i argument before checking for rootness.
34860 (send_shutdown): New function, broken out of ...
34861 (parse_opt): ... here.
34862
34863 2014-10-22 Roland McGrath <roland@hack.frob.com>
34864
34865 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34866 macro to get at the _rt_local_ro field.
34867 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34868 ([PIC] case) or _dl_hwcap ([!PIC] case).
34869 * sysdeps/arm/setjmp.S: Likewise.
34870
34871 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34872 * sysdeps/arm/configure.ac: New check to define it.
34873 * sysdeps/arm/configure: Regenerated.
34874 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34875 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34876 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34877 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34878 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34879 Use move/movt pair instead of a load.
34880 (LDST_GLOBAL): Macro removed.
34881 (LDR_GLOBAL): New macro replaces it.
34882 (LDR_HIDDEN): New macro.
34883 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34884 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34885
34886 * setjmp/tst-setjmp-static.c: New file.
34887 * setjmp/Makefile (tests): Add it.
34888 (tests-static): New variable.
34889
34890 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34891
34892 [BZ #17485]
34893 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34894
34895 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34896
34897 [BZ #14132]
34898 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34899
34900 2014-10-21 Roland McGrath <roland@hack.frob.com>
34901
34902 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34903
34904 2014-10-20 Roland McGrath <roland@hack.frob.com>
34905
34906 * io/fts.c (dirent_not_directory): New function.
34907 (fts_build): Call it.
34908
34909 2014-10-20 Roland McGrath <roland@hack.frob.com>
34910
34911 * nptl/version.c (__nptl_main): Use normal __write rather than
34912 INTERNAL_SYSCALL.
34913 (banner): Update copyright years.
34914
34915 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34916 gettimeofday.
34917 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34918 * nptl/pthread_cond_timedwait.c: Likewise.
34919 * nptl/pthread_mutex_timedlock.c: Likewise.
34920 * nptl/sem_timedwait.c: Likewise.
34921
34922 * sysdeps/nptl/bits/libc-lock.h
34923 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34924 (__libc_lock_init_recursive): Return void, not 0.
34925 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34926 (__libc_rwlock_init): Likewise.
34927 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34928
34929 2014-10-20 Torvald Riegel <triegel@redhat.com>
34930
34931 [BZ #15215]
34932 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34933 (__pthread_once_slow): ... here.
34934 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34935 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34936
34937 2014-10-20 Torvald Riegel <triegel@redhat.com>
34938
34939 [BZ #15215]
34940 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34941 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34942 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34943 * nptl/pthread_once.c (__pthread_once): Likewise.
34944 Update comments.
34945
34946 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34947
34948 [BZ #14138]
34949 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34950 name.
34951 (writev): Use __libc_writev as strong name.
34952 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34953 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34954
34955 2014-10-17 Roland McGrath <roland@hack.frob.com>
34956
34957 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34958
34959 * sysdeps/i386/nptl/tls.h
34960 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34961 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34962 New macros.
34963 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34964 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34965 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34966 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34967 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34968 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34969
34970 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34971 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34972 on [__NR_futex].
34973 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34974 broken out of ...
34975 (__pthread_mutex_init): ... here. Call it.
34976 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34977 Conditionalize PI cases on [__NR_futex].
34978 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34979 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34980 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34981
34982 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34983 conditional on [SIGSETXID].
34984 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34985 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34986 is defined. Likewise for SIGSETXID.
34987 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34988 Conditionalize definitions on [SIGSETXID].
34989 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34990 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34991 unblocking on [SIGCANCEL].
34992
34993 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34994 [__NR_set_robust_list].
34995
34996 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34997
34998 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34999 (do_compare): Likewise.
35000
35001 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
35002
35003 [BZ #15884]
35004 * string/strcoll_l.c: Don't include stdio.h.
35005 (coll_seq): Remove members idxarr and rulearr.
35006 (get_next_seq_cached): Remove function.
35007 (get_next_seq): Likewise.
35008 (get_next_seq_nocache): Rename to get_next_seq.
35009 (do_compare): Remove function.
35010 (do_compare_nocache): Rename to do_compare.
35011 (STRCOLL): Remove weight and rules cache.
35012
35013 2014-10-16 Roland McGrath <roland@hack.frob.com>
35014
35015 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35016 * sysdeps/arm/sfp-machine.h: ... to here.
35017 * sysdeps/arm/Implies: Remove arm/soft-fp.
35018
35019 2014-10-14 Joseph Myers <joseph@codesourcery.com>
35020
35021 * conform/data/sys/utsname.h-data (*_t): Allow.
35022 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35023 [POSIX] (WEXITED): Do not expect constant.
35024 [POSIX] (WSTOPPED): Likewise.
35025 [POSIX] (WNOHANG): Likewise.
35026 [POSIX] (WNOWAIT): Likewise.
35027 [POSIX] (siginfo_t): Do not expect type or elements.
35028 [POSIX] (pid_t): Do not expect type.
35029 [POSIX] (signal.h): Do not allow header.
35030 [POSIX] (sys/resource.h): Likewise.
35031 [POSIX] (si_*): Do not allow pattern.
35032 [POSIX] (W*): Likewise.
35033 [POSIX] (P_*): Likewise.
35034 [POSIX] (BUS_*): Likewise.
35035 [POSIX] (CLD_*): Likewise.
35036 [POSIX] (FPE_*): Likewise.
35037 [POSIX] (ILL_*): Likewise.
35038 [POSIX] (POLL_*): Likewise.
35039 [POSIX] (SEGV_*): Likewise.
35040 [POSIX] (SI_*): Likewise.
35041 [POSIX] (TRAP_*): Likewise.
35042 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35043 variable.
35044
35045 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
35046
35047 [BZ #12926]
35048 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35049 infinite loop when __recvmsg returns 0.
35050
35051 2014-10-10 Joseph Myers <joseph@codesourcery.com>
35052
35053 * CANCEL-FCT-WAIVE: Remove file.
35054 * CANCEL-FILE-WAIVE: Likewise.
35055
35056 [BZ #14132]
35057 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35058 instead of INTVARDEF.
35059 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35060 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35061 rtld_hidden_data_def instead of INTVARDEF.
35062 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35063 * elf/dl-deps.c (expand_dst): Likewise.
35064 * elf/dl-load.c (_dl_dst_count): Likewise.
35065 (_dl_dst_substitute): Likewise.
35066 (decompose_rpath): Likewise.
35067 (_dl_init_paths): Likewise.
35068 (open_path): Likewise.
35069 (_dl_map_object): Likewise.
35070 * elf/rtld.c (dl_main): Likewise.
35071 (process_dl_audit): Likewise.
35072 (process_envvars): Likewise.
35073 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35074 Remove declaration.
35075 (__libc_enable_secure): Use rtld_hidden_proto.
35076
35077 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35078
35079 * elf/dl-load.c
35080 (add_path): New function broken out of _dl_rtld_di_serinfo.
35081 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
35082
35083 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35084
35085 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35086 parentheses around macro arguments.
35087 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35088 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35089 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35090 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35091 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35092 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35093 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35094 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35095 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35096 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35097 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35098 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35099 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35100 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35101 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35102 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35103 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35104 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35105 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35106 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35107 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35108 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35109 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35110 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35111 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35112 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35113 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35114 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35115 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35116 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35117 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35118 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35119 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35120 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35121 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35122 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35123 Likewise.
35124 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35125 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35126 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35127 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35128 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35129 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35130 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35131 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35132 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35133 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35134 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35135 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35136 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35137 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35138 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35139 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35140 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35141 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35142 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35144 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35145 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35146 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35147 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35148 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35149 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35150 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35151 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35152 (_FP_FRAC_SRS_1): Likewise.
35153 (_FP_FRAC_CLZ_1): Likewise.
35154 (_FP_MUL_MEAT_1_imm): Likewise.
35155 (_FP_MUL_MEAT_1_wide): Likewise.
35156 (_FP_MUL_MEAT_1_hard): Likewise.
35157 (_FP_SQRT_MEAT_1): Likewise.
35158 (_FP_FRAC_ASSEMBLE_1): Likewise.
35159 (_FP_FRAC_DISASSEMBLE_1): Likewise.
35160 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35161 (__FP_CLZ_2): Likewise.
35162 (_FP_MUL_MEAT_2_wide): Likewise.
35163 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35164 (_FP_MUL_MEAT_2_gmp): Likewise.
35165 (_FP_MUL_MEAT_2_120_240_double): Likewise.
35166 (_FP_SQRT_MEAT_2): Likewise.
35167 (_FP_FRAC_ASSEMBLE_2): Likewise.
35168 (_FP_FRAC_DISASSEMBLE_2): Likewise.
35169 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35170 (_FP_FRAC_CLZ_4): Likewise.
35171 (_FP_MUL_MEAT_4_wide): Likewise.
35172 (_FP_MUL_MEAT_4_gmp): Likewise.
35173 (_FP_SQRT_MEAT_4): Likewise.
35174 (_FP_FRAC_ASSEMBLE_4): Likewise.
35175 (_FP_FRAC_DISASSEMBLE_4): Likewise.
35176 * soft-fp/op-common.h (_FP_CMP): Likewise.
35177 (_FP_CMP_EQ): Likewise.
35178 (_FP_CMP_UNORD): Likewise.
35179 (_FP_TO_INT): Likewise.
35180 (_FP_FROM_INT): Likewise.
35181 [!__FP_CLZ] (__FP_CLZ): Likewise.
35182 (_FP_DIV_HELP_imm): Likewise.
35183 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35184 Likewise.
35185 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35186 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35187 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35188 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35189 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35190 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35191 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35192 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35193 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35194 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35195 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35196 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35197 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35198 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35199 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35200 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35201 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35202 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35203 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35204 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35205 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35206 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35207 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35208 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35209 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35210 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35211 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35212 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35213 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35214 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35215 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35216 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35217 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35218 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35219 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35220 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35221 (FP_UNPACK_RAW_SP): Likewise.
35222 (FP_PACK_RAW_S): Likewise.
35223 (FP_PACK_RAW_SP): Likewise.
35224 (FP_UNPACK_S): Likewise.
35225 (FP_UNPACK_SP): Likewise.
35226 (FP_UNPACK_SEMIRAW_S): Likewise.
35227 (FP_UNPACK_SEMIRAW_SP): Likewise.
35228 (FP_PACK_S): Likewise.
35229 (FP_PACK_SP): Likewise.
35230 (FP_PACK_SEMIRAW_S): Likewise.
35231 (FP_PACK_SEMIRAW_SP): Likewise.
35232 (_FP_SQRT_MEAT_S): Likewise.
35233 (FP_CMP_S): Likewise.
35234 (FP_CMP_EQ_S): Likewise.
35235 (FP_CMP_UNORD_S): Likewise.
35236 (FP_TO_INT_S): Likewise.
35237 (FP_FROM_INT_S): Likewise.
35238
35239 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35240
35241 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35242 (FP_EX_INVALID_IMZ): Likewise.
35243 (FP_EX_INVALID_IMZ_FMA): Likewise.
35244 (FP_EX_INVALID_ISI): Likewise.
35245 (FP_EX_INVALID_ZDZ): Likewise.
35246 (FP_EX_INVALID_IDI): Likewise.
35247 (FP_EX_INVALID_SQRT): Likewise.
35248 (FP_EX_INVALID_CVI): Likewise.
35249 (FP_EX_INVALID_VC): Likewise.
35250 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35251 "invalid" exceptions.
35252 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35253 (_FP_ADD_INTERNAL): Likewise.
35254 (_FP_MUL): Likewise.
35255 (_FP_FMA): Likewise.
35256 (_FP_DIV): Likewise.
35257 (_FP_CMP_CHECK_NAN): Likewise.
35258 (_FP_SQRT): Likewise.
35259 (_FP_TO_INT): Likewise.
35260 (FP_EXTEND): Likewise.
35261
35262 2014-10-09 Allan McRae <allan@archlinux.org>
35263
35264 * po/fr.po: Update French translation from translation project.
35265
35266 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35267
35268 [BZ #14132]
35269 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35270 of INTDEF.
35271 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35272 (__cxa_atexit): Use libc_hidden_proto.
35273 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35274
35275 [BZ #14132]
35276 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35277 declaration.
35278 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35279 [!_ISOMAC] (__iswspace_l_internal): Likewise.
35280 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35281 [!_ISOMAC] (__iswctype_internal): Likewise.
35282 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35283 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35284 alias.
35285 (fcntl): Remove __fcntl_internal alias.
35286 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35287 __connect_internal alias.
35288 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35289 Likewise.
35290
35291 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35292 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35293 FP_DENORM_ZERO.
35294 (_FP_CHECK_FLUSH_ZERO): New macro.
35295 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35296 (_FP_CMP): Likewise.
35297 (_FP_CMP_EQ): Likewise.
35298 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35299 FP_DENORM_ZERO.
35300 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35301 (FP_TRUNC): Likewise.
35302
35303 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35304 treated as invalid conversion, not as normal exponent.
35305
35306 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35307 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
35308 (_FP_CMP_EQ): Likewise.
35309 (_FP_CMP_UNORD): Likewise.
35310 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35311 (FP_CMP_EQ_D): Likewise.
35312 (FP_CMP_UNORD_D): Likewise.
35313 * soft-fp/extended.h (FP_CMP_E): Likewise.
35314 (FP_CMP_EQ_E): Likewise.
35315 (FP_CMP_UNORD_E): Likewise.
35316 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35317 (FP_CMP_EQ_Q): Likewise.
35318 (FP_CMP_UNORD_Q): Likewise.
35319 * soft-fp/single.h (FP_CMP_S): Likewise.
35320 (FP_CMP_EQ_S): Likewise.
35321 (FP_CMP_UNORD_S): Likewise.
35322 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35323 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35324 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35325 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35326 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35327 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35328 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35329 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35330 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35331 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35332 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35333 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35334 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35335 to FP_CMP_Q.
35336 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35337 FP_CMP_Q.
35338 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35339 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35340 FP_CMP_EQ_Q.
35341 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35342 FP_CMP_Q.
35343 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35344 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35345 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35346 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35347 FP_CMP_EQ_Q.
35348 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35349 FP_CMP_Q.
35350 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35351 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35352 FP_CMP_EQ_Q.
35353 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35354 FP_CMP_Q.
35355 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35356 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35357 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35358 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35359 FP_CMP_EQ_Q.
35360
35361 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35362 a subnormal result, set the underflow exception if trapping on
35363 underflow is enabled.
35364 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35365 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35366 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35367 redefine to 0.
35368 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35369 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35370 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35371 * soft-fp/extendxftf2.c (__extendxftf2): Use
35372 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35373
35374 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35375 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35376 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35377 FP_HANDLE_EXCEPTIONS.
35378 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35379 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35380 FP_HANDLE_EXCEPTIONS.
35381 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35382 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35383 FP_HANDLE_EXCEPTIONS.
35384 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35385 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35386 FP_HANDLE_EXCEPTIONS.
35387
35388 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35389
35390 [BZ #14132]
35391 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35392 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35393 use INTUSE.
35394 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35395 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35396 Remove alias.
35397 (__adjtimex): Define using libc_hidden_ver.
35398 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35399 Remove declaration.
35400 (ntp_gettime): Call __adjtimex directly.
35401 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35402 Remove declaration.
35403 (ntp_gettimex): Call __adjtimex directly.
35404 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35405 __adjtimex_internal alias.
35406
35407 2014-10-08 Roland McGrath <roland@hack.frob.com>
35408
35409 [BZ #17460]
35410 * nscd/nscd.c (more_help): Rewrite list of tables collection
35411 using xstrdup and asprintf.
35412
35413 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35414
35415 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35416 Roland McGrath <roland@hack.frob.com>
35417
35418 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35419 (do_lookup_unique): ... local function 'enter' here; update callers.
35420
35421 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35422
35423 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35424 compat_symbol calls on [SHARED].
35425 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35426 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35427 Remove.
35428 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35429 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35430 (oldsetrlimit): Remove.
35431 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35433 (lchown): New syscall entry.
35434 (oldsetrlimit): Remove.
35435 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35436 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35437 (oldsetrlimit): Remove.
35438 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35439
35440 [BZ #14138]
35441 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35442 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35443 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35444 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35445 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35446 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35447 (fchown): Likewise.
35448 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35449 (fchown): Likewise.
35450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35451 Likewise.
35452
35453 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35454
35455 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35456 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35457 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35458 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35459 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35460 Likewise.
35461 (__old_sem_post): Likewise.
35462
35463 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35464
35465 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35466 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35467 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35468 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35469 Use INLINE_VSYSCALL macro.
35470 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35471 __vdso_clock_gettime.
35472 * sysdeps/unix/sysv/linux/tile/init-first.c
35473 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35474 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35475 __vdso_clock_gettime.
35476
35477 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35478 to set up frame more cleanly.
35479
35480 * sysdeps/tile/memcmp.c: New file.
35481
35482 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35483
35484 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35485 * sysdeps/tile/tilegx/strcasestr.c: New file.
35486 * sysdeps/tile/tilegx/strnlen.c: New file.
35487 * sysdeps/tile/tilegx/strstr.c: New file.
35488
35489 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35490
35491 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35492
35493 * nptl/tst-setuid3.c: Write errors to stdout.
35494
35495 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35496
35497 * elf/dl-deps.c
35498 (preload): New functions broken out of _dl_map_object_deps.
35499 (_dl_map_object_deps): Remove a nested function. Update call sites.
35500
35501 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35502
35503 [BZ #14138]
35504 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35505 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35506
35507 2014-10-01 Steve Ellcey <sellcey@mips.com>
35508
35509 * sysdeps/mips/strcmp.S: New.
35510
35511 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35512
35513 [BZ #14138]
35514 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35515 (linkat): Likewise.
35516 (mkdirat): Likewise.
35517 (readlinkat): Likewise.
35518 (renameat): Likewise.
35519 (symlinkat): Likewise.
35520 (unlinkat): Likewise.
35521 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35522 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35523 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35524 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35525 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35526 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35527 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35528
35529 2014-09-30 Will Newton <will.newton@linaro.org>
35530
35531 * math/math.h: Define long double math functions if
35532 _LIBC_TEST is defined.
35533 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35534
35535 * localedata/Makefile: Move assignment to tests-special
35536 into an ifdef testing run-built-tests.
35537 * timezone/Makefile: Likewise.
35538
35539 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35540
35541 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35542 with $(BASH) not $(SHELL).
35543
35544 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35545 Matthew LeGendre <legendre1@llnl.gov>
35546
35547 [BZ #17411]
35548 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35549 l_reloc_result.
35550
35551 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35552
35553 * stdio-common/printf_fp.c
35554 (hack_digit): New function, broken out of ...
35555 (__printf_fp): ... local function here. Update call sites.
35556 hack_digit now takes an additional parameter that is a pointer
35557 to a struct of the referenced locals. Those locals moved inside
35558 the struct and references updated.
35559
35560 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35561
35562 * aclocal.m4: Require autoconf 2.69.
35563 * configure: Regenerated.
35564 * sysdeps/aarch64/configure: Likewise.
35565 * sysdeps/alpha/configure: Likewise.
35566 * sysdeps/arm/armv7/configure: Likewise.
35567 * sysdeps/arm/configure: Likewise.
35568 * sysdeps/ia64/configure: Likewise.
35569 * sysdeps/mach/configure: Likewise.
35570 * sysdeps/mips/configure: Likewise.
35571 * sysdeps/s390/configure: Likewise.
35572 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35574
35575 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35576 file.
35577 * sysdeps/ia64/configure.ac: Likewise.
35578
35579 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35580
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35582 specify symbol version for ld.so. Do not include entry for
35583 libpthread.
35584 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35585 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35586 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35587
35588 [BZ #14171]
35589 * Makeconfig [$(build-shared) = yes]
35590 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35591 makefiles.
35592 [$(build-shared) = yes && $(soversions.mk-done) = t]
35593 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35594 [$(build-shared) = yes && $(soversions.mk-done) = t]
35595 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35596 to Makerules.
35597 [$(build-shared) = yes && $(soversions.mk-done) = t]
35598 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35599 here.
35600 [$(build-shared) = yes && $(soversions.mk-done) = t]
35601 (common-generated): Don't append gnu/lib-names.h and
35602 gnu/lib-names.stmp here.
35603 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35604 (lib-names-h-abi): New variable.
35605 [$(build-shared) = yes && $(soversions.mk-done) = t]
35606 (lib-names-stmp-abi): Likewise.
35607 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35608 abi-variants] (before-compile): Append
35609 $(common-objpfx)$(lib-names-h-abi).
35610 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35611 abi-variants] (common-generated): Append gnu/lib-names.h.
35612 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35613 abi-variants] (install-others-nosubdir): Depend on
35614 $(inst_includedir)/$(lib-names-h-abi).
35615 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35616 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35617 [$(build-shared) = yes && $(soversions.mk-done) = t]
35618 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35619 [$(build-shared) = yes && $(soversions.mk-done) = t]
35620 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35621 [$(build-shared) = yes && $(soversions.mk-done) = t]
35622 (common-generated): Append $(lib-names-h-abi) and
35623 $(lib-names-stmp-abi).
35624 * scripts/lib-names.awk: Do not handle multi being set.
35625 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35626 Remove variable.
35627 (abi-lp64_be-ld-soname): Likewise.
35628 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35629 Likewise.
35630 (abi-hard-ld-soname): Likewise.
35631 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35632 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35633 Remove variable.
35634 (abi-o32_hard-ld-soname): Likewise.
35635 (abi-o32_soft_2008-ld-soname): Likewise.
35636 (abi-o32_hard_2008-ld-soname): Likewise.
35637 (abi-n32_soft-ld-soname): Likewise.
35638 (abi-n32_hard-ld-soname): Likewise.
35639 (abi-n32_soft_2008-ld-soname): Likewise.
35640 (abi-n32_hard_2008-ld-soname): Likewise.
35641 (abi-n64_soft-ld-soname): Likewise.
35642 (abi-n64_hard-ld-soname): Likewise.
35643 (abi-n64_soft_2008-ld-soname): Likewise.
35644 (abi-n64_hard_2008-ld-soname): Likewise.
35645 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35646 Likewise.
35647 (abi-64-v2-ld-soname): Likewise.
35648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35649 ld.so entries.
35650 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35651 variable.
35652 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35653 entry.
35654 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35655 variable.
35656 (abi-64-ld-soname): Likewise.
35657 (abi-x32-ld-soname): Likewise.
35658 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35659 entry.
35660 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35661
35662 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35663
35664 [BZ #14138]
35665 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35666 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35667 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35668 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35669 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35670 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35671 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35672 syscall entry for GLIBC_2.2 symbol version.
35673 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35674 Likewise.
35675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35676 (setrlimit): Likewise.
35677 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35678 Likewise.
35679
35680 2014-09-23 Will Newton <will.newton@linaro.org>
35681
35682 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35683 _LINUX_ARM_SYSDEP_H include guard too.
35684 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35685 define.
35686
35687 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35688
35689 * sysdeps/unix/sysv/linux/eventfd.c:
35690 Make first argument unsigned.
35691 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35692 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35693
35694 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35695
35696 [BZ #16852]
35697 * socket/recvmmsg.c (recvmmsg): Drop const argument.
35698 * socket/sys/socket.h: Likewise.
35699 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35700
35701 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35702
35703 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35704
35705 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
35706
35707 * time/tst-ftime.c: New test.
35708 * time/Makefile (tests): Add tst-ftime.
35709
35710 2014-09-17 Joseph Myers <joseph@codesourcery.com>
35711
35712 * soft-fp/extended.h: Fix comment formatting.
35713 * soft-fp/op-1.h: Likewise.
35714 * soft-fp/op-2.h: Likewise.
35715 * soft-fp/op-4.h: Likewise.
35716 * soft-fp/op-8.h: Likewise.
35717 * soft-fp/op-common.h: Likewise.
35718 * soft-fp/soft-fp.h: Likewise.
35719
35720 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35721
35722 2014-09-16 Joseph Myers <joseph@codesourcery.com>
35723
35724 [BZ #6652]
35725 * Makeconfig (soversions-default-setname): Remove variable.
35726 ($(common-objpfx)soversions.i): Don't pass default_setname to
35727 soversions.awk.
35728 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35729 oldest_abi to abi-versions.awk.
35730 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35731 * config.make.in (oldest-abi): Remove variable.
35732 * configure.ac (--enable-oldest-abi): Remove configure option.
35733 * configure: Regenerated.
35734 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35735 text.
35736 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35737 * scripts/soversions.awk: Do not handle default_setname variable.
35738 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35739 variable.
35740 * sysdeps/mach/hurd/configure: Regenerated.
35741 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35742 variable.
35743 * sysdeps/unix/sysv/linux/configure: Regenerated.
35744
35745 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35746
35747 * elf/Makefile (CFLAGS-interp.c): Remove.
35748 ($(elf-objpfx)runtime-linker.h): Generate header with linker
35749 path string.
35750 * elf/interp.c: Include generated runtime-linker.h
35751
35752 * Makerules (lib%.so): Don't include $(+interp) in
35753 prerequisites.
35754 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35755 * dlfcn/eval.c: Remove file.
35756
35757 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35758 macros.
35759
35760 [BZ #17266]
35761 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35762 4.2 and newer.
35763
35764 [BZ #17370]
35765 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35766
35767 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35768 Jakub Jelinek <jakub@redhat.com>
35769
35770 [BZ #17266]
35771 * libio/stdio.h: Check definition of __fortify_function
35772 instead of __extern_always_inline to include bits/stdio2.h.
35773 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35774 check if __extern_always_inline is defined.
35775 [__USE_MISC || __USE_XOPEN]: Likewise.
35776 [__USE_ISOC99] Likewise.
35777 * misc/sys/cdefs.h (__fortify_function): Define only if
35778 __extern_always_inline is defined.
35779 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35780 __extern_always_inline and __extern_inline only for g++-4.3
35781 and newer or a compatible gcc.
35782
35783 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35784
35785 [BZ #17371]
35786 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35787 last change to handle zero prefix length.
35788
35789 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35790
35791 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35792 _SC_REGEX_VERSION.
35793
35794 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35795 _POSIX_RAW_SOCKETS.
35796
35797 2014-09-13 Allan McRae <allan@archlinux.org>
35798
35799 * po/ru.po: Update Russian translation from translation project.
35800
35801 2014-09-12 Roland McGrath <roland@hack.frob.com>
35802
35803 * locale/programs/locale.c (show_locale_vars): Inline local function
35804 into its sole call site. Clean up some style nits.
35805 (print_item): New function, broken out of ...
35806 (show_info): ... local function here. Clean up style nits.
35807
35808 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35809 out of ...
35810 (set_class_defaults): ... local function set_default here.
35811 Define set_default as a macro locally to pass constant parameters.
35812 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35813 rather than a shared local.
35814
35815 * stdlib/rpmatch.c (try): New function, broken out of ...
35816 (rpmatch): ... local function here. Also, prototypify definition.
35817
35818 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35819
35820 * scripts/soversions.awk: Do not handle configuration names.
35821 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35822 vendor and os variables to soversions.awk.
35823 * configure.ac: Do not modify gnu-* host_os.
35824 * configure: Regenerated
35825 * shlib-versions: Remove first column with configuration names.
35826 * nptl/shlib-versions: Likewise.
35827 * nptl_db/shlib-versions: Likewise.
35828 * sysdeps/hppa/shlib-versions: Likewise.
35829 * sysdeps/m68k/shlib-versions: Likewise.
35830 * sysdeps/mach/hurd/shlib-versions: Likewise.
35831 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35832 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35833 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35834 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35835 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35836 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35837 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35838 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35840 Likewise.
35841 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35842 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35843 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35844 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35845 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35846 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35847 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35848 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35849
35850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35851 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35853 Regenerated.
35854 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35856 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35857
35858 * shlib-versions: Remove OS-specific entries. Moved to files in
35859 sysdeps.
35860 * sysdeps/mach/hurd/shlib-versions: New file.
35861 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35862
35863 * nptl/shlib-versions: Remove architecture-specific entries.
35864 Moved to files in sysdeps.
35865 * shlib-versions: Likewise.
35866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35867 file.
35868 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35869 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35870 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35871 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35872
35873 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35874 (UDP_NO_CHECK6_RX): Likewise.
35875
35876 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35877
35878 * sysdeps/posix/sysconf.c (__sysconf): Spell
35879 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35880
35881 2014-08-12 Florian Weimer <fweimer@redhat.com>
35882
35883 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35884 loading.
35885 * iconv/Versions (__gconv_transliterate): Export for use from
35886 gconv modules.
35887 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35888 (struct __gconv_trans_data, __gconv_trans_fct,
35889 __gconv_trans_context_fct, __gconv_trans_query_fct,
35890 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35891 definitions.
35892 (struct __gconv_step_data): Remove __trans member.
35893 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35894 longer hidden. Remove unused trans_data argument.
35895 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35896 (__gconv_translit_find): Remove declaration.
35897 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35898 prototype.
35899 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35900 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35901 trans_data argument. Add hidden definition.
35902 (__gconv_translit_find): Remove.
35903 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35904 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35905 * iconv/skeleton.c: Remove transliteration initialization.
35906 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35907 __gconv_step_data initialization.
35908 * libio/iofwide.c (__libio_translit_): Remove.
35909 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35910 * wcsmbs/btowc.c (__btowc): Likewise.
35911 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35912 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35913 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35914 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35915 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35916 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35917 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35918 * wcsmbs/wctob.c (wctob): Likewise.
35919
35920 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35921
35922 [BZ #16194]
35923 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35924 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35925 register usage.
35926 * sysdeps/x86/Makefile: Adjust.
35927
35928 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35929 Roland McGrath <roland@hack.frob.com>
35930
35931 * locale/weight.h: Add include guard.
35932 (findidx): Make static rather than auto; take new parameters
35933 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35934 * locale/weightwc.h: Likewise.
35935 * posix/fnmatch_loop.c
35936 (FCT): Change type of EXTRA from int32_t to wint_t.
35937 Don't include either header inside the function.
35938 Call FINDIDX rather than findidx, and pass new arguments.
35939 #undef FINDIDX at the end of the file.
35940 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35941 FINDIDX before including fnmatch_loop.c for the non-wide version.
35942 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35943 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35944 for the wide version.
35945 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35946 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35947 Pass new arguments to findidx.
35948 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35949 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35950 Don't #include it inside the function. Pass new arguments to findidx.
35951 * posix/regex_internal.h
35952 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35953 (re_string_elem_size_at): Don't #include it inside the function.
35954 Pass new arguments to findidx.
35955 * string/strcoll_l.c: #include WEIGHT_H at top level.
35956 (get_next_seq): Don't #include it inside the function.
35957 Pass new arguments to findidx.
35958 (get_next_seq_nocache): Likewise.
35959 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35960 (STRXFRM): Don't #include it inside the function.
35961 Pass new arguments to findidx.
35962
35963 2014-09-11 Florian Weimer <fweimer@redhat.com>
35964
35965 [BZ #17344]
35966 * malloc/malloc.c (unlink): Turn asserts into a call to
35967 malloc_printerr.
35968
35969 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35970
35971 [BZ #17370]
35972 * libio/wfileops (do_ftell_wide): Free OUT.
35973
35974 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35975
35976 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35977
35978 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35979
35980 [BZ #17363]
35981 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35982 group if the current group is empty.
35983
35984 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35985
35986 * benchtests/bench-memset.c (test_main): Add more test from size
35987 from 32 to 512 bytes.
35988 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35989 Add POWER8 memset object.
35990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35991 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35992 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35993 implementation.
35994 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35995 Likewise.
35996 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35997 multiarch POWER8 memset optimization.
35998 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35999 POWER8 memset optimization.
36000
36001 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36002 Remove bzero multiarch objects.
36003 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36004 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36005 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36006 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36007 Remove define.
36008 [__bzero]: Redefine to specific name.
36009 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36010 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36011 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36012 define.
36013 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36014 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36015
36016 2014-09-10 Florian Weimer <fweimer@redhat.com>
36017
36018 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36019 warnings into errors.
36020
36021 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36022 __cxa_thread_atexit_impl prototype.
36023
36024 2014-09-09 Steve Ellcey <sellcey@mips.com>
36025
36026 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36027 Fix capitalization of error message.
36028
36029 2014-09-09 Steve Ellcey <sellcey@mips.com>
36030
36031 * sysdeps/mips/preconfigure: Modify ABI tests.
36032
36033 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
36034
36035 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36036
36037 2014-09-07 Roland McGrath <roland@hack.frob.com>
36038 Carlos O'Donell <carlos@systemhalted.org>
36039
36040 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36041 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36042 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36043 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36044 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36045 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36046 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36047 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36048 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36049 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36050 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36051 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36052 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36053 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36054 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36055 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36056 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36057 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36058 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36059 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36060 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36061 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36062 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36063 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36064 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36065 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36066 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36067 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36068 Deconditionalize the code that was previously under [RESET_PID].
36069 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36070 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36071 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36072 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36073 include sysdep.h.
36074
36075 2014-09-08 Allan McRae <allan@archlinux.org>
36076
36077 * version.h (RELEASE): Set to "development".
36078 (VERSION): Set to "2.20.90"
36079
36080 2014-09-07 Allan McRae <allan@archlinux.org
36081
36082 * version.h (RELEASE): Set to "stable".
36083 (VERSION): Set to "2.20"
36084 * include/features.h (__GLIBC_MINOR__): Set to 20.
36085
36086 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36087 Liebler.
36088
36089 * po/ko.po: Update Korean translation from translation project.
36090
36091 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
36092
36093 [BZ #17354]
36094 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36095 macro for handling signed relocations.
36096
36097 2014-09-03 Florian Weimer <fweimer@redhat.com>
36098
36099 [BZ #17325]
36100 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36101 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36102 assert.
36103 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36104 * iconvdata/ibm935.c (BODY): Likewise.
36105 * iconvdata/ibm937.c (BODY): Likewise.
36106 * iconvdata/ibm939.c (BODY): Likewise.
36107 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36108 assert.
36109 * iconvdata/Makefile (iconv-test.out): Pass module list to test
36110 script.
36111 * iconvdata/run-iconv-test.sh: New test loop for checking for
36112 decoder crashers.
36113
36114 2014-09-02 Khem Raj <raj.khem@gmail.com>
36115
36116 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36117 libm_hidden_ver.
36118
36119 2014-09-01 Allan McRae <allan@archlinux.org>
36120
36121 * po/eo.po: Update Esperanto translation from translation project.
36122
36123 * po/ca.po: Update Catalan translation from translation project.
36124
36125 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
36126
36127 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36128 __proc_dostop call.
36129
36130 2014-08-27 Mark Wielaard <mjw@redhat.com>
36131
36132 [BZ #17319]
36133 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36134 to call set_thread_area instead of hand written asm.
36135 (__NR_set_thread_area): Removed define.
36136 (TLS_FLAG_WRITABLE): Likewise.
36137 (__ASSUME_SET_THREAD_AREA): Remove check.
36138 (TLS_EBX_ARG): Remove define.
36139 (TLS_LOAD_EBX): Likewise.
36140
36141 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36142
36143 Simplify atomicity of socket creation in bind.
36144
36145 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36146 looking up the name after linking the file.
36147
36148 2014-08-27 Allan McRae <allan@archlinux.org>
36149
36150 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36151
36152 2014-08-26 Florian Weimer <fweimer@redhat.com>
36153
36154 [BZ #17187]
36155 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36156 trans_compare, open_translit, __gconv_translit_find):
36157 Remove module loading code.
36158
36159 2014-08-26 Allan McRae <allan@archlinux.org>
36160
36161 * po/vi.po: Update Vietnamese translation from translation project.
36162
36163 * po/uk.po: Update Ukrainian translation from translation project.
36164
36165 * po/fr.po: Update French translation from translation project.
36166
36167 * po/ru.po: Update Russian translation from translation project.
36168
36169 * po/pl.po: Update Polish translation from translation project.
36170
36171 * po/cs.po: Update Czech translation from translation project.
36172
36173 * po/de.po: Update German translation from translation project.
36174
36175 * po/bg.po: Update Bulgarian translation from translation project.
36176
36177 * po/sv.po: Update Sweedish translation from translation project.
36178
36179 * po/nl.po: Update Dutch translation from translation project.
36180
36181 * po/es.po: Update Spanish translation from translation project.
36182
36183 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36184
36185 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36186
36187 * catgets/Makefile (CPPFLAGS-gencat): Remove.
36188 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36189 (CPPFLAGS-iconvconfig): Likewise.
36190 * timezone/Makefile (CPPFLAGS-zic): Likewise.
36191
36192 * include/libc-symbols.h: Remove unnecessary check for
36193 NOT_IN_libc.
36194 * nptl/pthreadP.h: Likewise.
36195 * sysdeps/aarch64/setjmp.S: Likewise.
36196 * sysdeps/alpha/setjmp.S: Likewise.
36197 * sysdeps/arm/sysdep.h: Likewise.
36198 * sysdeps/i386/setjmp.S: Likewise.
36199 * sysdeps/m68k/setjmp.c: Likewise.
36200 * sysdeps/posix/getcwd.c: Likewise.
36201 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36202 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36203 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36204 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36205 * sysdeps/sh/sh3/setjmp.S: Likewise.
36206 * sysdeps/sh/sh4/setjmp.S: Likewise.
36207 * sysdeps/unix/alpha/sysdep.h: Likewise.
36208 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36209 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36210 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36211 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36214 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36215 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36216 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36219 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36220 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36221 * sysdeps/x86_64/setjmp.S: Likewise.
36222
36223 2014-08-13 Joseph Myers <joseph@codesourcery.com>
36224
36225 [BZ #17263]
36226 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36227 <stdint.h>.
36228 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36229 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36230
36231 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36232
36233 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36234
36235 [BZ #17262]
36236 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36237 and __x86_64__ when disabling x87 inline functions.
36238
36239 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
36240
36241 [BZ #17259]
36242 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36243 asm statement with __cpuid_count.
36244
36245 2014-08-12 Mike Frysinger <vapier@gentoo.org>
36246
36247 * configure.ac: Change __ehdr_start code to dereference the struct.
36248 Run readelf on the output to look for relocations.
36249 * configure: Regenerated.
36250
36251 2014-08-12 Joseph Myers <joseph@codesourcery.com>
36252
36253 [BZ #17261]
36254 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36255 value to 0.
36256 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36257
36258 2014-08-12 Roland McGrath <roland@hack.frob.com>
36259
36260 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36261
36262 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
36263
36264 [BZ #16892]
36265 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36266 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36267
36268 2014-08-12 Sean Anderson <seanga2@gmail.com>
36269
36270 * malloc/malloc.c: Fix typo in comment.
36271
36272 2014-08-09 Allan McRae <allan@archlinux.org>
36273
36274 * Regenerate libc.po.
36275
36276 2014-08-08 Mike Frysinger <vapier@gentoo.org>
36277
36278 * intl/tst-gettext2.sh: Check every lang file for creation.
36279
36280 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36281
36282 * sysdeps/aarch64/fpu/math_private.h
36283 (libc_feholdsetround_noex_aarch64_ctx): New function.
36284
36285 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36286
36287 * sysdeps/arm/armv6/strcpy.S (strcpy):
36288 Fix performance issue in misaligned cases.
36289
36290 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36291
36292 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36293 Move definition from termios.h.
36294 (struct termio): Likewise.
36295 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36296 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36297 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36298 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36299 Likewise.
36300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36301 Move definition to ioctl-types.h
36302 (struct termio): Likewise.
36303 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36304 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36305 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36306 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36307 Likewise.
36308
36309 2014-08-05 Richard Henderson <rth@redhat.com>
36310
36311 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36312 exceptions.
36313 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36314 Add fraiseexcpt.
36315 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36316 Use __feraiseexcept.
36317 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36318 Protect libm symbols with IS_IN_libm.
36319
36320 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36321
36322 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36323
36324 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36325
36326 2014-08-04 Will Newton <will.newton@linaro.org>
36327
36328 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36329 file.
36330
36331 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36332
36333 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36334 variants for each function.
36335
36336 2014-08-04 Roland McGrath <roland@hack.frob.com>
36337
36338 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36339 appended ...
36340 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36341 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36342 appended ...
36343 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36344 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36345 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36346 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36347 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36348 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36349 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36350 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36351 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36352 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36353 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36354 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36355 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36356 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36357 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36358 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36359 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36360 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36361 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36362 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36363 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36364 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36365 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36366 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36367 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36368 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36369 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36370 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36371 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36372 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36373 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36374 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36375 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36376 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36377 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36378 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36379 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36380 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36381 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36382 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36383 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36384 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36385 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36386 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36387 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36388 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36389 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36390 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36391 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36392 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36393 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36394 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36395 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36396 Update #include.
36397 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36398 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36399
36400 2014-08-04 Roland McGrath <roland@hack.frob.com>
36401
36402 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36403 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36404 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36405 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36406 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36407 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36408
36409 2014-08-04 Roland McGrath <roland@hack.frob.com>
36410
36411 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36412 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36413 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36414 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36415
36416 2014-08-04 Roland McGrath <roland@hack.frob.com>
36417
36418 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36419 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36420 (__libc_vfork): Define function under this name.
36421 (__vfork): Define as an alias.
36422 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36423 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36424
36425 2014-08-04 Roland McGrath <roland@hack.frob.com>
36426
36427 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36428 that was previously under [RESET_PID].
36429 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36430
36431 2014-08-04 Andreas Schwab <schwab@suse.de>
36432
36433 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36434
36435 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36436
36437 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36438 (main): Likewise.
36439
36440 2014-08-01 Roland McGrath <roland@hack.frob.com>
36441
36442 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36443
36444 2014-08-01 Richard Henderon <rth@redhat.com>
36445
36446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36447 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36448 typo in exact zero test.
36449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36450 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36451 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36452
36453 2014-08-01 Roland McGrath <roland@hack.frob.com>
36454
36455 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36456 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36457 * sysdeps/arm/sysdep.h: ... here.
36458 [!__ASSEMBLER__]: Include <stdint.h>.
36459
36460 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36461
36462 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36463 (HAVE_WCTYPE_H): Likewise.
36464 (HAVE_ISWCTYPE): Likewise.
36465 (ENABLE_NLS): Likewise.
36466 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36467 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36468
36469 * posix/regex_internal.c: Check if DEBUG is defined and is
36470 set.
36471
36472 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36473 (HAVE_MBSRTOWCS): Likewise.
36474 * posix/fnmatch.c: Include string.h unconditionally.
36475
36476 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36477
36478 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36479 reversal.
36480
36481 2014-07-31 Roland McGrath <roland@hack.frob.com>
36482
36483 * sysdeps/generic/safe-fatal.h: New file.
36484 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36485 * nptl/forward.c: Include it.
36486 (__pthread_unwind): Use __safe_fatal as default action, rather
36487 than a bogus use of INTERNAL_SYSCALL that could never work.
36488
36489 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36490 * configure.ac (libc_cv_builtin_trap): New test.
36491 * configure: Regenerated.
36492 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36493 (ABORT_INSTRUCTION): Define using __builtin_trap.
36494
36495 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36496 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36497 * sysdeps/nptl/nptl-signals.h: New file.
36498 * nptl/pthreadP.h: Include <nptl-signals.h>.
36499
36500 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36501
36502 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36503 (ONE_DIRECTION): Define.
36504 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36505 (ONE_DIRECTION): Define.
36506 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36507 (ONE_DIRECTION): Define.
36508
36509 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36510
36511 * sysdeps/s390/Makefile: Delete file.
36512 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36513 * sysdeps/s390/__longjmp.c: Delete file.
36514 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36515 Remove fields __flags and __reserved.
36516 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36517 and add versioning.
36518 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36519 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36520 * sysdeps/s390/rtld-setjmp.S: Likewise.
36521 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36522 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36523 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36524 * sysdeps/s390/s390-32/setjmp.S: ... here.
36525 Add versioning.
36526 (__sigsetjmp): Remove setting __flags field.
36527 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36528 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36529 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36530 * sysdeps/s390/s390-64/setjmp.S: ... here.
36531 Add versioning.
36532 (__sigsetjmp): Remove setting __flags field.
36533 * sysdeps/s390/setjmp.S: Delete file.
36534 * sysdeps/s390/sigjmp.c: Likewise.
36535 * sysdeps/s390/v1-longjmp.c: Likewise.
36536 * sysdeps/s390/v1-setjmp.h: Likewise.
36537 * sysdeps/s390/v1-sigjmp.c: Likewise.
36538 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36539 Remove v1-longjmp_chk.
36540 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36541 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36542 Include debug/longjmp_chk.c and add versioning.
36543 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36544 Include nptl/pt-longjmp.c and add versioning.
36545 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36546 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36547 Include __longjmp.c.
36548 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36549 Move to ...
36550 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36551 (__getcontext): Remove setting __flags field.
36552 Add versioning.
36553 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36554 Don't restore upper high grps.
36555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36556 Likewise.
36557 (__swapcontext): Remove setting uc_flags field.
36558 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36559 Delete file.
36560 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36561 Include __longjmp.c.
36562 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36563 Move to ...
36564 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36565 (__getcontext): Remove setting __flags field.
36566 Add versioning.
36567 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36568 (__swapcontext): Remove setting uc_flags field.
36569 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36570 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36571 Remove fields uc_high_gprs and __reserved.
36572 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36573 New file with reverted content.
36574 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36575 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36576 Regenerated.
36577 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36578 Regenerated.
36579
36580 2014-07-31 Andreas Schwab <schwab@suse.de>
36581
36582 * config.h.in (HAVE_IFUNC): Define to 0.
36583 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36584 definedness.
36585
36586 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36587
36588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36589 memmove-avx-unaligned, memcpy-avx-unaligned and
36590 mempcpy-avx-unaligned.
36591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36592 Add tests for AVX memcpy functions.
36593 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36594 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36595 memcpy_chk.
36596 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36597 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36598 memmove_chk.
36599 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36600 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36601 mempcpy_chk.
36602 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36603 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36604 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36605
36606 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36607
36608 [BZ #17213]
36609 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36610 powerpc64le.
36611
36612 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36613
36614 [BZ #16839]
36615 * manual/llio.texi: Add section about open file description locks.
36616 * manual/examples/ofdlocks.c: Example of open file description
36617 lock usage.
36618 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36619 F_OFD_SETLK, and F_OFD_SETLKW.
36620
36621 2014-07-23 Allan McRae <allan@archlinux.org>
36622
36623 * po/es.po: Update Spanish translation from translation project.
36624
36625 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36626
36627 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36628
36629 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36630
36631 [BZ #17078]
36632 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36633 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36634 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36635
36636 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36637
36638 [BZ #17088]
36639 * math/fesetenv.c (__fesetenv)
36640 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36641 * math/feupdateenv.c (__feupdateenv)
36642 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36643
36644 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36645 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36646 (__ASSUME_SOCKETCALL): Do not define.
36647
36648 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36649 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36650 (__ASSUME_SOCKETCALL): Do not define.
36651 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36652 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36653 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36654 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36655 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36656 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36657 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36658 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36659
36660 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36661 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36662 (__ASSUME_SOCKETCALL): Do not define.
36663 (__ASSUME_IPC64): Define unconditionally.
36664 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36665 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36666 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36667 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36668 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36669 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36670 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36671 Likewise.
36672
36673 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36674 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36675 (__ASSUME_SOCKETCALL): Do not define.
36676 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36677 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36678 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36679 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36680 (__ASSUME_REQUEUE_PI): Define unconditionally.
36681 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36682 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36683 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36684 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36685 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36686 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36687
36688 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36689 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36690 (__ASSUME_SOCKETCALL): Do not define.
36691 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36692 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36693 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36694 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36695 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36696 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36697
36698 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36699 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36700 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36701 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36702 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36703 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36704 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36705 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36706 (__ASSUME_GETCPU_SYSCALL): Likewise.
36707
36708 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36709 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
36710 cases for individual architectures.
36711 * sysdeps/gnu/configure: Regenerated.
36712 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36713 LIBC_SLIBDIR_RTLDDIR.
36714 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36715 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36716 LIBC_SLIBDIR_RTLDDIR.
36717 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36719 LIBC_SLIBDIR_RTLDDIR.
36720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36721 Regenerated.
36722 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36723 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36724 file.
36725 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36726 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36727 file.
36728 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36729 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36730 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36731 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36732
36733 * sysdeps/aarch64/shlib-versions: Move to ...
36734 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36735 * sysdeps/alpha/shlib-versions: Move to ...
36736 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36737 * sysdeps/arm/shlib-versions: Move to ...
36738 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36739 * sysdeps/hppa/shlib-versions: Move all contents except for
36740 libgcc_s entry to ...
36741 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
36742 entry from ...
36743 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
36744 * sysdeps/ia64/shlib-versions: Move to ...
36745 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
36746 entry from ...
36747 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
36748 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36749 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36750 * sysdeps/microblaze/shlib-versions: Move to ...
36751 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36752 * sysdeps/mips/shlib-versions: Move to ...
36753 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36754 entry from ...
36755 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36756 * sysdeps/tile/shlib-versions: Move to ...
36757 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36758 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36759 from ...
36760 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36761 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36762 entry from ...
36763 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36764
36765 2014-07-17 Will Newton <will.newton@linaro.org>
36766
36767 * sysdeps/arm/bits/atomic.h
36768 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36769 (__arch_compare_and_exchange_bool_16_int): Likewise.
36770 (__arch_compare_and_exchange_bool_64_int): Likewise.
36771
36772 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36773 into an #else block.
36774
36775 2014-07-16 Roland McGrath <roland@hack.frob.com>
36776
36777 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36778 just Linux configurations. Test empirically that the compiler sets
36779 __ARM_EABI__, rather than using the tuple to decide.
36780 * sysdeps/arm/preconfigure: Regenerated.
36781 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36782 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36783 contents appended ...
36784 * sysdeps/arm/configure.ac: ... here.
36785 * sysdeps/arm/configure: Regenerated.
36786
36787 2014-07-15 Roland McGrath <roland@hack.frob.com>
36788
36789 * nptl/pthread_kill.c: New file.
36790 * nptl/pthread_sigmask.c: New file.
36791 * nptl/pthread_sigqueue.c: New file.
36792
36793 * sysdeps/nptl/lowlevellock.h: New file.
36794 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36795 * sysdeps/nptl/lowlevellock-futex.h: New file.
36796
36797 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36798 Remove dead declarations.
36799
36800 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36801
36802 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36803 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36804 config-cflags-avx2.
36805 * sysdeps/x86_64/configure.ac: Likewise.
36806 * sysdeps/i386/configure: Regenerated.
36807 * sysdeps/x86_64/configure: Likewise.
36808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36809 memset-avx2 only if config-cflags-avx2 is yes.
36810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36811 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36812 defined.
36813 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36814 only if HAVE_AVX2_SUPPORT is defined.
36815 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36816
36817 2014-07-14 Alan Modra <amodra@gmail.com>
36818
36819 [BZ #17153]
36820 * elf/elf.h (DT_PPC64_NUM): Correct value.
36821 * NEWS: Add to fixed bug list.
36822
36823 2014-07-13 Jim Meyering <meyering@fb.com>
36824
36825 [BZ 17150]
36826 regex: don't deref NULL upon heap allocation failure
36827 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36828 failure in one more place.
36829 To trigger the segfault, configure grep -with-included-regex,
36830 build it, and run these commands:
36831 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36832
36833 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36834
36835 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36836
36837 2014-07-11 Richard Henderson <rth@redhat.com>
36838
36839 * sysdeps/aarch64/libm-test-ulps: Update.
36840
36841 2014-07-10 Florian Weimer <fweimer@redhat.com>
36842
36843 [BZ #17135]
36844 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36845 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36846 (__nptl_setxid): Initialize error member. Call
36847 __nptl_setxid_error.
36848 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36849 * nptl/descr.h (struct xid_command): Add error member.
36850 * nptl/tst-setuid3.c: New file.
36851 * nptl/Makefile (tests): Add it.
36852
36853 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36854
36855 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36856 New define.
36857 (__lll_trylock): Use __lll_base_trylock.
36858 (__lll_cond_trylock): Likewise.
36859
36860 2014-07-10 Roland McGrath <roland@hack.frob.com>
36861
36862 * nptl/pthread_create.c (start_thread): Use atomic_or and
36863 lll_futex_wake directly rather than lll_robust_dead.
36864 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36865 (lll_robust_dead): Macro removed.
36866 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36867 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36868 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36869 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36870 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36871 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36872 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36873 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36874 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36875 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36876 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36877 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36878 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36879 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36880 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36881
36882 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36883 Use atomic_compare_and_exchange_val_acq directly rather than
36884 lll_robust_trylock.
36885 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36886 (__lll_robust_trylock, lll_robust_trylock): Removed.
36887 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36888 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36889 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36890 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36891 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36892 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36893 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36894 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36895 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36896 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36897 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36898 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36899 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36900 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36901
36902 2014-07-02 Florian Weimer <fweimer@redhat.com>
36903
36904 * manual/locale.texi (Locale Names): New section documenting
36905 locale name syntax. Adjust menu and node chaining accordingly.
36906 (Choosing Locale): Reference Locale Names, Locale Categories.
36907 Mention setting LC_ALL=C. Reflect that name syntax is now
36908 documented.
36909 (Locale Categories): New section title. Reference Locale Names.
36910 LC_ALL is an environment variable, but not a category.
36911 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36912 description, now in Locale Name. Reference that section. Locale
36913 name syntax is now documented.
36914
36915 2014-07-02 Florian Weimer <fweimer@redhat.com>
36916
36917 [BZ #17137]
36918 * locale/findlocale.c (name_present, valid_locale_name): New
36919 functions.
36920 (_nl_find_locale): Use the loc_name variable to store name
36921 candidates. Call name_present and valid_locale_name to check and
36922 validate locale names. Return an error if the locale is invalid.
36923
36924 2014-07-02 Florian Weimer <fweimer@redhat.com>
36925
36926 * locale/setlocale.c (setlocale): Use strdup for allocating
36927 composite name copy.
36928
36929 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36930
36931 Sync up with gnulib.
36932 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36933 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36934 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36935 and _GL_ARG_NONNULL.
36936 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36937 [!_LIBC]: Include code for Windows and Cygwin.
36938 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36939 Include prototype for int strerror_r.
36940 [!_LIBC] (is_open): New function.
36941 (flush_stdout): New function.
36942 (print_errno_message): Use it.
36943 (error): Likewise.
36944 (error_at_line): Likewise.
36945 (error_tail) Add function attribute macros. Use
36946 __builtin_expect.
36947
36948 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36949
36950 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36951
36952 * io/ftw.c: Include sys/param.h unconditionally.
36953
36954 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36955
36956 [BZ #17125]
36957 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36958 libc_freeres_ptr.
36959 (freecache): New function to free CACHE on exit.
36960
36961 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36962 initialization.
36963
36964 2014-07-09 David S. Miller <davem@davemloft.net>
36965
36966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36967
36968 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36969 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36970 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36971 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36972 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36973 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36974 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36975 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36976 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36977 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36978 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36979 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36980 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36981
36982 2014-07-09 Andreas Schwab <schwab@suse.de>
36983
36984 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36985 output.
36986 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36987 (do_test): Likewise.
36988
36989 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36990
36991 2014-07-09 Will Newton <will.newton@linaro.org>
36992
36993 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36994 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36995 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36996 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36997 * sysdeps/hppa/start.S (_start): Likewise.
36998
36999 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37000
37001 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37002
37003 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37004 defined.
37005
37006 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37007
37008 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37009 after checking that it is non-NULL.
37010
37011 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37012
37013 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37014
37015 * sysdeps/powerpc/memmove.c: Remove file.
37016 * sysdeps/powerpc/powerpc32/power4/memcopy.h
37017 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37018 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37019 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37020 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37021 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37022 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37023 string memmove instead of removed powerpc one.
37024
37025 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37026 [weak_alias]: Fix compiler warning due trailing data.
37027 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37028 [weak_alias]: Likewise.
37029 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37030 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37031
37032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37033 (__libc_ifunc_impl_list): Add memmove functions.
37034
37035 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37036
37037 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37038 Remove code.
37039 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37040 Likewise.
37041 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37042 Likewise.
37043 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37044 Likewise.
37045 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37046 Likewise.
37047 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37048 Likewise.
37049 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37050 Likewise.
37051 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37052 Likewise.
37053 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37054 Likewise.
37055 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37056 Likewise.
37057 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37058 Likewise.
37059 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37060 Likewise.
37061 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37062 Likewise.
37063 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37064 Likewise.
37065 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37066 Likewise.
37067 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37068 Likewise.
37069 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37070 Likewise.
37071
37072 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37073
37074 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37075 to avoid alignment traps in non-cacheable memory.
37076 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37077
37078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37079 multiarch objects.
37080 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37081 file: multiarch power7 memmove.
37082 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37083 multiarch default memmove.
37084 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37085 multiarch memove for powerpc32/power4.
37086
37087 * string/bcopy.c: Use full path to include memmove.c.
37088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37089 multiarch objects.
37090 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37091 bcopy for powerpc64.
37092 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37093 bcopy for powerpc64.
37094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37095 and memmove implementations.
37096 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37097 optimized multiarch memmove for POWER7/powerpc64.
37098 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37099 default multiarch memmove for powerpc64.
37100 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37101 multiarch for powerpc64.
37102 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37103 for POWER7/powerpc64.
37104 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37105 memmove for POWER7/powerpc64.
37106
37107 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37108 glibc default one.
37109
37110 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37111 __ELF_NATIVE_CLASS equal to 64.
37112
37113 2014-07-07 Roland McGrath <roland@hack.frob.com>
37114
37115 * sysdeps/nptl/lowlevellock.h: File removed.
37116
37117 * NEWS: NPTL is no longer an add-on!
37118 * nptl/internaltypes.h: Moved ...
37119 * sysdeps/nptl/internaltypes.h: ... here.
37120 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37121 * sysdeps/nptl/fork.c: Likewise.
37122 * sysdeps/nptl/gai_misc.h: Likewise.
37123 * sysdeps/nptl/librt-cancellation.c: Likewise.
37124 * sysdeps/nptl/jmp-unwind.c: Likewise.
37125 * sysdeps/nptl/setxid.h: Likewise.
37126 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37127 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37128 * sysdeps/unix/sysv/linux/arm/Implies: New file.
37129 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37130 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37131 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37132 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37133 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37134 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37135 * sysdeps/unix/sysv/linux/mips/Implies: New file.
37136 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37137 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37138 * sysdeps/unix/sysv/linux/sh/Implies: New file.
37139 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37140 * sysdeps/unix/sysv/linux/tile/Implies: New file.
37141 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37142 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37143 * nptl/Makeconfig: Moved ...
37144 * sysdeps/nptl/Makeconfig: ... here.
37145 * nptl/configure: File removed.
37146 * nptl/ANNOUNCE: File removed.
37147 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37148 * sysdeps/unix/sysv/linux/configure: Regenerated.
37149
37150 * nptl/Makefile (routines): Add libc_pthread_init,
37151 libc_multiple_threads, register-atfork and unregister-atfork.
37152 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37153 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37154 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37155 pthread-pi-defines.sym, structsem.sym.
37156 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37157 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37158 [$(subdir) = nptl] (tests): Add tst-setgetname.
37159 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37160 * sysdeps/unix/sysv/linux/sigaction.c: Just include
37161 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37162 [!LIBC_SIGACTION]: Remove aliases.
37163 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37164 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37165 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37166 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37167 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37168 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37169 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37170 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37171 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37172 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37173 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37174 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37175 __libc_allocate_rtsig_private.
37176 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37177 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37178 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37179 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37180 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37181 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37182 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37183 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37184 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37185 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37186 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37187 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37188 * nptl/internaltypes.h: ... here.
37189 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37190 * sysdeps/nptl/jmp-unwind.c: ... here.
37191 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37192 * nptl/libc-lowlevellock.c: ... here.
37193 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37194 * nptl/libc_multiple_threads.c: ... here.
37195 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37196 * nptl/libc_pthread_init.c: ... here.
37197 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37198 * nptl/lowlevelbarrier.sym: ... here.
37199 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37200 * nptl/lowlevelcond.sym: ... here.
37201 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37202 * nptl/lowlevellock.c: ... here.
37203 * nptl/lowlevellock.h: Moved ...
37204 * sysdeps/nptl/lowlevellock.h: ... here.
37205 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37206 * nptl/lowlevelrobustlock.c: ... here.
37207 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37208 * nptl/lowlevelrobustlock.sym: ... here.
37209 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37210 * nptl/lowlevelrwlock.sym: ... here.
37211 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37212 * nptl/pt-fork.c: ... here.
37213 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37214 * nptl/pthread-pi-defines.sym: ... here.
37215 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37216 * nptl/pthread_attr_getaffinity.c: ... here.
37217 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37218 * nptl/pthread_attr_setaffinity.c: ... here.
37219 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37220 * nptl/pthread_mutex_cond_lock.c: ... here.
37221 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37222 Update #include.
37223 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37224 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37225 * nptl/pthread_once.c: ... here, replacing old file.
37226 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37227 * nptl/pthread_yield.c: ... here.
37228 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37229 * nptl/register-atfork.c: ... here.
37230 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37231 * nptl/sem_post.c: ... here.
37232 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37233 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37234 * nptl/sem_timedwait.c: ... here.
37235 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37236 * nptl/sem_trywait.c: ... here.
37237 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37238 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37239 * nptl/sem_wait.c: ... here.
37240 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37241 * nptl/structsem.sym: ... here.
37242 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37243 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37244 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37245 * nptl/unregister-atfork.c: ... here.
37246 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37247 * nptl/unwindbuf.sym: ... here.
37248 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37249 * sysdeps/nptl/fork.c: ... here.
37250 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37251 * sysdeps/nptl/fork.h: ... here.
37252 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37253 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37254 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37255 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37256 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37257 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37258 * sysdeps/unix/sysv/linux/getpid.c: ... here.
37259 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37260 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37261 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37262 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37263 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37264 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37265 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37266 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37267 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37268 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37269 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37270 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37271 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37272 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37273 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37274 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37275 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37276 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37277 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37278 * sysdeps/unix/sysv/linux/raise.c: ... here.
37279 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37280 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37281 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37282 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37283 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37284 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37285 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37286 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37287 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37288 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37289 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37290 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37291 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37292 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37293 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37294
37295 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37296
37297 * sysdeps/generic/memcopy.h: Add comment for
37298 MEMCPY_OK_FOR_FWD_MEMMOVE.
37299
37300 2014-07-04 Will Newton <will.newton@linaro.org>
37301
37302 * string/memchr.c: Merge from gnulib.
37303 [_LIBC]: Remove conditionals.
37304 (__ptr_t): Remove define.
37305 (LONG_MAX_32_BITS): Likewise.
37306 (LONG_MAX): Likewise.
37307 (MEMCHR): Use ANSI prototype and optimize algorithm.
37308
37309 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37310
37311 2014-07-03 Roland McGrath <roland@hack.frob.com>
37312
37313 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37314 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37315
37316 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37317 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37318 in a bare environment with no <stdlib.h> installed.
37319 * sysdeps/nptl/configure: Regenerated.
37320
37321 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37322
37323 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37324 AC_EGREP_CPP for kernel header checks, so they only succeed if
37325 including <linux/version.h> actually works right.
37326 * sysdeps/unix/sysv/linux/configure: Regenerated.
37327
37328 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37329 value so it's not diagnosed as unused.
37330
37331 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37332 thing) with "ifeq ($(subdir),rt)".
37333
37334 2014-07-03 Richard Henderson <rth@redhat.com>
37335
37336 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37337 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37338 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37339
37340 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37341 (math_force_eval): New.
37342
37343 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37344 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37345
37346 * sysdeps/alpha/fpu/s_round.c: Remove file.
37347 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37348
37349 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37350 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37351 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37352 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37353 (_dl_start, print_statistics): Likewise.
37354 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37355 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37356
37357 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37358 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37359 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37360 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37361 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37362 (HP_SMALL_TIMING_AVAIL): Define.
37363 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37364 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37365 (HP_SMALL_TIMING_AVAIL): Define.
37366 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37367 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37368
37369 * sysdeps/aarch64/hp-timing.h: New file.
37370
37371 * sysdeps/generic/hp-timing.h: Remove dead comment.
37372 * sysdeps/generic/hp-timing-common.h: New file.
37373 * sysdeps/alpha/hp-timing.h: Include it.
37374 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37375 * sysdeps/i386/i686/hp-timing.h: Likewise.
37376 * sysdeps/ia64/hp-timing.h: Likewise.
37377 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37378 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37379 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37380 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37381 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37382 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37383 (hp_timing_t): New.
37384
37385 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37386 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37387 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37388 * elf/rtld.c (_dl_start_final): Likewise.
37389 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37390 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37391 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37392 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37393 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37394 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37395 (HP_TIMING_DIFF_INIT): Remove.
37396 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37397 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37398 (HP_TIMING_DIFF_INIT): Remove.
37399 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37400 * sysdeps/i386/i686/hp-timing.c: Remove file.
37401 * sysdeps/x86_64/hp-timing.c: Remove file.
37402 * sysdeps/ia64/hp-timing.c: Remove file.
37403 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37404 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37405 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37406 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37407
37408 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37409 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37410 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37411 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37412 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37413 (HP_TIMING_ACCUM): Remove.
37414 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37415 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37416 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37417
37418 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37419 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37420 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37421 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37422 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37423 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37424 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37425 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37426
37427 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37428
37429 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37430
37431 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37432
37433 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37434
37435 Sync up with gettext.
37436 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37437 [_MSC_VER]: Include malloc.h
37438 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37439 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37440 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37441 TEMP_FAILURE_RETRY. Cast return of alloca.
37442 [!_LIBC] Call gl_rwlock_init.
37443 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37444
37445 2014-07-02 Roland McGrath <roland@hack.frob.com>
37446
37447 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37448 before checking its value.
37449
37450 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37451
37452 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37453
37454 * debug/memcpy_chk.c: Don't include pagecopy.h.
37455 * debug/mempcpy_chk.c: Likewise.
37456 * string/memcpy.c: Likewise.
37457 * string/memmove.c: Likewise.
37458 * sysdeps/powerpc/memmove.c: Likewise.
37459 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37460 definition of PAGE_COPY_FWD_MAYBE here...
37461 * sysdeps/generic/pagecopy.h: ... from here.
37462 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37463
37464 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37466
37467 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37469 optimizations.
37470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37471 (__libc_ifunc_impl_list): Likewise.
37472 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37473 multiarch strcat for PPC64.
37474 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37475 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37476
37477 2014-07-02 Roland McGrath <roland@hack.frob.com>
37478
37479 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37480
37481 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37482
37483 * intl/loadmsgcat.c: Remove declaration of
37484 get_sysdep_segment_value.
37485 (get_sysdep_segment_value): Use ISO C style.
37486 (_nl_load_domain): Use ISO C style. Get rid of redundant
37487 semicolon. Fix typo and formatting in comment.
37488 (_nl_unload_domain): Use ISO C style.
37489
37490 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37491
37492 2014-07-02 Will Newton <will.newton@linaro.org>
37493
37494 * malloc/obstack.c: Merge from gnulib master.
37495 [HAVE_CONFIG_H]: Remove conditional code.
37496 [!_LIBC]: Include config.h.
37497 [!ELIDE_CODE]: Don't include inttypes.h, include
37498 stdint.h unconditionally.
37499 (print_and_abort): Mark as _Noreturn.
37500 (_obstack_allocated_p): Mark as __attribute_pure__.
37501 (obstack_free): Rename to __obstack_free.
37502 [!__attribute__]: Remove conditional code.
37503 * malloc/obstack.h: Merge from gnulib master.
37504 [__cplusplus]: Move conditional down.
37505 [!__attribute_pure__]: Define __attribute_pure__ here
37506 if it is not already defined.
37507 (_obstack_memory_used): Mark as __attribute_pure__.
37508 [!__obstack_free]: Define as obstack_free.
37509 [__GNUC__]: Remove check for ancient NeXT gcc.
37510
37511 2014-07-02 Will Newton <will.newton@linaro.org>
37512 Paul Eggert <eggert@cs.ucla.edu>
37513
37514 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37515
37516 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37517
37518 * resolv/gethnamaddr.c: Add comment warning that the file is
37519 not maintained.
37520
37521 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37522
37523 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37524 entries.
37525
37526 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37527 entry for aio_cancel and aio_cancel64.
37528 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37529 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37530 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37531 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37532 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37533 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37534 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37535 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37536 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37537 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37538 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37539 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37540 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37541
37542 2014-07-01 Roland McGrath <roland@hack.frob.com>
37543
37544 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37545 * nptl/pthread_mutex_lock.c: Likewise.
37546 * nptl/pthread_mutex_timedlock.c: Likewise.
37547 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37548
37549 2014-07-01 Richard henderson <rth@redhat.com>
37550
37551 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37552 (__isnan, __isnanl): Remove.
37553 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37554
37555 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37556
37557 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37558
37559 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37560
37561 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37562
37563 * resolv/nss_dns/dns-host.c (getanswer_r)
37564 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37565
37566 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37567
37568 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37569 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37570 undefine.
37571 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37572 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37573
37574 2014-07-01 Roland McGrath <roland@hack.frob.com>
37575
37576 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37577 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37578
37579 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37580 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37581
37582 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37583 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37584 ... here.
37585 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37586 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37587
37588 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37589 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37590 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37591 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37592
37593 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37594 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37595 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37596 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37597 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37598 Moved ...
37599 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37600 ... here.
37601 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37602 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37603 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37604 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37605 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37606 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37607 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37608 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37609 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37610 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37611 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37612 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37613 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37614 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37615 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37616 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37617 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37618 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37619 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37620 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37621 ... here.
37622 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37623 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37624 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37625 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37626 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37627 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37628 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37629 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37630
37631 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37632
37633 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37634 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37635 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37636 Add sysdep.
37637
37638 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37639
37640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37641
37642 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37643
37644 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37645 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37646
37647 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37648
37649 * sysdeps/arm/libm-test-ulps: Regenerated.
37650
37651 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37652 Roland McGrath <roland@hack.frob.com>
37653
37654 * test-skeleton.c (signal_handler): Kill the whole process group
37655 before killing the child individually.
37656 (main): Report any failure on `setpgid'.
37657
37658 2014-06-30 Roland McGrath <roland@hack.frob.com>
37659
37660 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37661 from _TLS_H to _ARM_NPTL_TLS_H.
37662 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37663 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37664
37665 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37666
37667 [BZ #16539]
37668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37669 (__expm1l): Return argument unchanged when small but not
37670 subnormal.
37671
37672 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37673 include macro name.
37674 (_FP_UNPACK_RAW_1_P): Likewise.
37675 (_FP_PACK_RAW_1): Likewise.
37676 (_FP_PACK_RAW_1_P): Likewise.
37677 (_FP_MUL_MEAT_1_wide): Likewise.
37678 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37679 (_FP_MUL_MEAT_1_hard): Likewise.
37680 (_FP_DIV_MEAT_1_imm): Likewise.
37681 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37682 (_FP_DIV_MEAT_1_udiv): Likewise.
37683 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37684 (_FP_UNPACK_RAW_2): Likewise.
37685 (_FP_UNPACK_RAW_2_P): Likewise.
37686 (_FP_PACK_RAW_2): Likewise.
37687 (_FP_PACK_RAW_2_P): Likewise.
37688 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37689 (_FP_MUL_MEAT_2_wide): Likewise.
37690 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37691 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37692 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37693 (_FP_MUL_MEAT_2_gmp): Likewise.
37694 (_FP_DIV_MEAT_2_udiv): Likewise.
37695 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37696 (_FP_FRAC_SRL_4): Likewise.
37697 (_FP_FRAC_SRST_4): Likewise.
37698 (_FP_FRAC_SRS_4): Likewise.
37699 (_FP_UNPACK_RAW_4): Likewise.
37700 (_FP_UNPACK_RAW_4_P): Likewise.
37701 (_FP_PACK_RAW_4): Likewise.
37702 (_FP_PACK_RAW_4_P): Likewise.
37703 (_FP_MUL_MEAT_DW_4_wide): Likewise.
37704 (_FP_MUL_MEAT_4_wide): Likewise.
37705 (_FP_MUL_MEAT_4_gmp): Likewise.
37706 (umul_ppppmnnn): Likewise.
37707 (_FP_DIV_MEAT_4_udiv): Likewise.
37708 (__FP_FRAC_ADD_4): Likewise.
37709 (__FP_FRAC_SUB_3): Likewise.
37710 (__FP_FRAC_SUB_4): Likewise.
37711 (__FP_FRAC_DEC_3): Likewise.
37712 (__FP_FRAC_DEC_4): Likewise.
37713 (__FP_FRAC_ADDI_4): Likewise.
37714 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37715 (_FP_FRAC_SRL_8): Likewise.
37716 (_FP_FRAC_SRS_8): Likewise.
37717
37718 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37719 include macro name.
37720 (FP_UNPACK_RAW_EP): Likewise.
37721 (FP_PACK_RAW_E): Likewise.
37722 (FP_PACK_RAW_EP): Likewise.
37723 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37724 (_FP_ISSIGNAN): Likewise.
37725 (_FP_ADD_INTERNAL): Likewise.
37726 (_FP_FMA): Likewise.
37727 (_FP_CMP): Likewise.
37728 (_FP_SQRT): Likewise.
37729 (_FP_TO_INT): Likewise.
37730 (_FP_FROM_INT): Likewise.
37731 (FP_EXTEND): Likewise.
37732 (_FP_DIV_MEAT_N_loop): Likewise.
37733
37734 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37735
37736 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37737 throughout.
37738
37739 2014-06-29 Joseph Myers <joseph@codesourcery.com>
37740
37741 [BZ #17097]
37742 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37743 result with correct sign in case of exponents that produce
37744 overflow except for X very close to 1.
37745
37746 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
37747
37748 mktime: merge #if/#ifdef usage from glibc
37749 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37750 as that works with both Glibc's and Gnulib's style.
37751 See thread starting at Siddhesh Poyarekar's bug report at:
37752 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37753
37754 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37755
37756 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37757 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37758 * sysdeps/tile/tilegx/memmove.c: Remove file.
37759
37760 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37761
37762 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37763 abi-name definition.
37764 * scripts/soversions.awk: Do not handle or generate ABI lines.
37765 * shlib-versions: Remove ABI entries.
37766 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37767 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37768
37769 2014-06-27 Roland McGrath <roland@hack.frob.com>
37770
37771 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37772 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37773 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37774 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37775 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37776 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37777 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37778 Moved ...
37779 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37780 ... here.
37781 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37782 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37783 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37784 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37785 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37786 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37787 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37788 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37789 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37790 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37792 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37793 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37794 Moved ...
37795 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37797 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37799 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37800 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37801 Moved ...
37802 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37804 Moved ...
37805 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37807 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37809 Moved ...
37810 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37812 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37813 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37814 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37815 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37816 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37818 Moved ...
37819 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37821 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37822 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37823 Moved ...
37824 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37825 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37826 Moved ...
37827 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37828 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37829 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37830 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37831 Moved ...
37832 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37833 ... here.
37834 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37835 Identical file removed.
37836 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37837 Moved ...
37838 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37839 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37840 Identical file removed.
37841 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37842 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37843 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37844 Moved ...
37845 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37846 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37847 Identical file removed.
37848 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37849 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37850 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37851 Identical file removed.
37852 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37853 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37854 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37855 Identical file removed.
37856 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37857 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37858 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37859 Identical file removed.
37860 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37861 Moved ...
37862 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37863 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37864 Identical file removed.
37865 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37866 Moved ...
37867 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37868 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37869 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37870 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37871 Identical file removed.
37872 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37873 Moved ...
37874 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37875 ... here.
37876 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37877 Identical file removed.
37878 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37879 Moved ...
37880 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37881 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37882 Identical file removed.
37883 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37884 Moved ...
37885 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37886 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37887 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37888 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37889 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37890 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37891 Moved ...
37892 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37893 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37894 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37895
37896 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37897 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37898 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37899 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37900 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37901
37902 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37903
37904 [BZ #17092]
37905 * nscd/nscd.c (monitor_child): Return exit status of child
37906 instead of return value from wait syscall.
37907
37908 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37909
37910 * configure.ac (libc_commonpagesize): Remove variable.
37911 (libc_relro_required): Likewise.
37912 (libc_cv_z_relro): Remove configure test.
37913 * configure: Regenerated.
37914 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37915 variable.
37916 (libc_relro_required): Likewise.
37917 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37918 (libc_relro_required): Likewise.
37919 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37920 (libc_relro_required): Likewise.
37921 * sysdeps/arm/preconfigure: Regenerated.
37922 * sysdeps/ia64/preconfigure: Remove file.
37923 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37924 variable.
37925 (libc_relro_required): Likewise.
37926
37927 [BZ #16561]
37928 [BZ #16562]
37929 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37930 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37931 recompute overflowing results in original rounding mode.
37932 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37933 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37934 recompute overflowing results in original rounding mode.
37935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37936 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37937 recompute overflowing results in original rounding mode.
37938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37939 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37940 recompute overflowing results in original rounding mode.
37941 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37942 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37943 recompute overflowing results in original rounding mode.
37944 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37945 (libc_feholdsetround_ctx): New macro.
37946 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37947 * sysdeps/i386/fpu/libm-test-ulps: Update.
37948 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37949
37950 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37951
37952 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37953 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37954 corresponding .cpsetup call.
37955
37956 2014-06-26 Roland McGrath <roland@hack.frob.com>
37957
37958 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37959 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37960 * sysdeps/arm/Makefile [$(subdir) = csu]
37961 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37962 (static-only-routines): Add aeabi_read_tp here.
37963 (shared-only-routines): Add libc-aeabi_read_tp here.
37964 (CFLAGS-libc-start.c): Add -fexceptions here.
37965 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37966 (sysdep_routines, static-only-routines, shared-only-routines):
37967 Don't add to these here.
37968 (CFLAGS-libc-start.c): Likewise.
37969
37970 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37971 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37972 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37973 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37974 * sysdeps/arm/Makefile [$(subdir) = rt]
37975 (librt-sysdep_routines, librt-shared-only-routines):
37976 Append rt-aeabi_unwind_cpp_pr1 here.
37977 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37978 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37979 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37980 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37981 Append nptl-aeabi_unwind_cpp_pr1 here.
37982 (tests): Filter out tst-cleanupx4 here.
37983 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37984 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37985 Don't do those here.
37986
37987 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37988
37989 * scripts/list-sources.sh: Do not handle ports specially.
37990
37991 2014-06-26 Roland McGrath <roland@hack.frob.com>
37992
37993 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37994 * sysdeps/arm/feupdateenv.c: Likewise.
37995
37996 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37997
37998 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37999
38000 * manual/texinfo.tex: Update to version 2014-05-05.10 with
38001 trailing whitespace removed.
38002 * scripts/config.guess: Update to version 2014-03-23.
38003 * scripts/config.sub: Update to version 2014-05-01
38004 * scripts/install-sh: Update to version 2013-12-25.23.
38005 * scripts/move-if-change: Update from gnulib.
38006
38007 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38008
38009 * debug/memmove_chk.c: Remove pagecopy.h include.
38010
38011 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
38012
38013 * time/mktime.c (leapyear): Remove inline keyword. The code is now
38014 identical to gnulib mktime.
38015
38016 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38017
38018 * configure.ac: Do not test for machine being rs6000. Do not test
38019 for powerpc*-*soft.
38020 * configure: Regenerated.
38021
38022 [BZ #11505]
38023 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38024 test.
38025 * configure: Regenerated.
38026 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38027 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38028 Remove configure test.
38029 * sysdeps/arm/configure: Regenerated.
38030 * sysdeps/nptl/configure.ac: Do not check
38031 libc_cv_asm_cfi_directives.
38032 * sysdeps/nptl/configure: Regenerated.
38033 * sysdeps/x86_64/nptl/configure.ac: Remove file.
38034 * sysdeps/x86_64/nptl/configure: Remove generated file.
38035 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38036 unconditional.
38037 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38038
38039 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38040
38041 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38042 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38043 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38044 it is defined.
38045
38046 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38047 instead of whether it is defined.
38048 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38049 * sysdeps/hppa/dl-machine.h: Likewise.
38050 * sysdeps/ia64/dl-machine.h: Likewise.
38051 * sysdeps/m68k/dl-machine.h: Likewise.
38052 * sysdeps/microblaze/dl-machine.h: Likewise.
38053 * sysdeps/mips/dl-machine.: Likewise.
38054 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38055 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38056 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38057 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38058 * sysdeps/sh/dl-machine.h: Likewise.
38059 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38061 * sysdeps/tile/dl-machine.h: Likewise.
38062 * sysdeps/x86_64/dl-machine.h: Likewise.
38063
38064 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38065 code.
38066 (verify_persistent_db): Likewise.
38067
38068 2014-06-26 Roland McGrath <roland@hack.frob.com>
38069
38070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38071 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38073 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38075 Moved ...
38076 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38077 ... here.
38078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38079 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38081 Identical file removed.
38082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38083 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38085 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38087 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38089 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38091 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38093 Moved ...
38094 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38096 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38098 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38100 Moved ...
38101 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38103 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38105 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38107 Identical file removed.
38108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38109 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38111 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38113 Moved ...
38114 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38115 ... here.
38116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38117 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38119 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38121 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38123 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38125 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38127 Moved ...
38128 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38130 Moved ...
38131 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38133 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38135 Moved ...
38136 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38138 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38139
38140 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38141 folded into ...
38142 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38143 * sysdeps/unix/sysv/linux/s390/Versions
38144 (libpthread: GLIBC_2.19): New version set.
38145 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38146 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38147 (librt: GLIBC_2.3.3): New version set.
38148 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38149 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38150 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38151 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38152 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38153 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38154 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38155 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38156 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38157 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38158 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38159 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38160 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38161 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38162 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38163 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38164 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38165 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38166 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38167 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38168 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38169 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38170 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38171 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38172 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38173 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38174 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38175 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38176 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38177 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38178 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38179 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38183 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38184 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38185 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38186 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38187 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38188 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38189 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38190 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38191 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38192 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38193
38194 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38195 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38196 (__libc_vfork): Define the function under this name.
38197 [!NOT_IN_libc] (__vfork): Make this an alias.
38198 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38199 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38200 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38201 (__libc_vfork): Define the function under this name.
38202 [!NOT_IN_libc] (__vfork): Make this an alias.
38203 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38204 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38205 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38206 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38207 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38208 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38209
38210 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38211 code that was previously under [RESET_PID].
38212 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38213 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38215
38216 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38217 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38218 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38219 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38220 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38221 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38222 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38223 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38224 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38225 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38226 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38227 Moved ...
38228 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38229 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38230 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38231 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38232 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38233 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38234 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38235 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38236 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38237 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38238 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38239 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38240 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38241 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38242 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38243 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38244 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38245 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38246 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38247 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38248 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38249 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38250 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38251 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38252 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38253 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38254 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38255 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38256 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38257
38258 2014-06-25 Roland McGrath <roland@hack.frob.com>
38259
38260 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38261 that was previously under [RESET_PID].
38262 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38263
38264 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38265
38266 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38267 not undefine and redefine.
38268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38269 [O_CLOEXEC]: Make code unconditional.
38270 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38271 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38272 <kernel-features.h>.
38273 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38274 conditional variable definition.
38275 (shm_open) [O_CLOEXEC]: Make code unconditional.
38276 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38277 code.
38278
38279 * configure.ac (USE_REGPARMS): Don't define here.
38280 * configure: Regenerated.
38281 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38282 * sysdeps/i386/configure: Regenerated.
38283
38284 * nptl/createthread.c: Don't include kernel-features.h.
38285 * nptl/pthread_cancel.c: Likewise.
38286 * nptl/pthread_condattr_setclock.c: Likewise.
38287 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38288 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38289 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38290 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38291 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38292 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38293 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38295 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38296 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38297 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38298 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38299 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38300 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38301 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38302 * nscd/gai.c: Likewise.
38303 * nss/nss_db/db-open.c: Likewise.
38304 * sysdeps/generic/ldsodefs.h: Likewise.
38305 * sysdeps/sh/nptl/tls.h: Likewise.
38306 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38307 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38308 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38309 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38310 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38311 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38312 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38313 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38314 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38315 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38316 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38317 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38318 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38319 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38320 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38321 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38322 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38323 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38324 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38325 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38326 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38327 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38328 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38329 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38331 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38332 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38333 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38334 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38335 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38336 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38337 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38338 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38339 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38341 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38342 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38343 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38344 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38345 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38346 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38347 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38348 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38349 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38350 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38351 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38352 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38353 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38354 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38355 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38356 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38357 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38358 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38359 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38360 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38361 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38362 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38363 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38386 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38387 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38388 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38389 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38390 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38391 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38392 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38393 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38394 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38395 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38396 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38397 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38398 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38399 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38400 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38401 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38402 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38403 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38404 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38405 * sysdeps/unix/sysv/linux/system.c: Likewise.
38406 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38407 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38408 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38409 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38410 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38411 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38412 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38413
38414 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38415 * configure: Regenerated.
38416 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38417
38418 * configure.ac (base_machine): Do not set specially for particular
38419 machines here.
38420 * configure: Regenerated.
38421 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38422 settings from configure.ac.
38423 * sysdeps/i386/preconfigure: New file.
38424 * sysdeps/s390/preconfigure: Likewise.
38425 * sysdeps/sh/preconfigure: Likewise.
38426 * sysdeps/sparc/preconfigure: Likewise.
38427
38428 2014-06-25 Roland McGrath <roland@hack.frob.com>
38429
38430 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38431 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38432 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38433 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38434 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38435 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38436 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38437 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38438 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38439 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38440 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38441 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38442 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38443 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38444 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38445 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38446 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38447 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38448 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38449
38450 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38451 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38452 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38453 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38454 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38455 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38456 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38457 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38458 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38459 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38460 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38461 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38462 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38463 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38464 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38465 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38466 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38467 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38468 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38469 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38470 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38471 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38472 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38473 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38474 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38475 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38476 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38477 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38478 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38479 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38480 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38481 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38482 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38483 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38484 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38485 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38486 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38487 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38488
38489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38490 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38492 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38494 Moved ...
38495 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38496 ... here.
38497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38498 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38500 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38502 Moved ...
38503 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38505 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38507 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38509 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38511 Moved ...
38512 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38514 Moved ...
38515 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38517 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38519 Moved ...
38520 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38522 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38524 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38526 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38528 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38530 Moved ...
38531 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38532 ... here.
38533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38534 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38536 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38538 Moved ...
38539 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38541 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38543 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38545 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38547 Moved ...
38548 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38550 Moved ...
38551 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38553 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38555 Moved ...
38556 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38558 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38560 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38561
38562 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38563
38564 * timezone/checktab.awk: Update from tzcode 2014e.
38565 * timezone/private.h: Likewise.
38566 * timezone/tzfile.h: Likewise.
38567 * timezone/zdump.c: Likewise.
38568 * timezone/zic.c: Likewise.
38569
38570 * sysdeps/unix/sysv/linux/kernel-features.h
38571 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38572 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38573 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38574 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38575 Remove conditional code.
38576
38577 2014-06-25 Will Newton <will.newton@linaro.org>
38578
38579 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38580 (_dl_arm_cap_flags): Add HWCAP2 values.
38581 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38582 (_DL_HWCAP_COUNT): Increase to 37.
38583 (_DL_HWCAP_LAST): New define.
38584 (_DL_HWCAP2_LAST): New define.
38585 (_dl_procinfo): Add support for printing
38586 AT_HWCAP2 entries.
38587 (_dl_string_hwcap): Use _dl_hwcap_string.
38588
38589 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38590
38591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38592
38593 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38594
38595 * README: Do not mention ports directory.
38596
38597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38598 Remove macro.
38599 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38600 <kernel-features.h>.
38601 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38602 conditional variable definition.
38603 (__futimes): Update comment.
38604 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38605 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38606
38607 [BZ #16560]
38608 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38609 arguments close to 0.
38610 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38611 Likewise.
38612 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38613 Likewise.
38614 * math/auto-libm-test-in: Add more tests of exp10.
38615 * math/auto-libm-test-out: Regenerated.
38616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38617
38618 * sysdeps/unix/sysv/linux/kernel-features.h
38619 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38620 * sysdeps/unix/sysv/linux/readv.c: Do not include
38621 <kernel-features.h>.
38622 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38623 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38624 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38625 unconditional.
38626 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38627 conditional code.
38628 * sysdeps/unix/sysv/linux/writev.c: Do not include
38629 <kernel-features.h>.
38630 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38631 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38632 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38633 unconditional.
38634 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38635 conditional code.
38636
38637 2014-06-25 Will Newton <will.newton@linaro.org>
38638
38639 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38640 comment changes throughout the file. Remove checks
38641 for HAVE_*_H definitions that are not required.
38642 (__gen_tempname): Call abort if an unknown kind value is
38643 passed.
38644
38645 2014-06-25 Andreas Schwab <schwab@suse.de>
38646
38647 [BZ #17086]
38648 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38649 scalbln, scalblnf, scalblnl in libc.
38650
38651 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38652
38653 [BZ #17086]
38654 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38655 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38656 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38657
38658 2014-06-24 Roland McGrath <roland@hack.frob.com>
38659
38660 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38661 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38662 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38663 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38664 Update #include.
38665 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38666 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38667 Update #include.
38668 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38669 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38670 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38671 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38672 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38673 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38674 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38675 * sysdeps/x86/bits/semaphore.h: ... here.
38676 * sysdeps/x86/nptl/elide.h: Moved ...
38677 * sysdeps/x86/elide.h: ... here.
38678 * sysdeps/x86_64/nptl/Implies: File removed.
38679 * sysdeps/i386/nptl/Implies: File removed.
38680
38681 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38682
38683 [BZ #16539]
38684 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38685 return the argument for normal arguments with exponent below -64.
38686 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38687 Likewise.
38688 * math/auto-libm-test-in: Add another test of expm1.
38689 * math/auto-libm-test-out: Regenerated.
38690
38691 [BZ #16287]
38692 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38693 calling __erfcl for arguments at least 16.
38694 * math/auto-libm-test-in: Add more tests of erf.
38695 * math/auto-libm-test-out: Regenerated.
38696
38697 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38698 individual architectures.
38699 * sysdeps/unix/sysv/linux/configure: Regenerated.
38700 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38701 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38702 * sysdeps/unix/sysv/linux/powerpc/configure.ac
38703 (ldd_rewrite_script): Define variable.
38704 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38706 file.
38707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38708 generated file.
38709 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38710 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38711 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38712 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38713 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38714 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38715 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38716 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38717
38718 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38719
38720 [BZ #17084]
38721 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38722 Rename member __data.d to __data.__elision_data.
38723
38724 2014-06-24 Wilco <wdijkstr@arm.com>
38725
38726 * NEWS: Add 16918 to fixed bug list.
38727
38728 2014-06-24 Wilco <wdijkstr@arm.com>
38729
38730 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38731
38732 2014-06-24 Wilco <wdijkstr@arm.com>
38733
38734 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38735 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38736 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38737 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38738 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38739 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38740 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38741 Use _FPU_MASK_RM.
38742
38743 2014-06-24 Wilco <wdijkstr@arm.com>
38744
38745 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38746
38747 2014-06-24 Wilco <wdijkstr@arm.com>
38748
38749 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38750 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38751 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38752 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38753
38754 2014-06-24 Wilco <wdijkstr@arm.com>
38755
38756 [BZ #16918]
38757 * sysdeps/arm/feupdateenv.c (feupdateenv):
38758 Rewrite to reduce FPSCR accesses and fix return value.
38759
38760 2014-06-24 Wilco <wdijkstr@arm.com>
38761
38762 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38763 Optimize to avoid unnecessary FPSCR writes.
38764 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38765 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38766 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38767 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38768
38769 2014-06-24 Wilco <wdijkstr@arm.com>
38770
38771 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38772 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38773 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38774 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38775 Call libc_fetestexcept_vfp.
38776 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38777 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38778 __SOFTFP__ ifdef so that they can be built for softfp.
38779
38780 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38781
38782 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38783 argument type signed char.
38784
38785 * Makerules (check-abi): Dump diff of symlist if the test
38786 fails.
38787
38788 2014-06-23 Roland McGrath <roland@hack.frob.com>
38789
38790 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38791 using abort.
38792
38793 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38794 Remove unused variable ST.
38795
38796 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38797
38798 [BZ #16354]
38799 [BZ #17061]
38800 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38801 small arguments before calling __expm1.
38802 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38803 small arguments before calling __expm1f.
38804 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38805 small arguments before calling __expm1l.
38806 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38807 Likewise.
38808 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38809 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38810 spurious underflow for some cosh tests.
38811 * math/auto-libm-test-out: Regenerated.
38812 * sysdeps/i386/fpu/libm-test-ulps: Update.
38813
38814 [BZ #17050]
38815 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38816 (__ieee754_y1): Set errno if return value overflows.
38817 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38818 (__ieee754_y1f): Set errno if return value overflows.
38819 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38820 (__ieee754_y1l): Set errno if return value overflows.
38821 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38822 (__ieee754_y1l): Set errno if return value overflows.
38823 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38824 * math/auto-libm-test-out: Regenerated.
38825
38826 * math/gen-auto-libm-tests.c: Document use of
38827 ignore-zero-inf-sign.
38828 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38829 (input_flags): Add ignore-zero-inf-sign.
38830 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38831 * math/gen-libm-test.pl (generate_testfile): Handle
38832 ignore-zero-inf-sign.
38833 * math/auto-libm-test-in: Mark some cpow tests with
38834 ignore-zero-inf-sign and some with xfail-rounding.
38835 * math/auto-libm-test-out: Regenerated.
38836 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38837 * sysdeps/i386/fpu/libm-test-ulps: Update.
38838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38839
38840 [BZ #16315]
38841 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38842 overflowing or underflowing operations take place with sign of
38843 result.
38844 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38845 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38846 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38847 (__ieee754_pow): Recompute overflowing and underflowing results in
38848 original rounding mode.
38849 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38850 (__powl_helper): Allow negative argument X and scale negated value
38851 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38852 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38853 overflowing or underflowing operations take place with sign of
38854 result.
38855 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38856 Include <math.h>.
38857 * math/auto-libm-test-in: Add more tests of pow.
38858 * math/auto-libm-test-out: Regenerated.
38859 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38860 (pow_tonearest_test_data): Remove.
38861 (pow_test_tonearest): Likewise.
38862 (pow_towardzero_test_data): Likewise.
38863 (pow_test_towardzero): Likewise.
38864 (pow_downward_test_data): Likewise.
38865 (pow_test_downward): Likewise.
38866 (pow_upward_test_data): Likewise.
38867 (pow_test_upward): Likewise.
38868 (main): Don't call removed functions.
38869 * sysdeps/i386/fpu/libm-test-ulps: Update.
38870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38871
38872 2014-06-23 Roland McGrath <roland@hack.frob.com>
38873
38874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38875 Moved ...
38876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38878 Moved ...
38879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38881 Moved ...
38882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38884 Moved ...
38885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38887 File removed.
38888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38889 File removed.
38890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38891 File removed.
38892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38893 File removed.
38894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38895 File removed.
38896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38897 File removed.
38898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38899 File removed.
38900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38901 File removed.
38902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38903 File removed.
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38905 File removed.
38906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38907 File removed.
38908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38909 File removed.
38910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38911 Moved ...
38912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38914 Moved ...
38915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38916 ... here.
38917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38918 Moved ...
38919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38921 Moved ...
38922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38924 Moved ...
38925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38927 Moved ...
38928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38930 Moved ...
38931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38933 Moved ...
38934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38936 Moved ...
38937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38940 ... here.
38941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38942 Moved ...
38943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38945 Moved ...
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38947 ... here.
38948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38949 Moved ...
38950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38951 ... here.
38952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38953 Moved ...
38954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38955 ... here.
38956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38957 Moved ...
38958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38960 Moved ...
38961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38965 Moved ...
38966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38967 ... here.
38968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38969 Moved ...
38970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38971 ... here.
38972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38973 Moved ...
38974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38976 Moved ...
38977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38979 Moved ...
38980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38982 Moved ...
38983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38985 Moved ...
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38987 ... here.
38988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38989 Moved ...
38990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38992 Moved ...
38993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38995 Moved ...
38996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38998 Moved ...
38999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39003 Moved ...
39004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39006 Moved ...
39007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39009 Moved ...
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39011 ... here.
39012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39013 Moved ...
39014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39015 ... here.
39016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39017 Moved ...
39018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39019 ... here.
39020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39021 Moved ...
39022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39024 Moved ...
39025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39027 Moved ...
39028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39030 Moved ...
39031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39032 ... here.
39033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39034 Moved ...
39035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39036 ... here.
39037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39038 Moved ...
39039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39040 ... here.
39041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39042 Moved ...
39043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39045 Moved ...
39046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39047
39048 2014-06-23 Will Newton <will.newton@linaro.org>
39049 Wilco <wdijkstr@arm.com>
39050
39051 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39052 implementation. Include get-rounding-mode.h.
39053 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39054 [!libc_feholdsetround_noex_ctx]: Define
39055 libc_feholdsetround_noex_ctx.
39056 [!libc_feholdsetround_noexf_ctx]: Define
39057 libc_feholdsetround_noexf_ctx.
39058 [!libc_feholdsetround_noexl_ctx]: Define
39059 libc_feholdsetround_noexl_ctx.
39060 (libc_feholdsetround_ctx): New function.
39061 (libc_feresetround_ctx): New function.
39062 (libc_feholdsetround_noex_ctx): New function.
39063 (libc_feresetround_noex_ctx): New function.
39064
39065 2014-06-23 Roland McGrath <roland@hack.frob.com>
39066
39067 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39068 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39069 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39070 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39071 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39072 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39073
39074 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39075 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39076 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39077 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39078 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39079 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39080 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39081 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39082 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39083 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39084 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39085 Moved ...
39086 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39087 ... here.
39088 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39089 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39090 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39091 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39092 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39093 Moved ...
39094 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39095 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39096 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39097 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39098 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39099 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39100 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39101 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39102 Moved ...
39103 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39105 Moved ...
39106 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39107 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39108 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39109 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39110 Moved ...
39111 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39113 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39114 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39115 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39116 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39117 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39118 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39119 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39120 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39121 Moved ...
39122 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39123 ... here.
39124 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39125 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39126 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39127 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39128 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39129 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39130 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39131 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39132 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39133 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39134 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39135 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39136 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39137 Moved ...
39138 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39139 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39140 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39141 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39142 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39143 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39144 Moved ...
39145 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39147 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39148 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39149 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39150
39151 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39152 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39153 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39154 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39155 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39156 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39157 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39158 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39160 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39161 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39162 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39163 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39164 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39165 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39166 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39167 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39168 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39169 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39170 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39171 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39172 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39173 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39174 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39175 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39176 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39177 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39178 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39179
39180 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39181
39182 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39183 (FALLOC_FL_COLLAPSE_RANGE): New macro.
39184 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39185 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39186 (IPV6_PMTUDISC_INTERFACE): Likewise.
39187 (IPV6_PMTUDISC_OMIT): Likewise.
39188
39189 2014-06-23 Andreas Schwab <schwab@suse.de>
39190
39191 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39192 Remove unused errout label.
39193
39194 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39195
39196 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39197 macro: hardware supports Vector Crypto instructions.
39198
39199 2014-06-23 Will Newton <will.newton@linaro.org>
39200
39201 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39202 rather than __builtin_expect.
39203
39204 * elf/dl-lookup.c (undefined_msg): Remove variable.
39205 (_dl_lookup_symbol_x): Replace undefined_msg with string
39206 literal.
39207
39208 * elf/dl-lookup.c (do_lookup_unique): New function.
39209 (do_lookup_x): Move STB_GNU_UNIQUE handling code
39210 to a separate function.
39211
39212 2014-06-23 Andreas Schwab <schwab@suse.de>
39213
39214 [BZ #17079]
39215 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39216 before reading the next line.
39217
39218 2014-06-23 Will Newton <will.newton@linaro.org>
39219
39220 * test-skeleton.c (signal_handler): Use printf and %m
39221 rather than perror. Use printf rather than fprintf to
39222 stderr. Use puts rather than fputs to stderr.
39223 (main): Likewise.
39224
39225 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39226
39227 * nscd/nscd.c (thread_info_t): Remove typedef.
39228 (thread_info): Remove variable.
39229
39230 2014-06-21 Allan McRae <allan@archlinux.org>
39231
39232 * NEWS: Mention CVE-2014-4043.
39233
39234 2014-06-20 Roland McGrath <roland@hack.frob.com>
39235
39236 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39237 * nptl/smp.h: ... here.
39238
39239 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39240
39241 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39242 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39243 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39244 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39245
39246 * nptl/allocatestack.c: Include <stack-aliasing.h>.
39247 * nptl/stack-aliasing.h: New file.
39248 * sysdeps/i386/i686/stack-aliasing.h: New file.
39249 * sysdeps/i386/i686/nptl/Makefile: File removed.
39250 * sysdeps/x86_64/stack-aliasing.h: New file.
39251 * sysdeps/x86_64/nptl/Makefile
39252 (CFLAGS-pthread_create.c): Variable removed.
39253
39254 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39255 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39256 old file.
39257 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39258 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39259 old file.
39260
39261 2014-06-21 Joseph Myers <joseph@codesourcery.com>
39262
39263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39264 (__ASSUME_SIGFRAME_V2): Remove macro.
39265 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39266 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39267 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39268 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39269 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39270 Declare as function. Remove conditional macro definitions.
39271 (__default_rt_sa_restorer): Likewise.
39272 (__default_sa_restorer_v1): Remove declaration.
39273 (__default_sa_restorer_v2): Likewise.
39274 (__default_rt_sa_restorer_v1): Likewise.
39275 (__default_rt_sa_restorer_v2): Likewise.
39276 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39277 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39278 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39279
39280 2014-06-20 Roland McGrath <roland@hack.frob.com>
39281
39282 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39283 (libpthread-routines): Add sysdep.
39284 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39285 * sysdeps/unix/sysv/linux/sparc/Versions
39286 (libpthread: GLIBC_2.3.3): New version set.
39287 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39288 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39289 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39290 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39291 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
39292 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39293 Moved ...
39294 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39295 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39296 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39297 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39298 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39299 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39300 * sysdeps/sparc/nptl/sem_init.c: ... here.
39301 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39302 * sysdeps/sparc/nptl/sem_post.c: ... here.
39303 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39304 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39305 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39306 * sysdeps/sparc/nptl/sem_wait.c: ... here.
39307 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39308 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39309 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39310 (libpthread-routines): Add cpu_relax.
39311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39312 File removed.
39313 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39314 (librt: GLIBC_2.3.3): New version set.
39315 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39316 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39317 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39318 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39321 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39323 Moved ...
39324 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39326 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39328 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39330 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39332 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39334 Moved ...
39335 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39336 Update #include.
39337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39338 Moved ...
39339 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39340 Update #include.
39341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39342 Moved ...
39343 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39344 Update #include.
39345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39346 Moved ...
39347 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39348 Update #include.
39349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39350 Moved ...
39351 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39352 Update #include.
39353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39354 Moved ...
39355 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39356 Update #include.
39357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39358 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39364 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39366 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39368 Moved ...
39369 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39371 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39373 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39374
39375 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39376
39377 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39378 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39379 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39380 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39381 * nscd/nscd.c: Likewise.
39382 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39383 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39384 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39385 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39386
39387 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39388 <kernel-features.h>.
39389 (init_mq_netlink): Remove conditional have_sock_cloexec
39390 definitions. Remove code conditional on have_sock_cloexec < 0.
39391 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39392 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39393 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39394 <kernel-features.h>.
39395 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39396 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39397
39398 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39399
39400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39401 Add tests for memset_chk and memset.
39402
39403 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39404 with AVX2_Usable.
39405
39406 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39407
39408 [BZ #16046]
39409 * elf/tst-dl-iter-static.c: New file.
39410 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39411
39412 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39413 error.
39414
39415 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39416
39417 * sysdeps/unix/sysv/linux/kernel-features.h
39418 (__ASSUME_F_GETOWN_EX): Remove macro.
39419 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39420 <kernel-features.h>.
39421 (miss_F_GETOWN_EX): Remove variable or macro.
39422 (do_fcntl): Do not check miss_F_GETOWN_EX.
39423 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39424
39425 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39426 Remove macro.
39427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39428 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39429 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39430
39431 * sysdeps/unix/sysv/linux/kernel-features.h
39432 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39433 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39434 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39435 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39436
39437 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39438
39439 [BZ #17075]
39440 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39441 Fix calculation of the symbol's value.
39442 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39443 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39444 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39445 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39446 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39447 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39448 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39449 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39450 (modules-names): Add `tst-armtlsdescmod',
39451 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39452 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39453 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39454 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39455 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39456 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39457 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39458 ($(objpfx)tst-armtlsdescloc): New dependency.
39459 ($(objpfx)tst-armtlsdescextnow): Likewise.
39460 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39461 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39462 TLS scheme support.
39463 * sysdeps/arm/configure: Regenerate.
39464
39465 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39466
39467 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39468 (__atfct_seterrno_2): Likewise.
39469 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39470 <kernel-features.h>.
39471 (__ASSUME_ATFCTS): Do not undefine and redefine.
39472 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39473 (__have_atfcts): Remove conditional definition.
39474 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39475 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39476 unreachable if [__ASSUME_ATFCTS].
39477 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39478 not undefine and redefine.
39479 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39480 <kernel-features.h>.
39481 (faccessat) [__NR_faccessat]: Make code unconditional.
39482 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39483 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39484 <kernel-features.h>.
39485 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39486 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39487 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39488 <kernel-features.h>.
39489 (fchownat) [__NR_fchownat]: Make code unconditional.
39490 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39491 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39492 <kernel-features.h>.
39493 (futimesat) [__NR_futimesat]: Make code unconditional.
39494 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39495 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39496 <kernel-features.h>.
39497 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39498 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39499 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39500 <kernel-features.h>.
39501 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39502 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39503 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39504 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39505 <kernel-features.h>.
39506 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39507 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39508 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39509 <kernel-features.h>.
39510 (linkat) [__NR_linkat]: Make code unconditional.
39511 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39512 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39513 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39514 <kernel-features.h>.
39515 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39516 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39517 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39518 <kernel-features.h>.
39519 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39520 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39521 * sysdeps/unix/sysv/linux/openat.c: Do not include
39522 <kernel-features.h>.
39523 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39524 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39525 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39526 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39527 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39528 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39529 <kernel-features.h>.
39530 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39531 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39532 result of INLINE_SYSCALL directly, not via int variable.
39533 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39534 <kernel-features.h>.
39535 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39536 (renameat) [__NR_renameat]: Make code unconditional.
39537 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39538 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39539 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39540 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39541 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39542 (__ASSUME_ATFCTS): Do not undefine and redefine.
39543 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39544 <kernel-features.h>.
39545 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39546 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39547 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39548 <kernel-features.h>.
39549 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39550 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39551 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39552 (__ASSUME_ATFCTS): Do not undefine and redefine.
39553 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39554 <kernel-features.h>.
39555 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39556 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39557 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39558 <kernel-features.h>.
39559 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39560 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39561
39562 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39563
39564 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39565
39566 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39567
39568 [BZ #17069]
39569 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39570 constructed tree before returning error.
39571 * posix/bug-regexp36.c: Expand test case.
39572
39573 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39574
39575 [BZ #6803]
39576 * math/libm-test.inc (scalbln_test_date):
39577 Add errno expectations.
39578 * math/w_scalblnf.c: New File.
39579 Add wrapper which checks for setting errno to ERANGE.
39580 Add weak_alias for corresponding scalbln function.
39581 * math/w_scalbln.c: Likewise.
39582 * math/w_scalblnl.c: Likewise.
39583 * math/Makefile (libm-calls): Add w_scalbln.
39584 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39585 Remove weak_alias for corresponding scalbln function.
39586 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39588 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39590 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39591 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39592 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39593 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39594 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39595 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39596 Remove long_double_symbol for scalblnl function in libm, libc.
39597 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39598 Add wrapper which checks for setting errno to ERANGE.
39599 Add long_double_symbol for scalblnl function in libm, libc.
39600 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39601 Remove long_double_symbol for scalblnl in libm.
39602 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39603 Add wrapper which checks for setting errno to ERANGE.
39604 Add long_double_symbol for scalblnl function in libm.
39605 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39606 Do not use wrapper because of own implementation.
39607
39608 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39609
39610 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39611 3 bytes for __pad1 for x32.
39612 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39613
39614 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39615 H.J. Lu <hongjiu.lu@intel.com>
39616
39617 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39618 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39619 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39620 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39621 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39622
39623 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39624
39625 [BZ #17069]
39626 * posix/regcomp.c (parse_expression): Deallocate partially
39627 constructed tree before returning error.
39628 * posix/Makefile.c (tests): Add bug-regex36.
39629 (generated): Add bug-regex36.mtrace.
39630 (tests-special): Add $(objpfx)bug-regex36-mem.out
39631 (bug-regex36-ENV): New variable.
39632 ($(objpfx)bug-regex36-mem.out): New rule.
39633 * posix/bug-regex36.c: New file.
39634
39635 2014-06-19 Will Newton <will.newton@linaro.org>
39636
39637 * malloc/malloc.c (systrim): If extra is zero then return
39638 early.
39639
39640 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39641
39642 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39643
39644 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39645
39646 * sysdeps/aarch64/strchr.S: New file.
39647
39648 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39649
39650 [BZ #17022]
39651 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39652 from arguments -2 or below.
39653 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39654 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39655
39656 2014-06-18 Andreas Schwab <schwab@suse.de>
39657
39658 [BZ #17062]
39659 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39660 of a bracket expr not to run off the end of the string.
39661 * posix/Makefile (tests): Add tst-fnmatch3.
39662 * posix/tst-fnmatch3.c: New file.
39663
39664 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39665
39666 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39667 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39668 [$(cross-compiling) = no]: Likewise.
39669 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39670 [$(cross-compiling) = no]: Likewise.
39671
39672 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39673
39674 [BZ #17031]
39675 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39676 double, adjusted for any remainder from the high double.
39677 * math/libm-test.inc (nearbyint): Add tests.
39678 (rint): Likewise.
39679
39680 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39681
39682 * nptl/sysdeps/powerpc/Makefile: Moved ...
39683 * sysdeps/powerpc/nptl/Makefile: ... here.
39684 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39685 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39686 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39687 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39688 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39689 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39690 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39691 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39692 * nptl/sysdeps/powerpc/tls.h: Moved ...
39693 * sysdeps/powerpc/nptl/tls.h: ... here.
39694
39695 2014-06-16 Joseph Myers <joseph@codesourcery.com>
39696
39697 [BZ #16681]
39698 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39699 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39700 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39701 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39702 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39703 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39704 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39705 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39706 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39707
39708 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
39709
39710 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39711
39712 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
39713
39714 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39715 defined operator.
39716
39717 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39718 $TIMEOUTFACTOR.
39719
39720 2014-06-16 Florian Weimer <fweimer@redhat.com>
39721
39722 [BZ #17058]
39723 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39724 non-executed part of the test.
39725
39726 2014-06-16 Andreas Schwab <schwab@suse.de>
39727
39728 * string/bits/string2.h (strdup, strndup): Update feature guard.
39729
39730 2014-06-14 David S. Miller <davem@davemloft.net>
39731
39732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39733
39734 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
39735
39736 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39737 that was previously under [RESET_PID].
39738 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39739
39740 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39741 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39742 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39743 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39744 (__libc_vfork): New strong alias.
39745 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39746
39747 2014-06-14 Andi Kleen <ak@linux.intel.com>
39748
39749 * sysdeps/generic/elide.h: New file.
39750
39751 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39752
39753 * Makefile (installed-headers): Adjust path of pthread.h header.
39754
39755 2014-06-13 Roland McGrath <roland@hack.frob.com>
39756
39757 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39758 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39759 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39760 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39761
39762 * nptl/sysdeps/s390/Makefile: Moved ...
39763 * sysdeps/s390/nptl/Makefile: ... here.
39764 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39765 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39766 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39767 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39768 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39769 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39770 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39771 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39772 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39773 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39774 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39775 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39776 * nptl/sysdeps/s390/tls.h: Moved ...
39777 * sysdeps/s390/nptl/tls.h: ... here.
39778
39779 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39780 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39781
39782 2014-06-13 David S. Miller <davem@davemloft.net>
39783
39784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39787 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39791 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39792 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39793 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39794 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39795 Remove RESET_PID cpp guards.
39796 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39797 Remove RESET_PID cpp guards.
39798 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39799
39800 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39801
39802 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39803 __sp to uintptr_t.
39804
39805 2014-06-13 Andi Kleen <ak@linux.intel.com>
39806
39807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39808 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39809 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39810 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39811 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39812 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39813 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39814 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39816 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39817 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39818 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39819 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39820 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39821 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39822 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39823 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39824 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39825 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39826 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39827
39828 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39829 (pthread_rwlock_rdlock): Add elision.
39830 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39831 (pthread_rwlock_wrlock): Add elision.
39832 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39833 (pthread_rwlock_trywrlock): Add elision.
39834 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39835 (pthread_rwlock_tryrdlock): Add elision.
39836 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39837 (pthread_rwlock_tryrdlock): Add elision unlock.
39838 * nptl/sysdeps/pthread/pthread.h:
39839 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39840 (PTHREAD_RWLOCK_INITIALIZER,
39841 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39842 Handle new elision field.
39843 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39844 * sysdeps/arm/nptl/bits/pthreadtypes.h
39845 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39846 * sysdeps/sh/nptl/bits/pthreadtypes.h
39847 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39848 * sysdeps/tile/nptl/bits/pthreadtypes.h
39849 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39850 * sysdeps/a/nptl/bits/pthreadtypes.h
39851 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39852 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39853 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39854 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39855 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39856 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39857 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39858 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39860 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39861 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39862 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39863 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39864 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39865 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39866 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39868 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39869 (elision_init): Set try_xbegin to zero when no RTM.
39870 * sysdeps/x86/nptl/bits/pthreadtypes.h
39871 (pthread_rwlock_t): Change __pad1 to __rwelision.
39872 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39873
39874 2014-06-13 Andi Kleen <ak@linux.intel.com>
39875
39876 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39877 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39878 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39879 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39880
39881 2014-06-13 Meador Inge <meadori@codesourcery.com>
39882
39883 [BZ #16996]
39884 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39885 that the cached result has been set before returning it.
39886
39887 2014-06-12 Roland McGrath <roland@hack.frob.com>
39888
39889 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39890 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39891 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39892 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39893 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39894 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39895
39896 * nptl/sysdeps/sparc/Makefile: Moved ...
39897 * sysdeps/sparc/nptl/Makefile: ... here.
39898 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39899 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39900 * nptl/sysdeps/sparc/tls.h: Moved ...
39901 * sysdeps/sparc/nptl/tls.h: ... here.
39902 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39903 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39904 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39905 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39906 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39907 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39908 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39909 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39910 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39911 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39912 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39913 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39914 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39915 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39916 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39917 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39918 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39919 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39920 Update #include.
39921 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39922 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39923 Update #include.
39924 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39926 Update #include.
39927 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39928 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39929 Update #include.
39930
39931 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39932
39933 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39934 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39935
39936 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39937 (struct list_links): Type removed.
39938 (struct thread_node, struct timer_node): Replace struct list_links
39939 with struct list_head.
39940 (list_unlink_ip): Likewise.
39941 * sysdeps/pthread/timer_routines.c
39942 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39943 (list_append, list_insbefore): Likewise.
39944 (list_init): Function removed.
39945 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39946 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39947 * sysdeps/pthread/Makefile: ... here, new file.
39948
39949 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39950 * sysdeps/nptl/Implies: ... here.
39951 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39952 * nptl/sysdeps/pthread/list.h: Moved ...
39953 * include/list.h: ... here.
39954 * nptl/sysdeps/pthread/createthread.c: Moved ...
39955 * nptl/createthread.c: ... here.
39956 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39957 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39958 * nptl/pt-longjmp.c: ... here.
39959 * nptl/sysdeps/pthread/Makefile: Moved ...
39960 * sysdeps/nptl/Makefile: ... here.
39961 * nptl/sysdeps/pthread/Subdirs: Moved ...
39962 * sysdeps/nptl/Subdirs: ... here.
39963 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39964 * sysdeps/nptl/aio_misc.h: ... here.
39965 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39966 * sysdeps/nptl/bits/libc-lock.h: ... here.
39967 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39968 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39969 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39970 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39971 * nptl/sysdeps/pthread/configure: Moved ...
39972 * sysdeps/nptl/configure: ... here.
39973 * nptl/sysdeps/pthread/configure.ac: Moved ...
39974 * sysdeps/nptl/configure.ac: ... here.
39975 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39976 * sysdeps/nptl/gai_misc.h: ... here.
39977 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39978 * sysdeps/nptl/librt-cancellation.c: ... here.
39979 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39980 * sysdeps/nptl/malloc-machine.h: ... here.
39981 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39982 * sysdeps/nptl/pthread-functions.h: ... here.
39983 * nptl/sysdeps/pthread/pthread.h: Moved ...
39984 * sysdeps/nptl/pthread.h: ... here.
39985 * nptl/sysdeps/pthread/setxid.h: Moved ...
39986 * sysdeps/nptl/setxid.h: ... here.
39987 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39988 * sysdeps/nptl/sigfillset.c: ... here.
39989 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39990 * sysdeps/nptl/tcb-offsets.h: ... here.
39991 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39992 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39993 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39994 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39995 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39996 * sysdeps/pthread/allocalim.h: ... here.
39997 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39998 * sysdeps/pthread/bits/sigthread.h: ... here.
39999 * nptl/sysdeps/pthread/flockfile.c: Moved ...
40000 * sysdeps/pthread/flockfile.c: ... here.
40001 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40002 * sysdeps/pthread/ftrylockfile.c: ... here.
40003 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40004 * sysdeps/pthread/funlockfile.c: ... here.
40005 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40006 * sysdeps/pthread/posix-timer.h: ... here.
40007 * nptl/sysdeps/pthread/timer_create.c: Moved ...
40008 * sysdeps/pthread/timer_create.c: ... here.
40009 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40010 * sysdeps/pthread/timer_delete.c: ... here.
40011 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40012 * sysdeps/pthread/timer_getoverr.c: ... here.
40013 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40014 * sysdeps/pthread/timer_gettime.c: ... here.
40015 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40016 * sysdeps/pthread/timer_routines.c: ... here.
40017 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40018 * sysdeps/pthread/timer_settime.c: ... here.
40019 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40020 * sysdeps/pthread/tst-timer.c: ... here.
40021 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40022 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40023
40024 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40025 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40026
40027 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40028 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40029 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40030 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40031 Update #include target.
40032 * nptl/sysdeps/i386/i686/Makefile: Moved ...
40033 * sysdeps/i386/i686/nptl/Makefile: ... here.
40034 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40035 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40036 Update #include target.
40037 * nptl/sysdeps/i386/i686/tls.h: Moved ...
40038 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
40039 * nptl/sysdeps/i386/Makefile: Moved ...
40040 * sysdeps/i386/nptl/Makefile: ... here.
40041 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40042 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40043 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40044 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40045 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40046 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40047 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40048 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40049 * sysdeps/i386/nptl/pthreaddef.h: ... here.
40050 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40051 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40052 * nptl/sysdeps/i386/tls.h: Moved ...
40053 * sysdeps/i386/nptl/tls.h: ... here.
40054
40055 * sysdeps/sh/Makefile [$(subdir) = csu]
40056 (gen-as-const-headers): Add tcb-offsets.sym.
40057 * nptl/sysdeps/sh/Makefile: File removed.
40058 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40059 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40060 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40061 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40062 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40063 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40064 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40065 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40066 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40067 * sysdeps/sh/nptl/pthreaddef.h: ... here.
40068 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40069 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40070 * nptl/sysdeps/sh/tls.h: Moved ...
40071 * sysdeps/sh/nptl/tls.h: ... here.
40072 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40073 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40074 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40075 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40076 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40077 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40078 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40079 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40080 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40081 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40082 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40083 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40084 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40085 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40086 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40087 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40088 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40089 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40090 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40091 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40092 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40093 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40094 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40095 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40096 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40097 Moved ...
40098 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40099 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40100 Moved ...
40101 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40103 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40104 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40105 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40106 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40107 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40108 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40109 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40110 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40111 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40112 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40113 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40114 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40115 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40116 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40117 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40118 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40119 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40120
40121 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40122
40123 * posix/spawn_faction_addopen.c: Include string.h.
40124
40125 2014-06-11 Roland McGrath <roland@hack.frob.com>
40126
40127 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40128 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40129 * nptl/sysdeps/x86_64/Makefile: Moved ...
40130 * sysdeps/x86_64/nptl/Makefile: ... here.
40131 * nptl/sysdeps/x86_64/configure: Moved ...
40132 * sysdeps/x86_64/nptl/configure: ... here.
40133 * nptl/sysdeps/x86_64/configure.ac: Moved ...
40134 * sysdeps/x86_64/nptl/configure.ac: ... here.
40135 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40136 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40137 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40138 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40139 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40140 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40141 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40142 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40143 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40144 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40145 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40146 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40147 * nptl/sysdeps/x86_64/tls.h: Moved ...
40148 * sysdeps/x86_64/nptl/tls.h: ... here.
40149 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40150 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40151 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40152 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40153
40154 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40155
40156 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40157
40158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40159
40160 2014-06-11 Joseph Myers <joseph@codesourcery.com>
40161
40162 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40163 type.
40164 [POSIX] (off_t): Likewise.
40165 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40166 [POSIX] (S_ISBLK): Require macro.
40167 [POSIX] (S_ISCHR): Likewise.
40168 [POSIX] (S_ISDIR): Likewise.
40169 [POSIX] (S_ISFIFO): Likewise.
40170 [POSIX] (S_ISREG): Likewise.
40171 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40172 optional-macro.
40173 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40174 type.
40175 [POSIX] (time_t): Likewise.
40176 [POSIX] (timer_t): Likewise.
40177
40178 2014-06-11 Florian Weimer <fweimer@redhat.com>
40179
40180 [BZ #17048]
40181 * posix/spawn_int.h (struct __spawn_action): Make the path string
40182 non-const to support deallocation.
40183 * posix/spawn_faction_addopen.c
40184 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40185 * posix/spawn_faction_destroy.c
40186 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
40187 path in all spawn_do_open actions.
40188 * posix/tst-spawn.c (do_test): Exercise the copy operation in
40189 posix_spawn_file_actions_addopen.
40190
40191 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
40192
40193 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40194 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40195 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40196 conditional code always true.
40197 (__libc_vfork): New alias.
40198
40199 2014-06-11 Roland McGrath <roland@hack.frob.com>
40200
40201 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40202 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40203
40204 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40205
40206 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40207 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40208
40209 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40210 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40211
40212 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40213 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40214
40215 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40216
40217 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40218 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40219 multiarch strcmp for PPC64.
40220 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40221 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40223 multiarch optimizations.
40224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40225 (__libc_ifunc_impl_list): Likewise.
40226
40227 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40228
40229 * benchtests/scripts/validate_benchout.py: New script.
40230 * benchtests/Makefile (bench-func): Call it.
40231 * benchtests/scripts/benchout.schema.json: New file.
40232
40233 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
40234
40235 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40236 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40237 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40238 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40239 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40240 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40241 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40242 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40243 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40244 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40245 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40246 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40247 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40248 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40249 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40250 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40252 Moved ...
40253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40254 ... here.
40255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40256 Moved ...
40257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40259 Moved ...
40260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40261 ... here.
40262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40263 Moved ...
40264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40265 ... here.
40266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40267 Moved ...
40268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40270 Moved ...
40271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40272 ... here.
40273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40274 Moved ...
40275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40276 ... here.
40277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40278 Moved ...
40279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40281 Moved ...
40282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40283 ... here.
40284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40285 Moved ...
40286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40287 ... here.
40288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40289 Moved ...
40290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40291 ... here.
40292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40293 Moved ...
40294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40296 Moved ...
40297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40298 ... here.
40299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40300 Moved ...
40301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40302 ... here.
40303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40304 Moved ...
40305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40306 ... here.
40307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40308 Moved ...
40309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40311 Moved ...
40312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40313 ... here.
40314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40315 Moved ...
40316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40317 ... here.
40318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40319 Moved ...
40320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40322 Moved ...
40323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40324 ... here.
40325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40326 Moved ...
40327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40329 Moved ...
40330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40332 Moved ...
40333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40334 ... here.
40335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40336 Moved ...
40337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40338 ... here.
40339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40340 Moved ...
40341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40342 ... here.
40343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40344 Moved ...
40345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40347 Moved ...
40348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40349 ... here.
40350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40351 Moved ...
40352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40353 ... here.
40354 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40355 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40356 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40357 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40358 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40359 Moved ...
40360 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40361 ... here.
40362 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40363 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40364 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40365 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40366 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40367 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40368 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40369 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40370 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40371 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40372 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40373 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40374 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40375 Moved ...
40376 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40377 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40378 Moved ...
40379 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40380 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40381 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40383 Moved ...
40384 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40385 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40386 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40387 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40388 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40389 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40390 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40391
40392 2014-06-10 Wilco <wdijkstr@arm.com>
40393
40394 * math/test-fenv-return.c: New file.
40395 * math/Makefile: Add new test test-fenv-return.
40396
40397 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40398
40399 [BZ #17042]
40400 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40401 when x - 1 is zero.
40402 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40403 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40404 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40405 0.0L for an argument of 1.0L.
40406 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40407 Likewise.
40408 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40409 value when x - 1 is zero.
40410 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40411 * sysdeps/i386/fpu/libm-test-ulps: Update.
40412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40413
40414 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40415
40416 [BZ #15119]
40417 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40418
40419 2014-06-09 Roland McGrath <roland@hack.frob.com>
40420
40421 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40422 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40423
40424 2014-06-09 Roland McGrath <roland@hack.frob.com>
40425
40426 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40427 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40428
40429 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40430 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40431
40432 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40433 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40434
40435 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40436 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40437
40438 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40439 if not already defined.
40440 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40441 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40442 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40443 (TLS_INIT_TP): Use it.
40444 (TLS_DEFINE_INIT_TP): New macro.
40445 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40446
40447 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40448
40449 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40450 constant.
40451 [POSIX] (IXANY): Likewise.
40452 [POSIX] (OLCUC): Likewise.
40453 [POSIX || POSIX2008] (CBAUD): Do not allow.
40454 [POSIX || POSIX2008] (DEFECHO): Likewise.
40455 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40456 [POSIX || POSIX2008] (ECHOKE): Likewise.
40457 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40458 [POSIX || POSIX2008] (EXTA): Likewise.
40459 [POSIX || POSIX2008] (EXTB): Likewise.
40460 [POSIX || POSIX2008] (FLUSHO): Likewise.
40461 [POSIX || POSIX2008] (LOBLK): Likewise.
40462 [POSIX || POSIX2008] (PENDIN): Likewise.
40463 [POSIX || POSIX2008] (SWTCH): Likewise.
40464 [POSIX || POSIX2008] (VDISCARD): Likewise.
40465 [POSIX || POSIX2008] (VDSUSP): Likewise.
40466 [POSIX || POSIX2008] (VLNEXT): Likewise.
40467 [POSIX || POSIX2008] (VREPRINT): Likewise.
40468 [POSIX || POSIX2008] (VSTATUS): Likewise.
40469 [POSIX || POSIX2008] (VWERASE): Likewise.
40470 (B*): Change to B[0123456789]*.
40471 * conform/data/time.h-data [POSIX || UNIX98]
40472 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40473 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40474 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40475 [POSIX] (tm_*): Do not allow.
40476
40477 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40478
40479 * Makefile (install): Don't set LANGUAGE.
40480 * Makefile.in (install): Likewise.
40481 * assert/Makefile (test-assert-ENV): Remove variable.
40482 (test-assert-perr-ENV): Likewise.
40483 * elf/Makefile (neededtest4-ENV): Likewise.
40484 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40485 [$(cross-compiling) = no]: Don't set LANGUAGE.
40486 * io/ftwtest-sh (LANG): Remove variable.
40487 * libio/Makefile (tst-widetext-ENV): Likewise.
40488 * manual/install.texi (Running make install): Don't refer to
40489 environment settings for make install.
40490 * INSTALL: Regenerated.
40491 * nptl/tst-tls6.sh: Don't set LANG.
40492 * posix/globtest.sh (LANG): Remove variable.
40493 * string/Makefile (tester-ENV): Likewise.
40494 (inl-tester-ENV): Likewise.
40495 (noinl-tester-ENV): Likewise.
40496 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40497 [$(cross-compiling) = no]: Don't set LANGUAGE.
40498 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40499 without explicit environment settings.
40500
40501 2014-06-06 Roland McGrath <roland@hack.frob.com>
40502
40503 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40504 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40505 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40506 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40507
40508 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40509
40510 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40511 other files in the crypt directory.
40512 * crypt/crypt.c: Remove duplicate includes.
40513 * crypt/crypt-entry.c: Likewise.
40514 * crypt/crypt_util.c: Likewise.
40515
40516 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40517
40518 * Makeconfig (run-program-env): New variable.
40519 (run-program-prefix-before-env): Likewise.
40520 (run-program-prefix-after-env): Likewise.
40521 (run-program-prefix): Define in terms of new variables.
40522 (built-program-cmd-before-env): New variable.
40523 (built-program-cmd-after-env): Likewise.
40524 (built-program-cmd): Define in terms of new variables.
40525 (test-program-prefix-before-env): New variable.
40526 (test-program-prefix-after-env): Likewise.
40527 (test-program-prefix): Define in terms of new variables.
40528 (test-program-cmd-before-env): New variable.
40529 (test-program-cmd-after-env): Likewise.
40530 (test-program-cmd): Define in terms of new variables.
40531 * Rules (make-test-out): Use $(run-program-env).
40532 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40533 (help): Do not mention environment variables. Mention
40534 --timeoutfactor option.
40535 (timeoutfactor): New variable.
40536 (blacklist_exports): Remove function.
40537 (exports): Remove variable.
40538 (command): Do not include ${exports}.
40539 * manual/install.texi (Configuring and compiling): Do not mention
40540 test wrappers preserving environment variables. Mention that last
40541 assignment to a variable must take precedence.
40542 * INSTALL: Regenerated.
40543 * benchtests/Makefile (run-bench): Use $(run-program-env).
40544 * catgets/Makefile ($(objpfx)test1.cat): Use
40545 $(built-program-cmd-before-env), $(run-program-env) and
40546 $(built-program-cmd-after-env).
40547 ($(objpfx)test2.cat): Do not specify environment variables
40548 explicitly.
40549 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40550 $(run-program-env) and $(built-program-cmd-after-env).
40551 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40552 $(run-program-env) and $(test-program-cmd-after-env).
40553 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40554 explicitly.
40555 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40556 run_program_env and test_program_cmd_after_env arguments.
40557 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40558 * elf/tst-pathopt.sh: Use run_program_env argument.
40559 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40560 $(test-wrapper-env) and $(run-program-env).
40561 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40562 run_program_env arguments.
40563 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40564 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40565 $(test-program-prefix-before-env), $(run-program-env) and
40566 $(test-program-prefix-after-env).
40567 ($(objpfx)tst-gettext2.out): Likewise.
40568 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40569 run_program_env and test_program_prefix_after_env arguments.
40570 * intl/tst-gettext2.sh: Likewise.
40571 * intl/tst-gettext4.sh: Do not set environment variables
40572 explicitly.
40573 * intl/tst-gettext6.sh: Likewise.
40574 * intl/tst-translit.sh: Likewise.
40575 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40576 $(test-program-prefix-before-env), $(run-program-env) and
40577 $(test-program-prefix-after-env).
40578 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40579 run_program_env and test_program_prefix_after_env arguments.
40580 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40581 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40582 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40583 explicitly with each use of ${test_wrapper_env}.
40584 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40585 $(test-program-prefix-before-env), $(run-program-env) and
40586 $(test-program-prefix-after-env).
40587 * posix/tst-getconf.sh: Do not set environment variables
40588 explicitly.
40589 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40590 run_program_env and test_program_prefix_after_env arguments.
40591 * stdio-common/tst-printf.sh: Do not set environment variables
40592 explicitly.
40593 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40594 $(test-program-prefix-before-env), $(run-program-env) and
40595 $(test-program-prefix-after-env).
40596 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40597 run_program_env and test_program_prefix_after_env arguments.
40598 Split $test calls into $test_pre and $test.
40599 * timezone/Makefile (build-testdata): Use
40600 $(built-program-cmd-before-env), $(run-program-env) and
40601 $(built-program-cmd-after-env).
40602
40603 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40604
40605 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40606 strlen for non SHARED builds.
40607
40608 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40609
40610 * nptl/allocatestack.c (check_list): Inlined function...
40611 (__reclaim_stacks): ... here.
40612
40613 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40614
40615 [BZ #15698]
40616 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40617 memory overrun.
40618
40619 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40620
40621 * Rules (make-test-out): Include
40622 LOCPATH=$(common-objpfx)localedata in default environment.
40623 * debug/Makefile (tst-chk1-ENV): Remove variable.
40624 (tst-chk2-ENV): Likewise.
40625 (tst-chk3-ENV): Likewise.
40626 (tst-chk4-ENV): Likewise.
40627 (tst-chk5-ENV): Likewise.
40628 (tst-chk6-ENV): Likewise.
40629 (tst-lfschk1-ENV): Likewise.
40630 (tst-lfschk2-ENV): Likewise.
40631 (tst-lfschk3-ENV): Likewise.
40632 (tst-lfschk4-ENV): Likewise.
40633 (tst-lfschk5-ENV): Likewise.
40634 (tst-lfschk6-ENV): Likewise.
40635 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40636 (tst-iconv7-ENV): Likewise.
40637 * intl/Makefile (LOCPATH-ENV): Likewise.
40638 (tst-codeset-ENV): Likewise.
40639 (tst-gettext3-ENV): Likewise.
40640 (tst-gettext5-ENV): Likewise.
40641 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40642 (tst-fopenloc-ENV): Likewise.
40643 (tst-fgetws-ENV): Remove variable.
40644 (tst-ungetwc1-ENV): Likewise.
40645 (tst-ungetwc2-ENV): Likewise.
40646 (bug-ungetwc2-ENV): Likewise.
40647 (tst-swscanf-ENV): Likewise.
40648 (bug-ftell-ENV): Likewise.
40649 (tst-fgetwc-ENV): Likewise.
40650 (tst-fseek-ENV): Likewise.
40651 (tst-ftell-partial-wide-ENV): Likewise.
40652 (tst-ftell-active-handler-ENV): Likewise.
40653 (tst-ftell-append-ENV): Likewise.
40654 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40655 (tst-regexloc-ENV): Likewise.
40656 (bug-regex1-ENV): Likewise.
40657 (tst-regex-ENV): Likewise.
40658 (tst-regex2-ENV): Likewise.
40659 (bug-regex5-ENV): Likewise.
40660 (bug-regex6-ENV): Likewise.
40661 (bug-regex17-ENV): Likewise.
40662 (bug-regex18-ENV): Likewise.
40663 (bug-regex19-ENV): Likewise.
40664 (bug-regex20-ENV): Likewise.
40665 (bug-regex22-ENV): Likewise.
40666 (bug-regex23-ENV): Likewise.
40667 (bug-regex25-ENV): Likewise.
40668 (bug-regex26-ENV): Likewise.
40669 (bug-regex30-ENV): Likewise.
40670 (bug-regex32-ENV): Likewise.
40671 (bug-regex33-ENV): Likewise.
40672 (bug-regex34-ENV): Likewise.
40673 (bug-regex35-ENV): Likewise.
40674 (tst-rxspencer-ENV): Likewise.
40675 (tst-rxspencer-no-utf8-ENV): Likewise.
40676 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40677 (tst-sscanf-ENV): Likewise.
40678 (tst-swprintf-ENV): Likewise.
40679 (tst-swscanf-ENV): Likewise.
40680 (test-vfprintf-ENV): Likewise.
40681 (scanf13-ENV): Likewise.
40682 (bug14-ENV): Likewise.
40683 (tst-grouping-ENV): Likewise.
40684 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40685 (tst-strtod3-ENV): Likewise.
40686 (tst-strtod4-ENV): Likewise.
40687 (tst-strtod5-ENV): Likewise.
40688 (testmb2-ENV): Likewise./
40689 * string/Makefile (tst-strxfrm-ENV): Likewise.
40690 (tst-strxfrm2-ENV): Likewise.
40691 (bug-strcoll1-ENV): Likewise.
40692 (test-strcasecmp-ENV): Likewise.
40693 (test-strncasecmp-ENV): Likewise.
40694 * time/Makefile (tst-strptime-ENV): Likewise.
40695 (tst-ftime_l-ENV): Likewise.
40696 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40697 (tst-mbrtowc-ENV): Likewise.
40698 (tst-wcrtomb-ENV): Likewise.
40699 (tst-mbrtowc2-ENV): Likewise.
40700 (tst-c16c32-1-ENV): Likewise.
40701 (tst-mbsnrtowcs-ENV): Likewise.
40702
40703 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40704
40705 * manual/resource.texi (How to get information about the memory
40706 subsystem?): Fix typo.
40707 Reported by Peon de la Parra Ivan <peon@keba.com>
40708
40709 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
40710
40711 [BZ #16882]
40712 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40713 (pthread_spin_lock): Branch out of spin loop to proper location.
40714 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40715 (pthread_spin_lock): Likewise.
40716
40717 * nptl/tst-spin4.c: New test.
40718 * nptl/Makefile (tests): Add tst-spin4.
40719
40720 2014-06-03 Andreas Schwab <schwab@suse.de>
40721
40722 [BZ #15946]
40723 * resolv/res_send.c (send_dg): Reload file descriptor after
40724 calling reopen.
40725
40726 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
40727
40728 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40729
40730 2014-06-03 Richard Henderson <rth@redhat.com>
40731
40732 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40733 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40734 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40735 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
40736 in the SAVE_PID block.
40737 (__libc_vfork): New alias.
40738 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40739
40740 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40741 child in registers, not on the stack. Remove RESET_PID conditionals.
40742 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40743
40744 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
40745
40746 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40747
40748 2014-06-03 Wilco <wdijkstr@arm.com>
40749
40750 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40751 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40752 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40753 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40754 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40755 Likewise.
40756
40757 2014-06-03 Wilco <wdijkstr@arm.com>
40758
40759 * sysdeps/aarch64/fpu/math_private.h
40760 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40761 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40762 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40763 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40764 Fix declarations.
40765
40766 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40767
40768 * crypt/crypt-private.h: Include ufc-crypt.h.
40769 (__b64_from_24bit): Declare extern.
40770 * crypt/crypt_util.c(__b64_from_24bit): New function.
40771 (b64t): New static const variable.
40772 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40773 (b64t): Remove variable.
40774 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40775 * crypt/sha256-crypt.c: Include crypt-private.h.
40776 (b64t): Remove variable.
40777 (__sha256_crypt_r): Remove b64_from_24bit and replace
40778 with __b64_from_24bit.
40779 * crypt/sha512-crypt.c: Likewise.
40780
40781 2014-06-02 Roland McGrath <roland@hack.frob.com>
40782
40783 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40784 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40785 Label the code __libc_vfork rather than __vfork.
40786 [!NOT_IN_libc] (vfork): Define as weak alias.
40787 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40788 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40789 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40790
40791 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40792
40793 * malloc/malloc.c (malloc_info): Fix format specifier for
40794 n_mmaps.
40795
40796 2014-06-02 Wilco <wdijkstr@arm.com>
40797
40798 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40799 FPCR write.
40800
40801 2014-06-02 Wilco <wdijkstr@arm.com>
40802
40803 [BZ #17009]
40804 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40805 Rewrite to reduce FPCR/FPSR accesses.
40806
40807 2014-06-01 David S. Miller <davem@davemloft.net>
40808
40809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40810
40811 2014-05-31 David S. Miller <davem@davemloft.net>
40812
40813 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40814 to occur in round to nearest mode when |x| >= 2.0
40815
40816 2014-05-30 Richard Henderson <rth@twiddle.net>
40817
40818 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40819 (PSEUDO_RET_NOERRNO): Remove.
40820 (ret): Don't redefine.
40821 (ret_NOERRNO): Define in terms of ret.
40822 (ret_ERRVAL): Likewise.
40823
40824 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40825 use of PSEUDO_RET; perform the error check directly.
40826
40827 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40828
40829 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40830 with __int128_t.
40831
40832 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40833
40834 * malloc/malloc (malloc_info): Fix formatting.
40835
40836 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40837 Roland McGrath <roland@hack.frob.com>
40838
40839 * malloc/malloc (malloc_info): Also print mmapped statistics.
40840
40841 2014-05-30 Roland McGrath <roland@hack.frob.com>
40842
40843 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40844 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40845
40846 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40847
40848 * malloc/malloc.c (malloc_info): Inline mi_arena.
40849
40850 2014-05-29 Richard Henderson <rth@twiddle.net>
40851
40852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40853 Remove comma before expanding ASM_ARGS_##nr.
40854 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40855 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40856 of ASM_ARGS_##nr.
40857 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40858 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40859 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40860 (ASM_ARGS_1): Add leading comma.
40861
40862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40863 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40864 to __errno_location.
40865 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40866 Remove the expected plt for __errno_location.
40867
40868 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40869 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40870 call to __read_tp.
40871
40872 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40873 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40874 it and break it down.
40875 (DOCARGS_0, DOCARGS_1): Do nothing.
40876 (DOCARGS_2): Update to store into the new stack frame.
40877 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40878 (UNDOCARGS_1): Update to restore from the new stack frame.
40879 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40880 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40881
40882 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40883 (SINGLE_THREAD_P): New parameter for result regno.
40884 (PSEUDO): Update to match; use cbz instead of beq.
40885
40886 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40887 Use ENTRY to define the _nocancel entry point. Share the syscall
40888 and syscall error check paths with the cancel path.
40889 (PSEUDO_END): New.
40890
40891 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40892 whitespace; tabs before and after asm mnemonics.
40893
40894 2014-05-29 Eric Wong <normalperson@yhbt.net>
40895
40896 [BZ #15132]
40897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40898 Call fstat64 or stat64 internally, depending on arguments passed.
40899 Replace stat buffer argument with file descriptor argument.
40900 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40901 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40902 Pass fd to __internal_statvfs instead of calling fstat64.
40903 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40904 Pass fd to __internal_statvfs64 instead of calling fstat64.
40905 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40906 Pass -1 to __internal_statvfs instead of calling stat64.
40907 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40908 Pass -1 to __internal_statvfs64 instead of calling stat64.
40909
40910 2014-05-28 Roland McGrath <roland@hack.frob.com>
40911
40912 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40913 that was previously under [RESET_PID].
40914 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40915
40916 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40917 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40918
40919 2014-05-27 Roland McGrath <roland@hack.frob.com>
40920
40921 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40922
40923 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40924 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40925
40926 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40927
40928 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40929
40930 2014-05-27 Andreas Schwab <schwab@suse.de>
40931
40932 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40933 TLS_INIT_TP macro.
40934 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40935 * elf/rtld.c (init_tls, dl_main): Likewise.
40936 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40937 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40938 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40939 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40940 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40941 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40942 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40943 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40944 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40945 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40946 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40947 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40948 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40949 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40950 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40951 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40952 * sysdeps/generic/tls.h: Update description.
40953
40954 2014-05-27 Will Newton <will.newton@linaro.org>
40955
40956 [BZ #16990]
40957 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40958 and restore r2 rather than just restoring.
40959
40960 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40961
40962 [BZ #16724]
40963 * libio/tst-ftell-append.c: New test case.
40964 * libio/Makefile (tests): Add test case.
40965 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40966 append mode.
40967 * libio/wfileops.c (do_ftell_wide): Likewise.
40968
40969 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40970
40971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40972
40973 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40974 ...
40975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40977 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40978 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40979 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40980 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40981 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40982 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40983 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40984 Moved ...
40985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40986 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40987 Moved ...
40988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40989 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40990 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40991 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40992 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40993 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40994 ...
40995 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40996 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40997 Moved ...
40998 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40999 here.
41000 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41001 ...
41002 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41003 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41004 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41005
41006 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41007 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41008 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41009 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41010
41011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41012 merge into ...
41013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41015 ...
41016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41017 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41018 ...
41019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41020 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41021 Moved ...
41022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41023 here.
41024 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41025 Moved ...
41026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41028 Moved ...
41029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41030
41031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41032 conditional [RESET_PID].
41033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41035 removed.
41036 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41037 removed.
41038
41039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41040 <tcb-offsets.h>.
41041 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41042 (__libc_vfork): New strong alias.
41043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41044 removed.
41045 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41046 Removed.
41047
41048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41049 <tcb-offsets.h>.
41050 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41051 (__libc_vfork): New strong alias.
41052 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41053 removed.
41054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41055 removed.
41056
41057 2014-05-26 Carlos O'Donell <carlos@redhat.com>
41058
41059 * malloc/malloc.c (mi_arena): New function.
41060 (malloc_info): Remove nested function mi_arena. Call non-nosted
41061 function mi_arena.
41062
41063 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41064
41065 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41066 by insrwi.
41067 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41068 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41069 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41070 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41071 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41072 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41073 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41074
41075 2014-05-26 Andreas Schwab <schwab@suse.de>
41076
41077 [BZ #16984]
41078 * locale/programs/repertoire.c (repertoire_read): Add slash
41079 between I18NPATH element and file name.
41080 * locale/programs/locfile.c (locfile_read): Likewise.
41081
41082 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41083
41084 * nptl/pthread_mutexattr_settype.c
41085 (__pthread_mutexattr_settype):
41086 Disable lock elision for PTHREAD_MUTEX_NORMAL.
41087
41088 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41089
41090 * nptl/tst-mutex5 (do_test):
41091 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41092
41093 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41094
41095 * benchtests/README: Document 'init' directive.
41096 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41097 BENCH_INIT.
41098 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41099 (parse_file): Recognize 'init' directive.
41100
41101 2014-05-26 Kyle McMartin <kyle@redhat.com>
41102
41103 [BZ #16796]
41104 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41105 alignment of struct pthread.
41106
41107 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41108
41109 [BZ #16878]
41110 * nscd/netgroupcache.c (addgetnetgrentX): Look for
41111 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41112 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41113 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41114
41115 2014-05-25 Richard Henderson <rth@twiddle.net>
41116
41117 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41118 (SINGLE_THREAD_P_PIC): Remove.
41119 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41120 (SINGLE_THREAD_P_PIC): Remove.
41121
41122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41123 branch to syscall error ...
41124 (PSEUDO): ... here.
41125 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41126 from __local_syscall_error to .Lsyscall_error.
41127 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41128 (SYSCALL_ERROR): Update label name.
41129
41130 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41131 Do not use DOARGS/UNDOARGS.
41132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41133 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41134 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41135 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41136 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41137
41138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41139 block comment.
41140
41141 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41142 define if !NOT_IN_libc.
41143 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41144 define with non-default symbol versions.
41145
41146 2014-05-23 Richard Henderson <rth@twiddle.net>
41147
41148 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41149 (vfork, __vfork): Define via compat_symbol.
41150
41151 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41152 [!HAVE_IFUNC] (vfork_compat): Remove.
41153 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41154
41155 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41156
41157 [BZ #16978]
41158 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41159 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41160 variable.
41161
41162 2014-05-23 Richard Henderson <rth@twiddle.net>
41163
41164 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41165 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41166 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41167 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41168
41169 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41170 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41171 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41172 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41173 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41174 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41175 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41176 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41177 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41178 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41179 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41180 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41181 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41182 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41183 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41184 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41185 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41186 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41187 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41188 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41189 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41190 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41191 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41192 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41193 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41194 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41195 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41196 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41197 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41198 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41199 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41200 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41201 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41202 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41203 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41204 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41205 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41206 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41207 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41208 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41209 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41210 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41211 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41212 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41213 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41214 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41215 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41216 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41217 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41218 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41219 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41220 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41221 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41222 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41223 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41224 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41225
41226 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41227 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41228 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
41229 before exiting on error.
41230 (__libc_vfork): New strong alias.
41231 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41232 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41233
41234 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41235 that was previously under [RESET_PID].
41236 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41237
41238 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41239
41240 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41241
41242 [BZ #16977]
41243 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41244 value when x - 1 is zero.
41245 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41246 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41247 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41248 0.0L for an argument of 1.0L.
41249 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41250 Likewise.
41251 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41252 value when x - 1 is zero.
41253 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41254 * sysdeps/i386/fpu/libm-test-ulps: Update.
41255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41256
41257 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
41258
41259 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41260 alphasort and versionsort.
41261
41262 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41263
41264 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41265 macro.
41266 [copysignf]: Likewise.
41267
41268 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41269
41270 * crypt/md5-crypt.c: Fix formatting.
41271
41272 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41273
41274 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41275 (b64_from_24bit): New function.
41276
41277 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41278
41279 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41280 libc_hidden_builtin_def to ifunc.
41281 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41282 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41283
41284 2014-05-21 Roland McGrath <roland@hack.frob.com>
41285
41286 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41287 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41288
41289 2014-05-21 Joseph Myers <joseph@codesourcery.com>
41290
41291 * nscd/Depend (linuxthreads): Remove.
41292 (nptl): Add.
41293 * resolv/Depend (linuxthreads): Remove.
41294 * rt/Depend (linuxthreads): Remove.
41295
41296 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41297 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41298 $(common-objpfx)elf/.
41299 (link-libc-before-gnulib): Likewise.
41300 (elfobjdir): Remove variable.
41301 * Makefile (install): Use $(elf-objpfx) instead of
41302 $(common-objpfx)elf/.
41303 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41304 $(elfobjdir)/.
41305 (link-libc-deps): Likewise.
41306 ($(common-objpfx)libc.so): Likewise.
41307 ($(common-objpfx)linkobj/libc.so): Likewise.
41308 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41309 instead of $(common-objpfx)elf/.
41310 (symbolic-link-list): Likewise.
41311 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41312 [$(cross-compiling) = no]: Likewise.
41313 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41314 $(elfobjdir)/.
41315 (static-gnulib-arch): Likewise.
41316 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41317 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41318 $(common-objpfx)elf/.
41319
41320 2014-05-21 Richard Henderson <rth@redhat.com>
41321
41322 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41323 (SINGLE_THREAD_P): Use the correct width load. Fold
41324 into the ldr offset.
41325
41326 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41327 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41328
41329 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41330
41331 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41332 (libgcc_s_resume): Use __attribute_used__.
41333 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41334 Likewise.
41335
41336 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41337
41338 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41339 optimization when used with float constants.
41340
41341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41342
41343 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41344
41345 [BZ #16915]
41346 * locale/nl_langinfo_l.c: Make direct reference to every
41347 _nl_current_CATEGORY symbol.
41348 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41349 (tests-static): Add tst-langinfo-static.
41350 (tests-special): Add tst-langinfo-static.out.
41351 ($(objpfx)tst-langinfo.out): Redirect output.
41352 ($(objpfx)tst-langinfo-static.out): New.
41353 * localedata/tst-langinfo.sh: Send output to stdout.
41354 * localedata/tst-langinfo-static.c: New file.
41355
41356 [BZ #16965]
41357 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41358 when the shift amount is modulo the limb size.
41359
41360 2014-05-20 Richard Henderson <rth@redhat.com>
41361
41362 [BZ #16967]
41363 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41364 Change type of sa_flags from unsigned int to int.
41365
41366 [BZ #16966]
41367 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41368
41369 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41370
41371 2014-05-20 Will Newton <will.newton@linaro.org>
41372
41373 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41374 Test the return value of the system call in the nocancel case.
41375
41376 2014-05-20 Will Newton <will.newton@linaro.org>
41377 Yvan Roux <yvan.roux@linaro.org>
41378
41379 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41380 #include of asm/ptrace.h.
41381 (PTRACE_GET_THREAD_AREA): Remove #undef.
41382 (PTRACE_GETHBPREGS): Likewise.
41383 (PTRACE_SETHBPREGS): Likewise.
41384 (struct user_regs_struct): New structure.
41385 (struct user_fpsimd_struct): New structure.
41386 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41387 #include of asm/ptrace.h and second #include of sys/user.h.
41388 (PTRACE_GET_THREAD_AREA): Remove #undef.
41389 (PTRACE_GETHBPREGS): Likewise.
41390 (PTRACE_SETHBPREGS): Likewise.
41391 (ELF_NGREG): Use new struct user_regs_struct.
41392 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41393
41394 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41395
41396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41397 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41398
41399 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41400
41401 [BZ #16958]
41402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41403 membar to avoid block loads/stores to overlap previous stores.
41404
41405 2014-05-17 Richard Henderson <rth@redhat.com>
41406
41407 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41408 Create the __##syscall_name##_nocancel entry point.
41409 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41410 Remove; let the sysdep-cancel.h code create it.
41411
41412 2014-05-17 David S. Miller <davem@davemloft.net>
41413
41414 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41415 Protect with __USE_GNU.
41416 (TIOCSET_TEMPT): Likewise.
41417 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41418 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41419 these are already provided in bits/ioctl-types.h
41420
41421 2014-05-16 Roland McGrath <roland@hack.frob.com>
41422
41423 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41424 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41425
41426 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41427 Use wait4 regardless of [__NR_waitpid].
41428
41429 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41430
41431 PR libgcc/60166
41432 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41433 (_FP_NANSIGN_Q): Set the quiet bit.
41434
41435 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41436
41437 * benchtests/Makefile
41438 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41439 not $(common-objpfx)math/libm.so.
41440 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41441 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41442 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41443 $(common-objpfx)dlfcn/libdl.so.
41444 ($(objpfx)tst-audit8): Depend on $(libm), not
41445 $(common-objpfx)math/libm.so.
41446 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41447 not $(common-objpfx)dlfcn/libdl.so.
41448 * math/Makefile
41449 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41450 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41451 [$(build-shared) = yes].
41452 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41453 $(common-objpfx)nptl/libpthread.so.
41454 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41455 $(common-objpfx)math/libm.so$(libm.so-version) or
41456 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41457 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41458 $(common-objpfx)dlfcn/libdl.so.
41459 * setjmp/Makefile (link-libm): Remove variable.
41460 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41461 * stdio-common/Makefile (link-libm): Remove variable.
41462 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41463 * stdlib/Makefile (link-libm): Remove variable.
41464 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41465 ($(objpfx)tst-strtod-round): Likewise.
41466 ($(objpfx)tst-tininess): Likewise.
41467 ($(objpfx)tst-strtod-underflow): Likewise.
41468 ($(objpfx)tst-strtod6): Likewise.
41469 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41470 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41471 $(common-objpfx)dlfcn/libdl.so.
41472
41473 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41474
41475 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41476 BSD terminal modes definitions.
41477
41478 2014-05-16 Roland McGrath <roland@hack.frob.com>
41479
41480 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41481 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41482
41483 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41484 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41485 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41486 Don't do #include_next.
41487 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41488 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41489 Don't do #include_next.
41490 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41491 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41492 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41493 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41494
41495 2014-05-16 Allan McRae <allan@archlinux.org>
41496
41497 * po/sv.po: Update Swedish translation from translation project.
41498
41499 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41500 in sed expression.
41501
41502 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41503
41504 [BZ #16917]
41505 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41506 errno if the TIOCGPTN ioctl fails with an error different than
41507 EINVAL.
41508 * login/tst-ptsname.c: New file.
41509 * login/Makefile (tests): Add tst-ptsname.
41510
41511 [BZ #16943]
41512 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41513 and prlimit64.
41514
41515 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41516
41517 [BZ #16849]
41518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41519 herrno to return EAI_AGAIN.
41520
41521 2014-05-14 Roland McGrath <roland@hack.frob.com>
41522
41523 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41524 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41525 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41526 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41527 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41528 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41529 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41530 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41531 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41532 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41533 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41534 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41535 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41536 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41537 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41538 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41539 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41540 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41541 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41542 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41543 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41544 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41545 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41546 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41547 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41548 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41549 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41550 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41551 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41552 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41554 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41556 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41558 Moved ...
41559 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41561 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41563 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41565 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41567 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41569 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41571 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41573 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41575 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41577 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41579 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41581 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41583 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41585 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41587 Moved ...
41588 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41590 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41592 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41594 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41596 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41598 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41600 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41602 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41604 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41606 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41608 Moved ...
41609 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41611 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41612
41613 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41614 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41615 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41616 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41617 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41618 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41619 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41620 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41621 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41622 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41623 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41624 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41625 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41626 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41627 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41628 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41629 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41630 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41631 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41632 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41633 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41634 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41635 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41636 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41637 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41638 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41639 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41640 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41641 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41642 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41643 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41644
41645 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41646 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41647
41648 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41649 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41650 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41651 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41652 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41653 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41654 Moved ...
41655 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41656 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41657 Moved ...
41658 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41659 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41660 Moved ...
41661 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41662 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41663 Moved ...
41664 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41665 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41666 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41667 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41668 Moved ...
41669 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41670 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41671 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41672 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41673 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41674 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41675 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41677 Moved ...
41678 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41679 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41680 Moved ...
41681 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41682 ... here.
41683 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41684 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41685 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41686 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41688 Moved ...
41689 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41690 ... here.
41691 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41692 Moved ...
41693 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41694 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41695 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41696 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41697 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41698 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41699 Moved ...
41700 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41701 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41702 Moved ...
41703 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41704 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41705 Moved ...
41706 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41707 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41708 Moved ...
41709 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41710 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41711 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41712 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41713 Moved ...
41714 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41715 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41716 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41717 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41718 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41719 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41720 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41722 Moved ...
41723 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41724 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41725 Moved ...
41726 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41727 ... here.
41728 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41729 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41730 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41731 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41733 Moved ...
41734 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41735 ... here.
41736 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41737 Moved ...
41738 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41739 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41740 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41741 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41742 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41743 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41744 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41745 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41746 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41747 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41748 Moved ...
41749 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41750 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41751 Moved ...
41752 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41753 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41754 Moved ...
41755 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41756 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41757 Moved ...
41758 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41759 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41760 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41761 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41762 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41763 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41764 Moved ...
41765 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41766 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41767 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41768 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41769 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41770 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41771 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41772 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41773 Moved ...
41774 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41775 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41776 Moved ...
41777 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41778 ... here.
41779 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41780 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41781 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41782 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41784 Moved ...
41785 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41786 ... here.
41787 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41788 Moved ...
41789 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41790 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41791 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41792 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41793 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41794 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41795 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41796 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41797 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41798 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41799 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41800
41801 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41802 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41803
41804 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41805 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41806
41807 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41808 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41809 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41810 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41811 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41812 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41813 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41814 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41815 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41816 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41817 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41818 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41819 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41820 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41821 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41822 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41823 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41824 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41825 Moved ...
41826 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41827 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41828 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41829 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41830 Moved ...
41831 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41832 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41833 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41834 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41835 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41836 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41837 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41838 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41839 Moved ...
41840 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41841 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41842 Moved ...
41843 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41845 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41846 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41847 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41848 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41849 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41850 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41851 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41852 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41853 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41854 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41855 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41856 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41857 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41858 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41859 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41860
41861 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41862 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41863 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41864 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41865 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41866
41867 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41868 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41869 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41870 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41871 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41872 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41873 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41874 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41875 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41876 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41877
41878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41879 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41880
41881 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41882 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41883 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41884 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41885 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41886 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41887 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41888 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41889 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41890 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41891 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41892 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41893 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41894 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41896 Update #include.
41897 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41898 Likewise.
41899 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41900 Likewise.
41901 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41902 Likewise.
41903 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41904 Likewise.
41905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41906 Likewise.
41907 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41908 Likewise.
41909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41910 Likewise.
41911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41912 Likewise.
41913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41914 Likewise.
41915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41916 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41917 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41920 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41922 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41924 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41925 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41926 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41927 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41928 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41929 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41930
41931 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41932 that was previously under [RESET_PID].
41933 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41934 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41935 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41936
41937 * sysdeps/i386/nptl/Implies: New file.
41938 * sysdeps/x86_64/nptl/Implies: New file.
41939 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41940 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41941 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41942 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41943
41944 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41945 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41946 (__libc_vfork): New strong alias.
41947 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41948 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41949
41950 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41951 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41952 (__libc_vfork): New strong alias.
41953 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41954 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41955
41956 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41957 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41958 (__libc_vfork): New strong alias.
41959 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41960 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41961 * nptl/pt-vfork.c: New file.
41962 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41963 (libpthread: GLIBC_2.20): New version set (empty).
41964
41965 2014-05-14 Will Newton <will.newton@linaro.org>
41966
41967 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41968 rather than #if.
41969
41970 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41971
41972 [BZ #16564]
41973 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41974 arguments with exponent 65 or above.
41975 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41976 arguments 0x1p113L or above.
41977 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41978 to arguments 0x1p107L or above.
41979 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41980 positive arguments with exponent 65 or above.
41981 * math/auto-libm-test-in: Add more tests of log1p.
41982 * math/auto-libm-test-out: Regenerated.
41983
41984 [BZ #16928]
41985 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41986 non-finite arguments is +0.
41987 * math/s_cacosf.c (__cacosf): Likewise.
41988 * math/s_cacosl.c (__cacosl): Likewise.
41989 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41990 * sysdeps/i386/fpu/libm-test-ulps: Update.
41991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41992
41993 [BZ #16927]
41994 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41995 value.
41996 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41997 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41998 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41999 for explicit high bit of mantissa when testing for argument equal
42000 to 1.
42001 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42002 * sysdeps/i386/fpu/libm-test-ulps: Update.
42003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42004
42005 [BZ #16516]
42006 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42007 (__erf): Scale by 16 instead of 8 in potentially underflowing
42008 case. Ensure exception if result actually underflows.
42009 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42010 (__erff): Scale by 16 instead of 8 in potentially underflowing
42011 case. Ensure exception if result actually underflows.
42012 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42013 (efx8): Remove variable.
42014 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42015 case. Ensure exception if result actually underflows.
42016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42017 (efx8): Remove variable.
42018 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42019 case. Ensure exception if result actually underflows.
42020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42021 (efx8): Remove variable.
42022 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42023 case. Ensure exception if result actually underflows.
42024 * math/auto-libm-test-in: Add more tests of erf.
42025 * math/auto-libm-test-out: Regenerated.
42026
42027 2014-05-14 Andreas Schwab <schwab@suse.de>
42028
42029 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42030 Remove code conditionalized on USE___THREAD.
42031
42032 * config.h.in (HAVE_PT_CHOWN): Define as 0.
42033 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42034 not definedness.
42035
42036 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42037
42038 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42039 Define unconditionally.
42040 (__ASSUME_O_CLOEXEC): Likewise.
42041 (__ASSUME_SOCK_CLOEXEC): Likewise.
42042 (__ASSUME_IN_NONBLOCK): Likewise.
42043 (__ASSUME_PIPE2): Likewise.
42044 (__ASSUME_EVENTFD2): Likewise.
42045 (__ASSUME_SIGNALFD4): Likewise.
42046 (__ASSUME_DUP3): Likewise.
42047 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42048 (__ASSUME_DUP3): Do not define.
42049 (__ASSUME_EVENTFD2): Likewise.
42050 (__ASSUME_IN_NONBLOCK): Likewise.
42051 (__ASSUME_O_CLOEXEC): Likewise.
42052 (__ASSUME_PIPE2): Likewise.
42053 (__ASSUME_SIGNALFD4): Likewise.
42054 (__ASSUME_SOCK_CLOEXEC): Likewise.
42055 (__ASSUME_UTIMES): Undefine.
42056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42057 (__ASSUME_UTIMES): Do not define.
42058 (__ASSUME_O_CLOEXEC): Likewise.
42059 (__ASSUME_SOCK_CLOEXEC): Likewise.
42060 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42061 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42062 0x020621].
42063 (__ASSUME_PIPE2): Likewise.
42064 (__ASSUME_EVENTFD2): Likewise.
42065 (__ASSUME_SIGNALFD4): Likewise.
42066 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42067 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42068 Do not define.
42069 (__ASSUME_EVENTFD2): Likewise.
42070 (__ASSUME_SIGNALFD4): Likewise.
42071 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42072 (__ASSUME_32BITUIDS): Likewise.
42073 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42074 (__ASSUME_IPC64): Likewise.
42075 (__ASSUME_ST_INO_64_BIT): Likewise.
42076 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42077 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42078 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42079 (__ASSUME_UTIMES): Do not define.
42080 (__ASSUME_PSELECT): Likewise.
42081 (__ASSUME_PPOLL): Likewise.
42082 (__ASSUME_O_CLOEXEC): Likewise.
42083 (__ASSUME_SOCK_CLOEXEC): Likewise.
42084 (__ASSUME_IN_NONBLOCK): Likewise.
42085 (__ASSUME_PIPE2): Likewise.
42086 (__ASSUME_EVENTFD2): Likewise.
42087 (__ASSUME_SIGNALFD4): Likewise.
42088 (__ASSUME_DUP3): Likewise.
42089 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42090 (__ASSUME_UTIMES): Likewise.
42091 (__ASSUME_O_CLOEXEC): Likewise.
42092 (__ASSUME_SOCK_CLOEXEC): Likewise.
42093 (__ASSUME_IN_NONBLOCK): Likewise.
42094 (__ASSUME_PIPE2): Likewise.
42095 (__ASSUME_EVENTFD2): Likewise.
42096 (__ASSUME_SIGNALFD4): Likewise.
42097 (__ASSUME_DUP3): Likewise.
42098 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42099 (__ASSUME_UTIMES): Likewise.
42100 (__ASSUME_O_CLOEXEC): Likewise.
42101 (__ASSUME_SOCK_CLOEXEC): Likewise.
42102 (__ASSUME_IN_NONBLOCK): Likewise.
42103 (__ASSUME_PIPE2): Likewise.
42104 (__ASSUME_EVENTFD2): Likewise.
42105 (__ASSUME_SIGNALFD4): Likewise.
42106 (__ASSUME_DUP3): Likewise.
42107 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42108 Likewise.
42109 (__ASSUME_UTIMES): Likewise.
42110 (__ASSUME_EVENTFD2): Likewise.
42111 (__ASSUME_SIGNALFD4): Likewise.
42112 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42113 (__ASSUME_O_CLOEXEC): Likewise.
42114 (__ASSUME_SOCK_CLOEXEC): Likewise.
42115 (__ASSUME_IN_NONBLOCK): Likewise.
42116 (__ASSUME_PIPE2): Likewise.
42117 (__ASSUME_EVENTFD2): Likewise.
42118 (__ASSUME_SIGNALFD4): Likewise.
42119 (__ASSUME_DUP3): Likewise.
42120 (__ASSUME_UTIMES): Undefine.
42121
42122 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42123 feclearexcept. Remove symbol versioning code.
42124 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
42125 symbol versioning code.
42126 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
42127 symbol versioning code.
42128 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42129 feupdateenv. Remove symbol versioning code.
42130 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42131 fegetexceptflag. Remove symbol versioning code.
42132 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42133 fesetexceptflag. Remove symbol versioning code.
42134 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42135 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
42136 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42137 (__posix_fadvise64_l32): Remove prototype.
42138 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42139 code.
42140
42141 2014-05-13 Roland McGrath <roland@hack.frob.com>
42142
42143 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42144 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42145 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42146 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42147
42148 2014-05-13 Sami Kerola <kerolasa@iki.fi>
42149
42150 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42151 current working directory
42152
42153 2014-05-13 Roland McGrath <roland@hack.frob.com>
42154
42155 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42156 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42157 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42158 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42159 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42160 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42161 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42162 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42163 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42164 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42165 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42166 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42167 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42168 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42169 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42170 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42171 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42172 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42173 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42174 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42175 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42176 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42177 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42178 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42179 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42180 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42181 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42182 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42183 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42184 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42185 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42186 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42187 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42188 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42189 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42190 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42191 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42192 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42193 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42194 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42195 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42196 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42197
42198 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42199 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42200
42201 * sysdeps/unix/sysv/linux/arm/Makefile
42202 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42203 Add rt-aeabi_unwind_cpp_pr1.
42204 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42205 Add nptl-aeabi_unwind_cpp_pr1.
42206 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42207 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42208 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42209 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42210 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42211 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42212
42213 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42214 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42215 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42216 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42217
42218 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42219 Deconditionalize the code that was previously under [RESET_PID].
42220 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42221
42222 * sysdeps/generic/exit-thread.h: New file.
42223 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42224 * include/unistd.h (__exit_thread): Remove declaration.
42225 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42226 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42227 * csu/libc-start.c: Include <exit-thread.h>.
42228 (LIBC_START_MAIN): Pass no argument to __exit_thread.
42229 * nptl/pthread_create.c: Include <exit-thread.h>.
42230 (start_thread): Call __exit_thread in place of __exit_thread_inline.
42231 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42232 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42233 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42234 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42235 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42236 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42237 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42238 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42239 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42240 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42241 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42242 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42243 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42244 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42245 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42246 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42247
42248 2014-05-13 Andreas Schwab <schwab@suse.de>
42249
42250 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42251
42252 2014-05-12 Joseph Myers <joseph@codesourcery.com>
42253
42254 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42255 (__ASSUME_UTIMES): Do not condition on kernel version.
42256 (__ASSUME_PSELECT): Define unconditionally.
42257 (__ASSUME_PPOLL): Likewise.
42258 (__ASSUME_ATFCTS): Likewise.
42259 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42260 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42261 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42262 (__ASSUME_UTIMENSAT): Define unconditionally.
42263 (__ASSUME_PRIVATE_FUTEX): Likewise.
42264 (__ASSUME_FALLOCATE): Likewise.
42265 (__ASSUME_O_CLOEXEC): Likewise.
42266 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42267 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42268 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42269 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42270 (__ASSUME_IN_NONBLOCK): Likewise.
42271 (__ASSUME_PIPE2): Likewise.
42272 (__ASSUME_EVENTFD2): Likewise.
42273 (__ASSUME_SIGNALFD4): Likewise.
42274 (__ASSUME_DUP3): Likewise.
42275 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42276 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42277 (__ASSUME_AT_RANDOM): Likewise.
42278 (__ASSUME_PREADV): Likewise.
42279 (__ASSUME_PWRITEV): Likewise.
42280 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42281 (__ASSUME_F_GETOWN_EX): Define unconditionally.
42282 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42283 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42284 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42285 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42286 (__ASSUME_O_CLOEXEC): Define unconditionally.
42287 (__ASSUME_PSELECT): Do not undefine conditionally.
42288 (__ASSUME_PPOLL): Likewise.
42289 (__ASSUME_ATFCTS): Likewise.
42290 (__ASSUME_SET_ROBUST_LIST): Likewise.
42291 (__ASSUME_UTIMENSAT): Likewise.
42292 (__ASSUME_FDATASYNC): Define unconditionally.
42293 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42294 (__ASSUME_SIGFRAME_V2): Likewise.
42295 )__ASSUME_EVENTFD2): Likewise.
42296 (__ASSUME_SIGNALFD4): Likewise.
42297 (__ASSUME_PSELECT): Do not undefine conditionally.
42298 (__ASSUME_PPOLL): Likewise.
42299 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42300 (__ASSUME_PSELECT): Define unconditionally.
42301 (__ASSUME_PPOLL): Likewise.
42302 (__ASSUME_O_CLOEXEC): Likewise.
42303 (__ASSUME_SOCK_CLOEXEC): Likewise.
42304 (__ASSUME_IN_NONBLOCK): Likewise.
42305 (__ASSUME_PIPE2): Likewise.
42306 (__ASSUME_EVENTFD2): Likewise.
42307 (__ASSUME_SIGNALFD4): Likewise.
42308 (__ASSUME_DUP3): Likewise.
42309 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42310 (__ASSUME_O_CLOEXEC): Likewise.
42311 (__ASSUME_SOCK_CLOEXEC): Likewise.
42312 (__ASSUME_IN_NONBLOCK): Likewise.
42313 (__ASSUME_PIPE2): Likewise.
42314 (__ASSUME_EVENTFD2): Likewise.
42315 (__ASSUME_SIGNALFD4): Likewise.
42316 (__ASSUME_DUP3): Likewise.
42317 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42318 (__ASSUME_EVENTFD2): Likewise.
42319 (__ASSUME_SIGNALFD4): Likewise.
42320 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42321
42322 2014-05-12 Andreas Schwab <schwab@suse.de>
42323
42324 [BZ #16932]
42325 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42326 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42327 than maximum RPC packet size.
42328 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42329 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42330 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42331 (_nss_nis_getservbyport_r): Likewise.
42332
42333 2014-05-12 Will Newton <will.newton@linaro.org>
42334
42335 * malloc/Makefile (tests): Add tst-mallopt.
42336 * malloc/tst-mallopt.c: New file.
42337
42338 2014-05-09 Roland McGrath <roland@hack.frob.com>
42339
42340 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42341 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42342
42343 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42344
42345 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42346 (tst-tlsmod6.so): Likewise.
42347
42348 2014-05-09 Roland McGrath <roland@hack.frob.com>
42349
42350 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42351
42352 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42353
42354 [BZ #16064]
42355 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42356 and <dl-procinfo.h>.
42357 (__fegetenv): Save SSE state in envp->__eip if supported.
42358 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42359 envp->__eip if supported.
42360 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42361 and <dl-procinfo.h>.
42362 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42363 __data_offset and __data_selector in environment to 0. Set SSE
42364 state if supported.
42365 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42366 test-fenv-sse.
42367 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42368 -mfpmath=sse.
42369 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42370
42371 2014-05-09 Will Newton <will.newton@linaro.org>
42372
42373 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42374 and libc_relro_required for ARM.
42375 * sysdeps/arm/preconfigure: Regenerate.
42376
42377 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42378 Stefan Liebler <stli@linux.vnet.ibm.com>
42379
42380 * config.make.in (enable-lock-elision): New Makefile variable.
42381 * configure.ac: Likewise.
42382 * configure: Regenerate.
42383 * sysdeps/s390/configure.ac:
42384 Add check for gcc transactions support.
42385 * sysdeps/s390/configure: Regenerate.
42386 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42387 Build elision files if enabled.
42388 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42389 Add lock elision support for s390.
42390 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42391 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42392 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42393 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42394 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42395 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42396 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42397 Likewise.
42398 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42399 Likewise.
42400 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42401 Likewise.
42402 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42403 Likewise.
42404 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42405 (__lll_timedlock_elision, __lll_lock_elision)
42406 (__lll_unlock_elision, __lll_trylock_elision)
42407 (lll_timedlock_elision, lll_lock_elision)
42408 (lll_unlock_elision, lll_trylock_elision): Add.
42409 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42410 (pthread_mutex_t): Add lock elision support for s390.
42411
42412 2014-05-14 Wilco <wdijkstr@arm.com>
42413
42414 * sysdeps/arm/fclrexcpt.c: Cleanup.
42415 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42416 * sysdeps/arm/feenablxcpt.c: Cleanup.
42417 * sysdeps/arm/fegetenv.c: Cleanup.
42418 * sysdeps/arm/fegetexcept.c: Cleanup.
42419 * sysdeps/arm/fegetround.c: Cleanup.
42420 * sysdeps/arm/feholdexcpt.c: Cleanup.
42421 * sysdeps/arm/fesetenv.c: Cleanup.
42422 * sysdeps/arm/fesetround.c: Cleanup.
42423 * sysdeps/arm/feupdateenv.c: Cleanup.
42424 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42425 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42426 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42427 * sysdeps/arm/ftestexcept.c: Cleanup.
42428 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42429 * sysdeps/arm/setfpucw.c: Cleanup.
42430
42431 2014-05-09 Will Newton <will.newton@linaro.org>
42432
42433 * sysdeps/arm/armv7/strcmp.S: New file.
42434 * NEWS: Mention addition of ARMv7 optimized strcmp.
42435
42436 2014-05-08 Roland McGrath <roland@hack.frob.com>
42437
42438 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42439 look for %.ac rather than %.in.
42440
42441 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42442 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42443 * sysdeps/mach/hurd/configure: Regenerated.
42444 * sysdeps/unix/sysv/linux/configure: Regenerated.
42445
42446 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42447
42448 2014-05-07 Steve Ellcey <sellcey@mips.com>
42449
42450 [BZ# 16922]
42451 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42452 (LONG_SUB): Ditto.
42453 (PTR_SUB): Ditto.
42454
42455 2014-05-07 Andreas Schwab <schwab@suse.de>
42456
42457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42458 when skipping over non-matching result from nscd.
42459
42460 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42461
42462 [BZ #16876]
42463 * nptl/sockperf.c (client): Check socket return value.
42464
42465 [BZ #16877]
42466 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42467 nscd security class.
42468
42469 2014-05-06 Roland McGrath <roland@hack.frob.com>
42470
42471 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42472 * sysdeps/arm/unwind.h: ... here.
42473
42474 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42475
42476 [BZ# 16916]
42477 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42478 Define.
42479
42480 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42481
42482 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42483 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42484 multiarch strncpy for PPC64.
42485 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42486 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42488 multiarch optimizations.
42489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42490 (__libc_ifunc_impl_list): Likewise.
42491 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42492 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42493 multiarch stpncpy for PPC64.
42494 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42495 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42496
42497 2014-05-06 Andreas Schwab <schwab@suse.de>
42498
42499 [BZ #16912]
42500 * gmon/mcount.c (_MCOUNT_DECL): Use
42501 atomic_compare_and_exchange_bool_acq instead of
42502 catomic_compare_and_exchange_bool_acq.
42503
42504 2014-05-05 Roland McGrath <roland@hack.frob.com>
42505
42506 * elf/Makefile (others, install-bin): Remove pldd.
42507 (pldd-modules): Variable removed.
42508 ($(objpfx)pldd): Target removed.
42509 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42510 (others, install-bin): Append pldd here.
42511 ($(objpfx)pldd): New target.
42512
42513 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42514 to 0, so the first #if test emitted later doesn't see it undefined.
42515 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42516 * sysdeps/gnu/errlist.c: Regenerated.
42517
42518 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42519
42520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42521 [libc_hidden_builtin_def]: Define to empty value.
42522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42523 [libc_hidden_builtin_def]: Likewise.
42524 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42525 [libc_hidden_builtin_def]: Likewise.
42526 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42527 [libc_hidden_builtin_def]: Likewise.
42528 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42529 __redirect_memcpy and define ifunc as default hidden symbol.
42530 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42531 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42532
42533 2014-05-04 Adam Conrad <adconrad@0c3.net>
42534
42535 * locale/iso-4217.def: Reintroduce XDR currency.
42536
42537 2014-05-04 Allan McRae <allan@archlinux.org>
42538
42539 * po/eo.po: Update Esperanto translation from translation project.
42540
42541 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42542
42543 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42544 and FEATURE_INDEX_MAX to 1.
42545 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42546
42547 2014-05-01 Steve Ellcey <sellcey@mips.com>
42548
42549 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42550 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42551 * iconvdata/big5.c (ONE_DIRECTION): Define.
42552 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42553 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42554 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42555 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42556 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42557 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42558 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42559 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42560 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42561 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42562 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42563 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42564 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42565 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42566 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42567 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42568 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42569 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42570 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42571 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42572 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42573 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42574 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42575 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42576 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42577 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42578 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42579 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42580 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42581 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42582 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42583 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42584 * iconvdata/johab.c (ONE_DIRECTION): Define.
42585 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42586 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42587 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42588 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42589 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42590 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42591 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42592 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42593 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42594 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42595
42596 2014-05-01 Roland McGrath <roland@hack.frob.com>
42597
42598 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42599 (_IO_JUMPS_OFFSET): Define to 0.
42600
42601 * nptl/sysdeps/pthread/bits/libc-lock.h
42602 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42603 (__libc_lock_define_initialized_recursive): Always define using
42604 initializer. Modern compilers treat uninitialized (implicit zero) and
42605 explicit zero initializers the same (i.e. put the datum in bss).
42606
42607 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42608
42609 * nscd/nscd-client.h: Include <string.h>.
42610
42611 2014-05-01 David S. Miller <davem@davemloft.net>
42612
42613 [BZ #16885]
42614 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42615 multiple zero bytes exist at the end of a string.
42616 Reported by Aurelien Jarno <aurelien@aurel32.net>
42617
42618 * string/test-strcmp.c (check): Add explicit test for situations where
42619 there are multiple zero bytes after the first.
42620
42621 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42622
42623 [BZ #16890]
42624 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42625 when compiling wprintf.
42626 * stdio-common/tstdiomisc.c (t3): New function.
42627 (main): Call it.
42628
42629 2014-05-01 Steve Ellcey <sellcey@mips.com>
42630
42631 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42632 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42633 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42634 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42635
42636 2014-05-01 Steve Ellcey <sellcey@mips.com>
42637
42638 * stdlib/longlong.h: Updated from GCC.
42639
42640 2014-05-01 Will Newton <will.newton@linaro.org>
42641 Bernard Ogden <bernie.ogden@linaro.org>
42642
42643 * NEWS: Update fixed bug list.
42644
42645 [BZ #15119]
42646 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42647
42648 2014-04-30 David S. Miller <davem@davemloft.net>
42649
42650 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42651 (libc_feholdexcept_setround_sparc_ctx): New function.
42652 (libc_fesetenv_sparc_ctx): Likewise.
42653 (libc_feupdateenv_sparc_ctx): Likewise.
42654 (libc_feholdsetround_sparc_ctx): Likewise.
42655 (libc_feholdexcept_setround_ctx): Define.
42656 (libc_feholdexcept_setroundf_ctx): Likewise.
42657 (libc_feholdexcept_setroundl_ctx): Likewise.
42658 (libc_fesetenv_ctx): Likewise.
42659 (libc_fesetenvf_ctx): Likewise.
42660 (libc_fesetenvl_ctx): Likewise.
42661 (libc_feupdateenv_ctx): Likewise.
42662 (libc_feupdateenvf_ctx): Likewise.
42663 (libc_feupdateenvl_ctx): Likewise.
42664 (libc_feresetround_ctx): Likewise.
42665 (libc_feresetroundf_ctx): Likewise.
42666 (libc_feresetroundl_ctx): Likewise.
42667 (libc_feholdsetround_ctx): Likewise.
42668 (libc_feholdsetroundf_ctx): Likewise.
42669 (libc_feholdsetroundl_ctx): Likewise.
42670
42671 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42672 with __USE_GNU instead of XOPEN cpp guards.
42673
42674 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42675 0.
42676
42677 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42678 with XOPEN cpp guards.
42679
42680 2014-04-30 Julian Brown <julian@codesourcery.com>
42681
42682 [BZ #16888]
42683 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42684 handling.
42685
42686 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42687
42688 [BZ #9894]
42689 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42690 Change to 2.6.32.
42691 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42692 * sysdeps/unix/sysv/linux/configure: Regenerated.
42693 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42694 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42695 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42696 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42697 * README: Update reference to required Linux kernel version.
42698 * manual/install.texi (Linux): Update reference to required Linux
42699 kernel headers version.
42700 * INSTALL: Regenerated.
42701
42702 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42703 header inclusion.
42704 [POSIX] (limits.h): Likewise.
42705 [POSIX] (math.h): Likewise.
42706 [POSIX] (sys/wait.h): Likewise.
42707 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42708 function.
42709 [POSIX] (stddef.h): Do not allow header inclusion.
42710
42711 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42712
42713 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42714
42715 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
42716
42717 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42718 Return immediately after lll_futex_wake.
42719
42720 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42721
42722 [BZ #16791]
42723 * nscd/nscd-client.h (datahead_init_common): Initialize entire
42724 structure.
42725 (datahead_init_pos): Call datahead_init_common early.
42726 (datahead_init_neg): Likewise.
42727
42728 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42729 datahead_init_neg): New functions.
42730 * nscd/aicache.c (addhstaiX): Use them.
42731 * nscd/grpcache.c (cache_addgr): Likewise.
42732 * nscd/hstcache.c (cache_addhst): Likewise.
42733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42734 * nscd/netgroupcache.c (do_notfound): Likewise.
42735 (addgetnetgrentX): Likewise.
42736 (addinnetgrX): Likewise.
42737 * nscd/pwdcache.c (cache_addpw): Likewise.
42738 * nscd/servicescache.c (cache_addserv): Likewise.
42739
42740 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42741 Atsushi Onoe <atsushi@onoe.org>
42742
42743 [BZ #14308]
42744 [BZ #12994]
42745 [BZ #13651]
42746 * resolv/res_query.c (__libc_res_nsearch): Return if at least
42747 one response is valid.
42748 * resolv/res_send.c (send_dg): Check for validity of other
42749 response if the current response is a referral.
42750
42751 2014-04-29 Steve Ellcey <sellcey@mips.com>
42752
42753 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42754
42755 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42756
42757 [BZ #16823]
42758 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42759 Always divide by positive zero when computing -Inf result.
42760 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42761 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42762
42763 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42764
42765 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42766 FPSCR if value do not change.
42767 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42768 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42769 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42770 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42771 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42772 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42773 function.
42774
42775 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42776
42777 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42778 * sysdeps/unix/sysv/linux/hppa: Move directory from
42779 ports/systeps/unix/sysv/linux/hppa.
42780 * README: Update listing for hppa-*-linux-gnu.
42781
42782 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42783
42784 [BZ #16754]
42785 * manual/stdio.texi (Hook functions): Fix types of stream hook
42786 functions.
42787 [BZ #16854]
42788 * socket/sys/socket.h: Fix typo in comment.
42789
42790 2014-04-28 Wilco <wdijkstr@arm.com>
42791
42792 * sysdeps/arm/fenv_private.h: New file.
42793 * sysdeps/arm/math_private.h: New file.
42794 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42795
42796 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42797
42798 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42799 with __int128_t.
42800 (La_x86_64_retval): Likewise.
42801
42802 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42803
42804 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42805 fpsr if value didn't change.
42806 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42807 to fpcr if value didn't change.
42808 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42809 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42810 fpsr or fpcr if value didn't change.
42811 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42812 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42813 fpcr if value didn't change.
42814 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42815 to fpsr if value didn't change.
42816
42817 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42818
42819 * nptl/tst-sem3.c: Use test-skeleton.c
42820 (main): Rename to do_test. Use return instead of
42821 exit.
42822 * nptl/tst-sem4.c: Use test-skeleton.c
42823 (main): Rename to do_test.
42824
42825 2014-04-22 David S. Miller <davem@davemloft.net>
42826
42827 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42828 (struct sigaction): New struct member __glibc_reserved0, change
42829 type of sa_flags to int.
42830
42831 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42832
42833 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42834 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42835
42836 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42837
42838 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42839 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42840
42841 2014-04-22 Will Newton <will.newton@linaro.org>
42842 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42843
42844 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42845 (__longjmp): Add longjmp and longjmp_target SystemTap
42846 probes.
42847 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42848 (__sigsetjmp): Add setjmp SystemTap probe.
42849
42850 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42851
42852 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42853 match manual order.
42854
42855 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42856
42857 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42858
42859 * sysdeps/powerpc/fpu/fenv_private.h
42860 (libc_feholdexcept_setroundl_ctx): Define to
42861 libc_feholdexcept_setround_ppc_ctx.
42862 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42863 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42864 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42865 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42866
42867 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42868
42869 * sysdeps/aarch64/math-tests.h: New file.
42870
42871 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42872
42873 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42874 New.
42875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42876 Check and set bit_AVX2_Usable.
42877 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42878 macro.
42879 (bit_AVX2): Likewise.
42880 (index_AVX2_Usable): Likewise.
42881 (CPUID_AVX2): Likewise.
42882 (HAS_AVX2): Likewise.
42883
42884 2014-04-17 Will Newton <will.newton@linaro.org>
42885
42886 * manual/setjmp.texi (System V contexts): Add note that
42887 calling setcontext on a context created by a call to a
42888 signal handler is undefined. Update text to note that
42889 setcontext from a signal handler is possible but not
42890 recommended.
42891
42892 [BZ #16629]
42893 * stdlib/tst-setcontext.c: Include signal.h.
42894 (main): Check that the signal stack before and
42895 after swapcontext is the same.
42896
42897 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42898 Re-implement to restore registers in user code and avoid
42899 rt_sigreturn system call.
42900
42901 2014-04-17 Wilco <wdijkstr@arm.com>
42902
42903 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42904 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42905 * math/test-fenv.c: Skip exception trap tests on targets which only
42906 support non-stop mode.
42907
42908 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42909 Wilco Dijkstra <wilco.dijkstra@arm.com>
42910
42911 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42912 (libc_feholdsetround_aarch64_ctx)
42913 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42914 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42915 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42916 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42917 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42918 (libc_feresetround_noexl_ctx): Define.
42919
42920 2014-04-16 Richard Henderson <rth@redhat.com>
42921
42922 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42923
42924 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42925 unwind tables.
42926
42927 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42928 const from the non-libc, non-ldso copy.
42929
42930 * sysdeps/alpha/libm-test-ulps: Regenerate.
42931
42932 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42933 Wilco Dijkstra <wilco.dijkstra@arm.com>
42934
42935 * sysdeps/aarch64/fpu/math_private.h: New file.
42936
42937 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42938
42939 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42940
42941 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42942
42943 [BZ #16275]
42944 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42945 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42947 Intel MPX bound registers before _dl_profile_fixup.
42948 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42949 registers after _dl_profile_fixup. Save and restore bound
42950 registers bnd0/bnd1 when calling _dl_call_pltexit.
42951 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42952 (LR_BND_OFFSET): Likewise.
42953 (LRV_BND0_OFFSET): Likewise.
42954 (LRV_BND1_OFFSET): Likewise.
42955
42956 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42957
42958 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42959 to...
42960 * sysdeps/mach/hurd/i386/tls.h: ... here.
42961 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42962 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42963 fields.
42964
42965 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42966
42967 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42968
42969 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42970
42971 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42972
42973 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42974
42975 [BZ #14770]
42976 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42977 * sysdeps/s390/configure: Regenerate.
42978
42979 [BZ #16824]
42980 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42981 Set round-to-nearest internally to reduce error accumulation.
42982
42983 2014-04-16 Alan Modra <amodra@gmail.com>
42984
42985 [BZ #16740]
42986 [BZ #16619]
42987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42988 * math/libm-test.inc (frexp_test_data): Add tests.
42989 * NEWS: Update fixed bug list.
42990
42991 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42992
42993 * benchtests/Makefile: Depend on libraries in build directory.
42994 (bench-math): Separate out math tests.
42995 (bench-pthread): Separate out pthread tests.
42996 (bench): Include math and pthread tests.
42997
42998 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42999
43000 [BZ #16831]
43001 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43002 _dl_debug_initialize.
43003
43004 * configure.ac: Remove SELinux header check.
43005 * configure: Regenerate.
43006 * nscd/selinux.c (perms): Array of const char* to permission names.
43007 (nscd_request_avc_has_perm): Call security_deny_unknown to find
43008 default policy. Call string_to_security_class and string_to_av_perm to
43009 translate strings. Enforce default policy and call avs_has_perm with
43010 results of translated strings.
43011
43012 2014-04-13 David S. Miller <davem@davemloft.net>
43013
43014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43015
43016 2014-04-12 Allan McRae <allan@archlinux.org>
43017
43018 [BZ #16838]
43019 * manual/string.texi (Collation Functions): Fix qsort argument
43020 order in example.
43021 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43022
43023 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
43024
43025 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43026 Make the test a no-op if there are no exceptions defined.
43027
43028 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
43029
43030 * elf/Makefile (tests): make tst-dlopen-aout conditional on
43031 enable-hardcoded-path-in-tests
43032
43033 2014-04-11 Will Newton <will.newton@linaro.org>
43034
43035 * benchtests/Makefile (extra-objs): Add json-lib.o.
43036 (bench-func): Tidy up JSON output.
43037 * benchtests/bench-skeleton.c: Include json-lib.h.
43038 (main): Use JSON library functions to do output of
43039 benchmark results.
43040 * benchtests/bench-timing-type.c (main): Output the
43041 timing type simply, leaving formatting to the user.
43042 * benchtests/json-lib.c: New file.
43043 * benchtests/json-lib.h: Likewise.
43044
43045 2014-04-11 Torvald Riegel <triegel@redhat.com>
43046
43047 [BZ #15215]
43048 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43049 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
43050 memory barriers. Add comments.
43051 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43052 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43053 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43054 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43055 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43056 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43057
43058 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
43059
43060 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43061 * sysdeps/s390/s390-64/configure.ac: ... this ...
43062 * sysdeps/s390/configure.ac: ... to here.
43063 * sysdeps/s390/s390-32/configure: Delete file.
43064 * sysdeps/s390/s390-64/configure: Delete file.
43065 * sysdeps/s390/configure: Regenerate.
43066
43067 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
43068
43069 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43070
43071 2014-04-11 Will Newton <will.newton@linaro.org>
43072
43073 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43074 to zero if it is not defined elsewhere. (mtrim): Test
43075 the value of MALLOC_DEBUG with #if rather than #ifdef.
43076
43077 2014-04-10 Torvald Riegel <triegel@redhat.com>
43078
43079 * benchtests/pthread_once-inputs: New file.
43080 * benchtests/pthread_once-source.c: New file.
43081 * benchtests/README: Update documentation.
43082
43083 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
43084 H.J. Lu <hongjiu.lu@intel.com>
43085
43086 [BZ #16275]
43087 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43088 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43089 * sysdeps/x86_64/configure: Regenerated.
43090 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43091 macro.
43092 (REGISTER_SAVE_RAX): Likewise.
43093 (REGISTER_SAVE_RCX): Likewise.
43094 (REGISTER_SAVE_RDX): Likewise.
43095 (REGISTER_SAVE_RSI): Likewise.
43096 (REGISTER_SAVE_RDI): Likewise.
43097 (REGISTER_SAVE_R8): Likewise.
43098 (REGISTER_SAVE_R9): Likewise.
43099 (REGISTER_SAVE_BND0): Likewise.
43100 (REGISTER_SAVE_BND1): Likewise.
43101 (REGISTER_SAVE_BND2): Likewise.
43102 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
43103 bound registers when calling _dl_fixup.
43104
43105 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43106
43107 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43108 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43109 of its definition.
43110 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43111 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43112 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43113 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43114 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43115 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43116 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43117
43118 2014-04-09 Peter Brett <peter@peter-b.co.uk>
43119
43120 [BZ #15514]
43121 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43122 pathconf(_PC_NAME_MAX).
43123
43124 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43125
43126 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43127 Remove macro usage.
43128 (__PTHREAD_SPINS): Move definition to ...
43129 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43130 (__PTHREAD_SPINS): ... here.
43131 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43132 (__PTHREAD_SPIN): Likewise.
43133 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43134 (__PTHREAD_SPIN): Likewise.
43135 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43136 (__PTHREAD_SPIN): Likewise.
43137 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43138 (__PTHREAD_SPIN): Likewise.
43139 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43140 (__PTHREAD_SPIN): Likewise.
43141 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43142 (__PTHREAD_SPIN): Likewise.
43143 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43144 (__PTHREAD_SPIN): Likewise.
43145 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43146 (__PTHREAD_SPIN): Likewise.
43147 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43148 (__PTHREAD_SPIN): Likewise.
43149 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43150 (__PTHREAD_SPIN): Likewise.
43151 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43152 (__PTHREAD_SPIN): Likewise.
43153 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43154 (__PTHREAD_SPIN): Likewise.
43155
43156 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43157 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43158 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43159 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43160 imply folder.
43161 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43162 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43163 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43164 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43165 correct imply path.
43166 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43167 strlen symbol for non multi-arch builds.
43168 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43169 missing hidden_def and weak_alias.
43170
43171 2014-04-08 Carlos O'Donell <carlos@redhat.com>
43172
43173 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43174
43175 2014-04-07 Will Newton <will.newton@linaro.org>
43176
43177 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43178 and contents. [!_LIBC] Remove #ifndef and contents.
43179 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
43180 * string/memccpy.c (__memccpy): Use ANSI prototype.
43181 * string/memfrob.c (memfrob): Likewise.
43182 * string/strcoll.c (STRCOLL): Likewise.
43183 * string/strlen.c (strlen): Likewise.
43184 * string/strtok.c (STRTOK): Likewise.
43185 * string/strcat.c: Remove unused #include of memcopy.h.
43186 (strcat): Use ANSI prototype.
43187 * string/strchr.c: Remove unused #include of memcopy.h.
43188 (strchr): Use ANSI prototype.
43189 * string/strcmp.c: Remove unused #include of memcopy.h.
43190 (strcmp): Use ANSI prototype.
43191 * string/strcpy.c: Remove unused #include of memcopy.h.
43192 (strcpy): Use ANSI prototype.
43193
43194 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43195
43196 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43197 * config.make.in (config-extra-cppflags): Set it from
43198 libc_extra_cppflags.
43199 * configure.ac (libc_extra_cflags): Make it accumulate over
43200 configure fragments.
43201 (libc_extra_cppflags): New flag.
43202 * configure. Regenerate.
43203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43204 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43205 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43207
43208 [BZ #16815]
43209 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43210 result for FE_DOWNWARD rounding mode.
43211 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43212 Likewise.
43213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43214
43215 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
43216
43217 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43218 in function argument name.
43219
43220 2014-04-03 David Svoboda <svoboda@cert.org>
43221
43222 [BZ #5666]
43223 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43224 explicitly.
43225
43226 2014-04-03 Roland McGrath <roland@hack.frob.com>
43227
43228 * elf/dl-unmap-segments.h: New file.
43229 * sysdeps/generic/ldsodefs.h
43230 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43231 * elf/dl-close.c: Include <dl-unmap-segments.h>.
43232 * elf/dl-fptr.c: Likewise.
43233 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43234 * sysdeps/aarch64/tlsdesc.c: Likewise.
43235 * sysdeps/arm/tlsdesc.c: Likewise.
43236 * sysdeps/i386/tlsdesc.c: Likewise.
43237 * sysdeps/tile/dl-runtime.c: Likewise.
43238 * sysdeps/x86_64/tlsdesc.c: Likewise.
43239 * elf/dl-load.h: New file.
43240 * elf/dl-load.c: Include it.
43241 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43242 Macros moved to dl-load.h.
43243 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43244 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43245 Use _dl_unmap_segments in place of __munmap.
43246 Break out segment-mapping loop into ...
43247 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43248
43249 2014-04-03 Will Newton <will.newton@linaro.org>
43250
43251 * elf/dl-lookup.c (do_lookup_x): Remove comment
43252 referring to nested function and move variable
43253 declarations down to before first use.
43254
43255 2014-04-02 Joseph Myers <joseph@codesourcery.com>
43256
43257 [BZ #16799]
43258 [BZ #16800]
43259 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43260 with 0 numerator.
43261 * math/s_catanf.c (__catanf): Likewise.
43262 * math/s_catanh.c (__catanh): Likewise.
43263 * math/s_catanhf.c (__catanhf): Likewise.
43264 * math/s_catanhl.c (__catanhl): Likewise.
43265 * math/s_catanl.c (__catanl): Likewise.
43266 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43267 by positive zero when computing -Inf result.
43268 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43269 (catanh_test): Likewise.
43270 * sysdeps/i386/fpu/libm-test-ulps: Update.
43271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43272
43273 [BZ #16789]
43274 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43275 instead of using underflowing value in computing result.
43276 * math/s_clog10.c (__clog10): Likewise.
43277 * math/s_clog10f.c (__clog10f): Likewise.
43278 * math/s_clog10l.c (__clog10l): Likewise.
43279 * math/s_clogf.c (__clogf): Likewise.
43280 * math/s_clogl.c (__clogl): Likewise.
43281 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43282 (clog10_test): Likewise.
43283 * sysdeps/i386/fpu/libm-test-ulps: Update.
43284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43285
43286 2014-04-02 Alan Modra <amodra@gmail.com>
43287
43288 [BZ #16739]
43289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43290 output when value is near a power of two. Use int64_t for lx and
43291 remove casts. Use decimal rather than hex exponent constants.
43292 Don't use long double multiplication when double will suffice.
43293 * math/libm-test.inc (nextafter_test_data): Add tests.
43294 * NEWS: Add 16739 and 16786 to bug list.
43295
43296 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43297
43298 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43299
43300 2014-04-01 Will Newton <will.newton@linaro.org>
43301
43302 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43303 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
43304
43305 2014-04-01 Florian Weimer <fweimer@redhat.com>
43306
43307 [BZ #13347]
43308 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43309 * nptl/tst-setuid2.c: New file.
43310 * nptl/Makefile (xtests): Add tst-setuid2.
43311
43312 2014-04-01 Alan Modra <amodra@gmail.com>
43313
43314 [BZ #16786]
43315 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43316
43317 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43318
43319 [BZ #6803]
43320 [BZ #6804]
43321 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43322 set errno as appropriate.
43323 * math/w_scalbf.c (__scalbf): Likewise.
43324 * math/w_scalbl.c (__scalbl): Likewise.
43325 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43326 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43327 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43328 Add more NaN tests.
43329
43330 [BZ #16349]
43331 * math/w_atan2.c: Include <errno.h>.
43332 (__atan2): Set errno for result underflowing to zero.
43333 * math/w_atan2f.c: Include <errno.h>.
43334 (__atan2f): Set errno for result underflowing to zero.
43335 * math/w_atan2l.c: Include <errno.h>.
43336 (__atan2l): Set errno for result underflowing to zero.
43337 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43338 tests.
43339 * math/auto-libm-test-out: Regenerated.
43340
43341 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43342
43343 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43344 Encode instruction correctly in little endian.
43345 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43346 Likewise.
43347 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43348 Likewise.
43349 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43350 Likewise.
43351 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43352 Likewise.
43353
43354 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43355
43356 [BZ #9894]
43357 * sysdeps/unix/sysv/linux/kernel-features.h
43358 [__sparc__ && !__arch64__ && !__sparc_v9__]
43359 (__ASSUME_SET_ROBUST_LIST): Do not define.
43360 [__sparc__ && !__arch64__ && !__sparc_v9__]
43361 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43362 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43363 Likewise.
43364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43365 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43366 (__ASSUME_REQUEUE_PI): Likewise.
43367 (__ASSUME_SET_ROBUST_LIST): Likewise.
43368 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43369 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43370 Undefine.
43371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43372 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43373 Likewise.
43374 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43375 Likewise.
43376 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43377 Likewise.
43378 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43379 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43380 Undefine.
43381 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43382 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43383 Likewise.
43384
43385 [BZ #16648]
43386 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43387 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43388 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43389
43390 2014-03-31 Will Newton <will.newton@linaro.org>
43391
43392 * benchtests/Makefile (bench): Add ffs and ffsll to list
43393 of tests.
43394 * benchtests/ffs-inputs: New file.
43395 * benchtests/ffsll-inputs: Likewise.
43396
43397 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43398
43399 [BZ #16770]
43400 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43401 too large before casting to int.
43402 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43403 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43404 * math/libm-test.inc (scalb_test_data): Add more tests.
43405
43406 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43407
43408 * benchtests/Makefile (DETAILED_OPT): New make option.
43409 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43410 set.
43411 * benchtests/bench-skeleton.c: Include stdbool.h.
43412 (main): Store and print timings per input.
43413 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43414 member to each argument value.
43415 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43416 (_print_arg_data): Initialize per-input timing to 0.
43417
43418 * benchtests/Makefile (timing-type): New binary.
43419 (bench-clean): Also remove bench-timing-type.
43420 (bench): New target for timing-type.
43421 (bench-func): Print output in JSON format.
43422 * benchtests/bench-skeleton.c (main): Print output in JSON
43423 format.
43424 * benchtests/bench-timing-type.c: New file.
43425 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43426 (TIMING_PRINT_STATS): Remove.
43427 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43428 name separately.
43429
43430 * benchtests/bench-modf.c: Remove.
43431 * benchtests/modf-inputs: New inputs file.
43432
43433 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43434
43435 [BZ #16362]
43436 * math/s_clog10.c (M_PI_LOG10E): New macro.
43437 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43438 imaginary parts are 0.
43439 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43440 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43441 imaginary parts are 0.
43442 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43443 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43444 imaginary parts are 0.
43445 * math/libm-test.inc (clog10_test_data): Update expected results
43446 for when real and imaginary parts are 0.
43447
43448 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43449
43450 * elf/dl-load.c: Finish conversion of __builtin_expect into
43451 __glibc_{un}likely.
43452
43453 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43454
43455 [BZ #16348]
43456 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43457 1+x for argument with exponent below -67.
43458 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43459 Likewise.
43460 * math/auto-libm-test-in: Add more tests of exp.
43461 * math/auto-libm-test-out: Regenerated.
43462
43463 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43464
43465 [BZ #16759]
43466 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43467 (nscd_getnetgrent): Use it.
43468
43469 [BZ #16760]
43470 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43471 of stpcpy.
43472
43473 2014-03-27 Andi Kleen <ak@linux.intel.com>
43474
43475 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43476 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43477 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43478 (lll_robust_unlock): Remove out of line section. Use cfi
43479 intrinsics.
43480 (LLL_STUB_UNWIND_INFO*): Remove.
43481 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43482 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43483 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43484 (lll_robust_unlock): Remove out of line section. Use cfi
43485 intrinsics.
43486 (LLL_STUB_UNWIND_INFO*): Remove.
43487
43488 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43489
43490 [BZ #16758]
43491 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43492 blank values.
43493
43494 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43495
43496 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43497
43498 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43499
43500 [BZ #16198]
43501 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43502 fnstenv.
43503 * math/test-fenv-preserve.c: New file.
43504 * math/Makefile (tests): Add test-fenv-preserve.
43505
43506 2014-03-26 Will Newton <will.newton@linaro.org>
43507
43508 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43509
43510 2014-03-25 Roland McGrath <roland@hack.frob.com>
43511
43512 * scripts/versionlist.awk: Partition the version sets and emit all
43513 GLIBC_* (sorted) before all others (sorted).
43514
43515 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43516
43517 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43518 GLIBC_2.2.5 version.
43519
43520 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43521
43522 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43523 calls.
43524
43525 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43526 previous change.
43527
43528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43529
43530 2014-03-25 Andreas Schwab <schwab@suse.de>
43531
43532 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43533 label to be used after in6ailist is initialized.
43534
43535 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43536
43537 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43538 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43539
43540 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43541
43542 [BZ #16357]
43543 [BZ #16599]
43544 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43545 min_plus_half.
43546 (fp_formats): Update initializers.
43547 (init_fp_formats): Initialize new field.
43548 (output_for_one_input_case): Allow underflow for results up to
43549 min_plus_half.
43550 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43551 * math/auto-libm-test-in: Don't mark some underflows from asin and
43552 atanh as spurious.
43553 * math/auto-libm-test-out: Regenerated.
43554 * sysdeps/i386/fpu/libm-test-ulps: Update.
43555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43556
43557 2014-03-25 Andreas Schwab <schwab@suse.de>
43558
43559 * libio/Makefile (tst-ftell-partial-wide-ENV)
43560 (tst-ftell-active-handler-ENV): Define.
43561
43562 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43563
43564 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43565
43566 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43567
43568 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43569
43570 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43571
43572 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43573 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43574 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43575
43576 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43577
43578 [BZ #16634]
43579 * elf/dl-load.c (open_verify): Add mode parameter.
43580 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43581 (open_path): Change from boolean 'secure' to complete flag 'mode'
43582 (_dl_map_object): Adjust.
43583 * elf/Makefile (tests): Add tst-dlopen-aout.
43584 * elf/tst-dlopen-aout.c: New test.
43585
43586 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43587
43588 [BZ #16714]
43589 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43590 (struct stat): Rename member pad0 to __glibc_reserved0.
43591
43592 [BZ #16712]
43593 * sysdeps/s390/s390-32/bits/wordsize.h
43594 (__WORDSIZE32_SIZE_ULONG): New define.
43595 * sysdeps/s390/s390-64/bits/wordsize.h
43596 (__WORDSIZE32_SIZE_ULONG): Likewise.
43597 * sysdeps/generic/stdint.h (SIZE_MAX):
43598 Define as UL if __WORDSIZE32_SIZE_ULONG.
43599
43600 [BZ #16713]
43601 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43602 (__glibc_reserved0): New variable.
43603 (sa_flags): Change type to int.
43604
43605 * posix/Makefile (before-compile): Use += before-compile instead
43606 of a :=.
43607
43608 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43609 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43610
43611 2014-03-20 Andreas Schwab <schwab@suse.de>
43612
43613 [BZ #16743]
43614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43615 non-matching result from nscd.
43616
43617 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43618
43619 * scripts/bench.py: Moved to ...
43620 * benchtests/scripts/bench.py: ... here.
43621 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43622
43623 2014-03-24 Andreas Schwab <schwab@suse.de>
43624
43625 [BZ #16002]
43626 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43627 alloca_account and account alloca use for struct in6ailist.
43628
43629 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43630
43631 [BZ #16284]
43632 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43633 rounding mode to recompute results that overflow to infinity or
43634 underflow to zero.
43635 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43636 bug 16284.
43637 * math/auto-libm-test-out: Regenerated.
43638 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43639 (ccosh_test): Likewise.
43640 (csin_test_data): Use plus_oflow.
43641 (csin_test): Use ALL_RM_TEST.
43642 (csinh_test_data): Use plus_oflow.
43643 (csinh_test): Use ALL_RM_TEST.
43644 * sysdeps/i386/fpu/libm-test-ulps: Update.
43645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43646
43647 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43648
43649 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43650 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43651 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43652
43653 [BZ #16731]
43654 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43655 when x - 1 is zero.
43656 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43657 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43658 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43659 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43660 argument is 1.
43661 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43662 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43663 zero.
43664 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43665 * sysdeps/i386/fpu/libm-test-ulps: Update.
43666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43667
43668 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43669
43670 * scripts/bench.pl: Remove file.
43671 * scripts/bench.py: New benchmark script.
43672 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43673 * benchtests/README: Mention python dependency.
43674 * scripts/pylintrc: New file.
43675 * scripts/pylint: New file.
43676
43677 * bits/mathdef.h: Use #ifdef instead of #if.
43678 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43679 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43680 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43681 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43682 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43683 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43684
43685 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43686 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43687
43688 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43690 and strpbrk-ppc64 objects.
43691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43692 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43693 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43694 multiarch strpbrk for POWER7.
43695 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43696 multiarch strpbrk for PPC64.
43697 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43698 ifunc selector.
43699 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43700 strpbrk for POWER7.
43701
43702 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43703
43704 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43705 (atan_test): Likewise.
43706 (atanh_test_data): Use NO_TEST_INLINE for two tests.
43707 (atanh_test): Use ALL_RM_TEST.
43708 (atan2_test_data): Likewise.
43709 (cabs_test): Likewise.
43710 (cacosh_test): Likewise.
43711 (carg_test): Likewise.
43712 (casin_test): Likewise.
43713 (casinh_test): Likewise.
43714 (cbrt_test): Likewise.
43715 (csqrt_test): Likewise.
43716 (erf_test): Likewise.
43717 (erfc_test): Likewise.
43718 (pow10_test): Likewise.
43719 (exp2_test): Likewise.
43720 (hypot_test): Likewise.
43721 (j0_test): Likewise.
43722 (j1_test): Likewise.
43723 (lgamma_test): Likewise.
43724 (gamma_test): Likewise.
43725 (sincos_test): Likewise.
43726 (tanh_test): Likewise.
43727 (y0_test): Likewise.
43728 (y1_test): Likewise.
43729 * sysdeps/i386/fpu/libm-test-ulps: Update.
43730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43731
43732 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43733
43734 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43736 and strcspn-ppc64 objects.
43737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43738 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43739 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43740 multiarch strcspn for POWER7.
43741 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43742 multiarch strcspn for PPC64.
43743 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43744 ifunc selector.
43745 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43746 strcspn for POWER7.
43747
43748 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43749
43750 * math/gen-libm-test.pl (generate_testfile): Expect only function
43751 name as argument to AUTO_TESTS_* and pass results for all rounding
43752 modes to parse_args.
43753 (parse_auto_input): Separate inputs of automatic tests from
43754 outputs before storing in %auto_tests.
43755 * math/libm-test.inc (acos_test_data): Update call to
43756 AUTO_TESTS_f_f.
43757 (acos_test): Use ALL_RM_TEST.
43758 (acos_tonearest_test_data): Remove.
43759 (acos_test_tonearest): Likewise.
43760 (acos_towardzero_test_data): Likewise.
43761 (acos_test_towardzero): Likewise.
43762 (acos_downward_test_data): Likewise.
43763 (acos_test_downward): Likewise.
43764 (acos_upward_test_data): Likewise.
43765 (acos_test_upward): Likewise.
43766 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43767 (asin_test_data): Likewise.
43768 (asin_test): Use ALL_RM_TEST.
43769 (asin_tonearest_test_data): Remove.
43770 (asin_test_tonearest): Likewise.
43771 (asin_towardzero_test_data): Likewise.
43772 (asin_test_towardzero): Likewise.
43773 (asin_downward_test_data): Likewise.
43774 (asin_test_downward): Likewise.
43775 (asin_upward_test_data): Likewise.
43776 (asin_test_upward): Likewise.
43777 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43778 (atan_test_data): Likewise.
43779 (atanh_test_data): Likewise.
43780 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43781 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43782 (carg_test_data): Likewise.
43783 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43784 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43785 (ccosh_test_data): Likewise.
43786 (cexp_test_data): Likewise.
43787 (clog_test_data): Likewise.
43788 (clog10_test_data): Likewise.
43789 (cos_test_data): Update call to AUTO_TESTS_f_f.
43790 (cos_test): Use ALL_RM_TEST.
43791 (cos_tonearest_test_data): Remove.
43792 (cos_test_tonearest): Likewise.
43793 (cos_towardzero_test_data): Likewise.
43794 (cos_test_towardzero): Likewise.
43795 (cos_downward_test_data): Likewise.
43796 (cos_test_downward): Likewise.
43797 (cos_upward_test_data): Likewise.
43798 (cos_test_upward): Likewise.
43799 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43800 (cosh_test): Use ALL_RM_TEST.
43801 (cosh_tonearest_test_data): Remove.
43802 (cosh_test_tonearest): Likewise.
43803 (cosh_towardzero_test_data): Likewise.
43804 (cosh_test_towardzero): Likewise.
43805 (cosh_downward_test_data): Likewise.
43806 (cosh_test_downward): Likewise.
43807 (cosh_upward_test_data): Likewise.
43808 (cosh_test_upward): Likewise.
43809 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43810 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43811 (ctan_test_data): Likewise.
43812 (ctan_test): Use ALL_RM_TEST.
43813 (ctan_tonearest_test_data): Remove.
43814 (ctan_test_tonearest): Likewise.
43815 (ctan_towardzero_test_data): Likewise.
43816 (ctan_test_towardzero): Likewise.
43817 (ctan_downward_test_data): Likewise.
43818 (ctan_test_downward): Likewise.
43819 (ctan_upward_test_data): Likewise.
43820 (ctan_test_upward): Likewise.
43821 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43822 (ctanh_test): Use ALL_RM_TEST.
43823 (ctanh_tonearest_test_data): Remove.
43824 (ctanh_test_tonearest): Likewise.
43825 (ctanh_towardzero_test_data): Likewise.
43826 (ctanh_test_towardzero): Likewise.
43827 (ctanh_downward_test_data): Likewise.
43828 (ctanh_test_downward): Likewise.
43829 (ctanh_upward_test_data): Likewise.
43830 (ctanh_test_upward): Likewise.
43831 (erf_test_data): Update call to AUTO_TESTS_f_f.
43832 (erfc_test_data): Likewise.
43833 (exp_test_data): Likewise.
43834 (exp_test): Use ALL_RM_TEST.
43835 (exp_tonearest_test_data): Remove.
43836 (exp_test_tonearest): Likewise.
43837 (exp_towardzero_test_data): Likewise.
43838 (exp_test_towardzero): Likewise.
43839 (exp_downward_test_data): Likewise.
43840 (exp_test_downward): Likewise.
43841 (exp_upward_test_data): Likewise.
43842 (exp_test_upward): Likewise.
43843 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43844 (exp10_test): Use ALL_RM_TEST.
43845 (exp10_tonearest_test_data): Remove.
43846 (exp10_test_tonearest): Likewise.
43847 (exp10_towardzero_test_data): Likewise.
43848 (exp10_test_towardzero): Likewise.
43849 (exp10_downward_test_data): Likewise.
43850 (exp10_test_downward): Likewise.
43851 (exp10_upward_test_data): Likewise.
43852 (exp10_test_upward): Likewise.
43853 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43854 (expm1_test_data): Likewise.
43855 (expm1_test): Use ALL_RM_TEST.
43856 (expm1_tonearest_test_data): Remove.
43857 (expm1_test_tonearest): Likewise.
43858 (expm1_towardzero_test_data): Likewise.
43859 (expm1_test_towardzero): Likewise.
43860 (expm1_downward_test_data): Likewise.
43861 (expm1_test_downward): Likewise.
43862 (expm1_upward_test_data): Likewise.
43863 (expm1_test_upward): Likewise.
43864 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43865 (fma_test): Use ALL_RM_TEST.
43866 (fma_towardzero_test_data): Remove.
43867 (fma_test_towardzero): Likewise.
43868 (fma_downward_test_data): Likewise.
43869 (fma_test_downward): Likewise.
43870 (fma_upward_test_data): Likewise.
43871 (fma_test_upward): Likewise.
43872 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43873 (j0_test_data): Update call to AUTO_TESTS_f_f.
43874 (j1_test_data): Likewise.
43875 (jn_test_data): Update call to AUTO_TESTS_if_f.
43876 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43877 (log_test_data): Update call to AUTO_TESTS_f_f.
43878 (log10_test_data): Likewise.
43879 (log1p_test_data): Likewise.
43880 (log2_test_data): Likewise.
43881 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43882 (pow_tonearest_test_data): Likewise.
43883 (sin_test_data): Update call to AUTO_TESTS_f_f.
43884 (sin_test): Use ALL_RM_TEST.
43885 (sin_tonearest_test_data): Remove.
43886 (sin_test_tonearest): Likewise.
43887 (sin_towardzero_test_data): Likewise.
43888 (sin_test_towardzero): Likewise.
43889 (sin_downward_test_data): Likewise.
43890 (sin_test_downward): Likewise.
43891 (sin_upward_test_data): Likewise.
43892 (sin_test_upward): Likewise.
43893 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43894 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43895 (sinh_test): Use ALL_RM_TEST.
43896 (sinh_tonearest_test_data): Remove.
43897 (sinh_test_tonearest): Likewise.
43898 (sinh_towardzero_test_data): Likewise.
43899 (sinh_test_towardzero): Likewise.
43900 (sinh_downward_test_data): Likewise.
43901 (sinh_test_downward): Likewise.
43902 (sinh_upward_test_data): Likewise.
43903 (sinh_test_upward): Likewise.
43904 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43905 (sqrt_test): Use ALL_RM_TEST.
43906 (sqrt_tonearest_test_data): Remove.
43907 (sqrt_test_tonearest): Likewise.
43908 (sqrt_towardzero_test_data): Likewise.
43909 (sqrt_test_towardzero): Likewise.
43910 (sqrt_downward_test_data): Likewise.
43911 (sqrt_test_downward): Likewise.
43912 (sqrt_upward_test_data): Likewise.
43913 (sqrt_test_upward): Likewise.
43914 (tan_test_data): Update call to AUTO_TESTS_f_f.
43915 (tan_test): Use ALL_RM_TEST.
43916 (tan_tonearest_test_data): Remove.
43917 (tan_test_tonearest): Likewise.
43918 (tan_towardzero_test_data): Likewise.
43919 (tan_test_towardzero): Likewise.
43920 (tan_downward_test_data): Likewise.
43921 (tan_test_downward): Likewise.
43922 (tan_upward_test_data): Likewise.
43923 (tan_test_upward): Likewise.
43924 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43925 (tgamma_test_data): Likewise.
43926 (y0_test_data): Likewise.
43927 (y1_test_data): Likewise.
43928 (yn_test_data): Update call to AUTO_TESTS_if_f.
43929 (main): Do not call removed functions.
43930
43931 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43932
43933 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43934 (ldexp_test_data): Remove.
43935 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43936 scalbn_test_data.
43937 (scalb_test): Use ALL_RM_TEST.
43938
43939 2014-03-19 Andreas Schwab <schwab@suse.de>
43940
43941 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43942
43943 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43944
43945 [BZ #16649]
43946 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43947 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43948 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43949 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43950 (__ASSUME_PREADV): Undefine.
43951 (__ASSUME_PWRITEV): Likewise.
43952
43953 2014-03-18 Roland McGrath <roland@hack.frob.com>
43954
43955 * bits/mman-linux.h: Add comment about non-Linux use.
43956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43957 bits/mman-linux.h resting place.
43958
43959 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43960 * bits/mman-linux.h: ... here.
43961
43962 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43963
43964 * conform/conformtest.pl: Add standard definition when calling C
43965 preprocessor on data files.
43966 (checknamespace): Remove unused variable.
43967
43968 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43969
43970 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43971 minus_oflow, plus_uflow and minus_uflow in expected results.
43972 * math/libm-test.inc (scalbn_test_data): Add more tests of
43973 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43974 minus_uflow.
43975 (scalbn_test): Use ALL_RM_TEST.
43976 (scalbln_test_data): Add more tests of negative arguments. Use
43977 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43978 (scalbln_test): Use ALL_RM_TEST.
43979
43980 2014-03-18 Roland McGrath <roland@hack.frob.com>
43981
43982 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43983
43984 2014-03-18 Will Newton <will.newton@linaro.org>
43985
43986 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43987 inaccurate comment.
43988
43989 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43990
43991 * Makerules [!subdir] (check-abi): Exit with error status if a
43992 test failed.
43993
43994 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43995
43996 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43997 for rint. Include results for all rounding modes.
43998 (nearbyint_test): Use ALL_RM_TEST.
43999 (rint_test_data): Include all tests used for nearbyint.
44000
44001 2014-03-17 Will Newton <will.newton@linaro.org>
44002
44003 * nptl/sysdeps/pthread/pthread.h: Revert previous
44004 change.
44005
44006 * sysdeps/generic/ldsodefs.h: Revert previous
44007 change.
44008
44009 * libio/genops.c: Revert previous change.
44010 * libio/libioP.h: Likewise.
44011 * stdio-common/vfprintf.c: Likewise.
44012
44013 * sysdeps/generic/math_private.h: Revert previous
44014 change.
44015
44016 * sysdeps/generic/math_private.h: Check whether
44017 HAVE_RM_CTX is defined with #ifdef rather
44018 than #if.
44019
44020 * argp/argp-fmtstream.h: Check whether
44021 __STRICT_ANSI__ is defined with #ifdef rather
44022 than #if.
44023 * argp/argp.h: Likewise.
44024
44025 * libio/genops.c: Check whether
44026 _IO_JUMPS_OFFSET is defined with #ifdef rather
44027 than #if.
44028 * libio/libioP.h: Likewise.
44029 * stdio-common/vfprintf.c: Likewise.
44030
44031 * sysdeps/generic/ldsodefs.h: Check whether
44032 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44033 than #if.
44034
44035 * nptl/sysdeps/pthread/pthread.h: Check
44036 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44037 its value.
44038
44039 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44040
44041 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44042 setting O_APPEND.
44043 * libio/tst-ftell-active-handler.c (do_append_test): Add a
44044 test case.
44045
44046 [BZ #16680]
44047 * libio/fileops.c (_IO_file_open): Seek to end of file but
44048 don't cache the offset.
44049 (get_file_offset): Remove function.
44050 (do_ftell): Use cached offset when available.
44051 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44052 don't cache the offset.
44053 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44054 case.
44055 (do_one_test): Call it.
44056 (do_ftell_test): Fix up expected old offset for a+ mode.
44057 * libio/wfileops.c (do_ftell_wide): Used cached offset when
44058 available.
44059
44060 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44061 up test status with function return status.
44062 (do_write_test): Likewise.
44063 (do_append_test): Likewise.
44064
44065 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44066 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44067 Remove.
44068
44069 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44070
44071 * math/gen-libm-test.pl (parse_args): Handle results specified for
44072 each rounding mode separately.
44073 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44074 tests and results from lrint_tonearest_test_data,
44075 lrint_towardzero_test_data, lrint_downward_test_data and
44076 lrint_upward_test_data.
44077 (lrint_test): Use ALL_RM_TEST.
44078 (lrint_tonearest_test_data): Remove.
44079 (lrint_test_tonearest): Likewise.
44080 (lrint_towardzero_test_data): Likewise.
44081 (lrint_test_towardzero): Likewise.
44082 (lrint_downward_test_data): Likewise.
44083 (lrint_test_downward): Likewise.
44084 (lrint_upward_test_data): Likewise.
44085 (lrint_test_upward): Likewise.
44086 (llrint_test_data): Merge in per-rounding-mode tests and results
44087 from llrint_tonearest_test_data, llrint_towardzero_test_data,
44088 llrint_downward_test_data and llrint_upward_test_data.
44089 (llrint_test): Use ALL_RM_TEST.
44090 (llrint_tonearest_test_data): Remove.
44091 (llrint_test_tonearest): Likewise.
44092 (llrint_towardzero_test_data): Likewise.
44093 (llrint_test_towardzero): Likewise.
44094 (llrint_downward_test_data): Likewise.
44095 (llrint_test_downward): Likewise.
44096 (llrint_upward_test_data): Likewise.
44097 (llrint_test_upward): Likewise.
44098 (rint_test_data): Merge in per-rounding-mode tests and results
44099 from rint_tonearest_test_data, rint_towardzero_test_data,
44100 rint_downward_test_data and rint_upward_test_data. Add
44101 per-rounding-mode results for tests not in those arrays.
44102 (rint_test): Use ALL_RM_TEST.
44103 (rint_tonearest_test_data): Remove.
44104 (rint_test_tonearest): Likewise.
44105 (rint_towardzero_test_data): Likewise.
44106 (rint_test_towardzero): Likewise.
44107 (rint_downward_test_data): Likewise.
44108 (rint_test_downward): Likewise.
44109 (rint_upward_test_data): Likewise.
44110 (rint_test_upward): Likewise.
44111 (main): Don't call removed functions.
44112
44113 2014-03-14 Roland McGrath <roland@hack.frob.com>
44114
44115 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44116 "Compiled on ..." crapola. It is anti-useful.
44117
44118 2014-03-14 Joseph Myers <joseph@codesourcery.com>
44119
44120 * scripts/evaluate-test.sh: Handle fourth argument to determine
44121 whether test run should stop on failure.
44122 * Makeconfig (stop-on-test-failure): New variable.
44123 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44124 $(stop-on-test-failure).
44125 * Makefile (tests): Give a summary of results from testing and
44126 exit with failure status if they include an ERROR or FAIL.
44127 (xtests): Likewise.
44128 * manual/install.texi (Configuring and compiling): Mention
44129 stop-on-test-failure=y.
44130 * INSTALL: Regenerated.
44131
44132 2014-03-14 Roland McGrath <roland@hack.frob.com>
44133
44134 * scripts/versionlist.awk: New file.
44135 * Makerules [$(build-shared) = yes]
44136 (postclean-generated): Add Versions.def, not Versions.def.v and
44137 Versions.def.v.i.
44138 ($(common-objpfx)Versions.def.v.i): Target removed.
44139 ($(common-objpfx)Versions.def): New target.
44140 ($(common-objpfx)Versions.all): Depend on that rather that
44141 $(common-objpfx)Versions.def.v.
44142 * Versions.def: File removed.
44143
44144 * Makeconfig (+gccwarn): Add -Wundef.
44145 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44146 a dl-sysdep.h breaking its contract.
44147 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44148 * include/stackinfo.h: New file.
44149 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44150 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44151 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44152 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44153 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44154 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44155 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44156 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44157 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44158 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44159 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44160 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44161 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44162 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44163 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44164
44165 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44166
44167 [BZ #16707]
44168 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44169 implementation.
44170 * math/libm-test.inc (round_test_data): Add more tests.
44171
44172 [BZ #16706]
44173 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44174 implementation.
44175 * math/libm-test.inc (nearbyint_test_data): Add more tests.
44176
44177 [BZ #16701]
44178 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44179 implementation.
44180 * math/libm-test.inc (ceil_test_data): Add more tests.
44181
44182 * math/libm-test.inc (trunc_test_data): Add more tests related to
44183 BZ#16414.
44184
44185 2014-03-14 Roland McGrath <roland@hack.frob.com>
44186
44187 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44188 with #if rather than #ifdef.
44189 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44190
44191 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
44192
44193 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44194 first. Disable AVX-512 GCC support if assembler doesn't support
44195 it.
44196 * sysdeps/x86_64/configure: Regenerated.
44197
44198 2014-03-13 Carlos O'Donell <carlos@redhat.com>
44199
44200 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44201 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44202 (__old_pthread_attr_setstack): Likewise.
44203 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44204 [!_STACK_GROWS_DOWN]: Likewise.
44205
44206 2014-03-13 Mike Frysinger <vapier@gentoo.org>
44207
44208 * config.make.in (have-bash2): Delete.
44209 * configure.ac (libc_cv_have_bash2): Delete.
44210 * configure: Regenerate.
44211 * elf/Makefile (common-ldd-rewrite): Rename to ...
44212 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
44213 (sh-ldd-rewrite): Delete.
44214 (bash-ldd-rewrite): Delete.
44215 (have-bash2): Delete checks.
44216 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44217 ldd-rewrite.
44218
44219 * config.make.in (have-ksh): Delete.
44220 (KSH): Delete.
44221 * configure.ac (libc_cv_have_ksh): Delete.
44222 * configure: Regenerate.
44223
44224 * elf/Makefile: Delete $(have-ksh) check.
44225 ($(objpfx)sotruss): Change KSH to BASH.
44226 * elf/sotruss.ksh: Rename to ...
44227 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
44228 function style to match POSIX. Drop ksh vim mode setting.
44229
44230 * manual/time.texi (Specifying the Time Zone with TZ): Change
44231 Tuesday to Thursday.
44232
44233 * debug/tst-longjmp_chk2.c: Update header comment.
44234 (stackoverflow_handler): Add comment. Call assert on pass value.
44235
44236 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
44237
44238 [BZ #16194]
44239 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44240 (HAVE_AVX512_ASM_SUPPORT): Likewise.
44241 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44242 (La_x86_64_vector): Add zmm.
44243 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44244 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44245 ($(objpfx)tst-audit10): New target.
44246 ($(objpfx)tst-audit10.out): Likewise.
44247 (tst-audit10-ENV): New.
44248 (AVX512-CFLAGS): Likewise.
44249 (CFLAGS-tst-audit10.c): Likewise.
44250 (CFLAGS-tst-auditmod10a.c): Likewise.
44251 (CFLAGS-tst-auditmod10b.c): Likewise.
44252 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44253 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44254 * sysdeps/x86_64/configure: Regenerated.
44255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44256 AVX-512 zmm register support.
44257 (_dl_x86_64_save_sse): Likewise.
44258 (_dl_x86_64_restore_sse): Likewise.
44259 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44260 size vector registers.
44261 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44262 (ZMM_SIZE): Likewise.
44263 * sysdeps/x86_64/tst-audit10.c: New file.
44264 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44265 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44266
44267 2014-03-13 Roland McGrath <roland@hack.frob.com>
44268
44269 * configure.ac (HAVE_EHDR_START): New check.
44270 * configure: Regenerated.
44271 * config.h.in (HAVE_EHDR_START): New #undef.
44272 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44273 assuming the lowest-addressed segment maps the start of the file.
44274
44275 2014-03-13 Joseph Myers <joseph@codesourcery.com>
44276
44277 * INSTALL: Regenerated.
44278
44279 2014-03-13 Will Newton <will.newton@linaro.org>
44280
44281 * manual/setjmp.texi (System V contexts): Improve
44282 clarity and grammar of documentation.
44283
44284 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
44285
44286 [BZ #16381]
44287 * elf/Makefile (tests): Add tst-pie2.
44288 (tests-pie): Add tst-pie2.
44289 * elf/tst-pie2.c: New file.
44290 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44291 for ET_EXEC.
44292 * elf/rtld.c (map_doit): Load executable as lt_executable.
44293 (dl_main): Likewise.
44294
44295 2014-03-12 Joseph Myers <joseph@codesourcery.com>
44296
44297 [BZ #16642]
44298 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44299 (__ASSUME_PSELECT): Undefine.
44300
44301 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44302
44303 [BZ #16689]
44304 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44305 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44306 static build.
44307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44308 selector for static builds.
44309
44310 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44311
44312 [BZ #16695]
44313 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44314 key in the buffer.
44315
44316 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44317
44318 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44319 IFUNC selector for static builds.
44320
44321 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44322
44323 * sysdeps/mips/math_private.h [__mips_hard_float]
44324 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44325 libc_feresetround_mips_ctx.
44326 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44327 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44328 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44329
44330 [BZ #16677]
44331 * math/s_nextafter.c (__nextafter): Do not return value from
44332 overflowing computation.
44333 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44334 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44335 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44336 Likewise.
44337 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44338 Likewise.
44339 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44340 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44341
44342 2014-03-11 Roland McGrath <roland@hack.frob.com>
44343
44344 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44345 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44346 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44347 the new mov targetting sp.
44348
44349 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44350
44351 [BZ #16683]
44352 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44353 Define it for static builds as well.
44354 (NO_BZERO_IMPL): Likewise.
44355
44356 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44357
44358 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44359 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44360 multiarch strspn for PPC64.
44361 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44362 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44364 (__libc_ifunc_impl_list): Likewise.
44365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44366 multiarch optimizations
44367 * string/strspn.c (strspn): Using macro to redefine symbol name.
44368
44369 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44370 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44371
44372 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44373 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44374 multiarch strncat for PPC64.
44375 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44376 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44378 (__libc_ifunc_impl_list): Likewise.
44379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44380 multiarch optimizations
44381
44382 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44383
44384 [BZ #16639]
44385 * nscd/nscd.service: Make service type forking.
44386
44387 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44388
44389 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44390 sign in non default rounding modes.
44391 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44392
44393 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44394
44395 * math/libm-test.inc (ALL_RM_TEST): New macro.
44396 (ceil_test): Use ALL_RM_TEST.
44397 (cimag_test): Likewise.
44398 (conj_test): Likewise.
44399 (copysign_test): Likewise.
44400 (cproj_test): Likewise.
44401 (creal_test): Likewise.
44402 (fabs_test): Likewise.
44403 (floor_test): Likewise.
44404 (fmax_test): Likewise.
44405 (fmin_test): Likewise.
44406 (fmod_test): Likewise.
44407 (fpclassify_test): Likewise.
44408 (frexp_test): Likewise.
44409 (ilogb_test): Likewise.
44410 (isfinite_test): Likewise.
44411 (finite_test): Likewise.
44412 (isgreater_test): Likewise.
44413 (isgreaterequal_test): Likewise.
44414 (isinf_test): Likewise.
44415 (isless_test): Likewise.
44416 (islessequal_test): Likewise.
44417 (islessgreater_test): Likewise.
44418 (isnan_test): Likewise.
44419 (isnormal_test): Likewise.
44420 (issignaling_test): Likewise.
44421 (isunordered_test): Likewise.
44422 (logb_test): Likewise.
44423 (logb_downward_test_data): Remove.
44424 (logb_test_downward): Likewise.
44425 (lround_test): Use ALL_RM_TEST.
44426 (llround_test): Likewise.
44427 (modf_test): Likewise.
44428 (nexttoward_test): Likewise.
44429 (remainder_test): Likewise.
44430 (drem_test): Likewise.
44431 (remainder_tonearest_test_data): Likewise.
44432 (remainder_test_tonearest): Likewise.
44433 (drem_test_tonearest): Likewise.
44434 (remainder_towardzero_test_data): Likewise.
44435 (remainder_test_towardzero): Likewise.
44436 (drem_test_towardzero): Likewise.
44437 (remainder_downward_test_data): Likewise.
44438 (remainder_test_downward): Likewise.
44439 (drem_test_downward): Likewise.
44440 (remainder_upward_test_data): Likewise.
44441 (remainder_test_upward): Likewise.
44442 (drem_test_upward): Likewise.
44443 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44444 (round_test): Use ALL_RM_TEST.
44445 (signbit_test): Likewise.
44446 (trunc_test): Likewise.
44447 (significand_test): Likewise.
44448 (main): Don't call removed functions.
44449
44450 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44451
44452 [BZ #16674]
44453 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44454 || __USE_XOPEN2K8].
44455 (ILL_ILLOPN): Likewise.
44456 (ILL_ILLADR): Likewise.
44457 (ILL_ILLTRP): Likewise.
44458 (ILL_PRVOPC): Likewise.
44459 (ILL_PRVREG): Likewise.
44460 (ILL_COPROC): Likewise.
44461 (ILL_BADSTK): Likewise.
44462 (FPE_INTDIV): Likewise.
44463 (FPE_INTOVF): Likewise.
44464 (FPE_FLTDIV): Likewise.
44465 (FPE_FLTOVF): Likewise.
44466 (FPE_FLTUND): Likewise.
44467 (FPE_FLTRES): Likewise.
44468 (FPE_FLTINV): Likewise.
44469 (FPE_FLTSUB): Likewise.
44470 (SEGV_MAPERR): Likewise.
44471 (SEGV_ACCERR): Likewise.
44472 (BUS_ADRALN): Likewise.
44473 (BUS_ADRERR): Likewise.
44474 (BUS_OBJERR): Likewise.
44475 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44476 (TRAP_TRACE): Likewise.
44477 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44478 __USE_XOPEN2K8].
44479 (CLD_KILLED): Likewise.
44480 (CLD_DUMPED): Likewise.
44481 (CLD_TRAPPED): Likewise.
44482 (CLD_STOPPED): Likewise.
44483 (CLD_CONTINUED): Likewise.
44484 (POLL_IN): Likewise.
44485 (POLL_OUT): Likewise.
44486 (POLL_MSG): Likewise.
44487 (POLL_ERR): Likewise.
44488 (POLL_PRI): Likewise.
44489 (POLL_HUP): Likewise.
44490 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44491 Likewise.
44492 (ILL_ILLOPN): Likewise.
44493 (ILL_ILLADR): Likewise.
44494 (ILL_ILLTRP): Likewise.
44495 (ILL_PRVOPC): Likewise.
44496 (ILL_PRVREG): Likewise.
44497 (ILL_COPROC): Likewise.
44498 (ILL_BADSTK): Likewise.
44499 (FPE_INTDIV): Likewise.
44500 (FPE_INTOVF): Likewise.
44501 (FPE_FLTDIV): Likewise.
44502 (FPE_FLTOVF): Likewise.
44503 (FPE_FLTUND): Likewise.
44504 (FPE_FLTRES): Likewise.
44505 (FPE_FLTINV): Likewise.
44506 (FPE_FLTSUB): Likewise.
44507 (SEGV_MAPERR): Likewise.
44508 (SEGV_ACCERR): Likewise.
44509 (BUS_ADRALN): Likewise.
44510 (BUS_ADRERR): Likewise.
44511 (BUS_OBJERR): Likewise.
44512 (BUS_MCEERR_AR): Likewise.
44513 (BUS_MCEERR_AO): Likewise.
44514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44515 (TRAP_TRACE): Likewise.
44516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44517 __USE_XOPEN2K8].
44518 (CLD_KILLED): Likewise.
44519 (CLD_DUMPED): Likewise.
44520 (CLD_TRAPPED): Likewise.
44521 (CLD_STOPPED): Likewise.
44522 (CLD_CONTINUED): Likewise.
44523 (POLL_IN): Likewise.
44524 (POLL_OUT): Likewise.
44525 (POLL_MSG): Likewise.
44526 (POLL_ERR): Likewise.
44527 (POLL_PRI): Likewise.
44528 (POLL_HUP): Likewise.
44529 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44530 (ILL_ILLOPN): Likewise.
44531 (ILL_ILLADR): Likewise.
44532 (ILL_ILLTRP): Likewise.
44533 (ILL_PRVOPC): Likewise.
44534 (ILL_PRVREG): Likewise.
44535 (ILL_COPROC): Likewise.
44536 (ILL_BADSTK): Likewise.
44537 (FPE_INTDIV): Likewise.
44538 (FPE_INTOVF): Likewise.
44539 (FPE_FLTDIV): Likewise.
44540 (FPE_FLTOVF): Likewise.
44541 (FPE_FLTUND): Likewise.
44542 (FPE_FLTRES): Likewise.
44543 (FPE_FLTINV): Likewise.
44544 (FPE_FLTSUB): Likewise.
44545 (SEGV_MAPERR): Likewise.
44546 (SEGV_ACCERR): Likewise.
44547 (BUS_ADRALN): Likewise.
44548 (BUS_ADRERR): Likewise.
44549 (BUS_OBJERR): Likewise.
44550 (BUS_MCEERR_AR): Likewise.
44551 (BUS_MCEERR_AO): Likewise.
44552 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44553 (TRAP_TRACE): Likewise.
44554 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44555 __USE_XOPEN2K8].
44556 (CLD_KILLED): Likewise.
44557 (CLD_DUMPED): Likewise.
44558 (CLD_TRAPPED): Likewise.
44559 (CLD_STOPPED): Likewise.
44560 (CLD_CONTINUED): Likewise.
44561 (POLL_IN): Likewise.
44562 (POLL_OUT): Likewise.
44563 (POLL_MSG): Likewise.
44564 (POLL_ERR): Likewise.
44565 (POLL_PRI): Likewise.
44566 (POLL_HUP): Likewise.
44567 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44568 Likewise.
44569 (ILL_ILLOPN): Likewise.
44570 (ILL_ILLADR): Likewise.
44571 (ILL_ILLTRP): Likewise.
44572 (ILL_PRVOPC): Likewise.
44573 (ILL_PRVREG): Likewise.
44574 (ILL_COPROC): Likewise.
44575 (ILL_BADSTK): Likewise.
44576 (ILL_BADIADDR): Likewise.
44577 (ILL_BREAK): Likewise.
44578 (FPE_INTDIV): Likewise.
44579 (FPE_INTOVF): Likewise.
44580 (FPE_FLTDIV): Likewise.
44581 (FPE_FLTOVF): Likewise.
44582 (FPE_FLTUND): Likewise.
44583 (FPE_FLTRES): Likewise.
44584 (FPE_FLTINV): Likewise.
44585 (FPE_FLTSUB): Likewise.
44586 (FPE_DECOVF): Likewise.
44587 (FPE_DECDIV): Likewise.
44588 (FPE_DECERR): Likewise.
44589 (FPE_INVASC): Likewise.
44590 (FPE_INVDEC): Likewise.
44591 (SEGV_MAPERR): Likewise.
44592 (SEGV_ACCERR): Likewise.
44593 (SEGV_PSTKOVF): Likewise.
44594 (BUS_ADRALN): Likewise.
44595 (BUS_ADRERR): Likewise.
44596 (BUS_OBJERR): Likewise.
44597 (BUS_MCEERR_AR): Likewise.
44598 (BUS_MCEERR_AO): Likewise.
44599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44600 (TRAP_TRACE): Likewise.
44601 (TRAP_BRANCH): Likewise.
44602 (TRAP_HWBKPT): Likewise.
44603 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44604 __USE_XOPEN2K8].
44605 (CLD_KILLED): Likewise.
44606 (CLD_DUMPED): Likewise.
44607 (CLD_TRAPPED): Likewise.
44608 (CLD_STOPPED): Likewise.
44609 (CLD_CONTINUED): Likewise.
44610 (POLL_IN): Likewise.
44611 (POLL_OUT): Likewise.
44612 (POLL_MSG): Likewise.
44613 (POLL_ERR): Likewise.
44614 (POLL_PRI): Likewise.
44615 (POLL_HUP): Likewise.
44616 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44617 (ILL_ILLOPN): Likewise.
44618 (ILL_ILLADR): Likewise.
44619 (ILL_ILLTRP): Likewise.
44620 (ILL_PRVOPC): Likewise.
44621 (ILL_PRVREG): Likewise.
44622 (ILL_COPROC): Likewise.
44623 (ILL_BADSTK): Likewise.
44624 (FPE_INTDIV): Likewise.
44625 (FPE_INTOVF): Likewise.
44626 (FPE_FLTDIV): Likewise.
44627 (FPE_FLTOVF): Likewise.
44628 (FPE_FLTUND): Likewise.
44629 (FPE_FLTRES): Likewise.
44630 (FPE_FLTINV): Likewise.
44631 (FPE_FLTSUB): Likewise.
44632 (SEGV_MAPERR): Likewise.
44633 (SEGV_ACCERR): Likewise.
44634 (BUS_ADRALN): Likewise.
44635 (BUS_ADRERR): Likewise.
44636 (BUS_OBJERR): Likewise.
44637 (BUS_MCEERR_AR): Likewise.
44638 (BUS_MCEERR_AO): Likewise.
44639 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44640 (TRAP_TRACE): Likewise.
44641 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44642 __USE_XOPEN2K8].
44643 (CLD_KILLED): Likewise.
44644 (CLD_DUMPED): Likewise.
44645 (CLD_TRAPPED): Likewise.
44646 (CLD_STOPPED): Likewise.
44647 (CLD_CONTINUED): Likewise.
44648 (POLL_IN): Likewise.
44649 (POLL_OUT): Likewise.
44650 (POLL_MSG): Likewise.
44651 (POLL_ERR): Likewise.
44652 (POLL_PRI): Likewise.
44653 (POLL_HUP): Likewise.
44654 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44655 (ILL_ILLOPN): Likewise.
44656 (ILL_ILLADR): Likewise.
44657 (ILL_ILLTRP): Likewise.
44658 (ILL_PRVOPC): Likewise.
44659 (ILL_PRVREG): Likewise.
44660 (ILL_COPROC): Likewise.
44661 (ILL_BADSTK): Likewise.
44662 (FPE_INTDIV): Likewise.
44663 (FPE_INTOVF): Likewise.
44664 (FPE_FLTDIV): Likewise.
44665 (FPE_FLTOVF): Likewise.
44666 (FPE_FLTUND): Likewise.
44667 (FPE_FLTRES): Likewise.
44668 (FPE_FLTINV): Likewise.
44669 (FPE_FLTSUB): Likewise.
44670 (SEGV_MAPERR): Likewise.
44671 (SEGV_ACCERR): Likewise.
44672 (BUS_ADRALN): Likewise.
44673 (BUS_ADRERR): Likewise.
44674 (BUS_OBJERR): Likewise.
44675 (BUS_MCEERR_AR): Likewise.
44676 (BUS_MCEERR_AO): Likewise.
44677 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44678 (TRAP_TRACE): Likewise.
44679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44680 __USE_XOPEN2K8].
44681 (CLD_KILLED): Likewise.
44682 (CLD_DUMPED): Likewise.
44683 (CLD_TRAPPED): Likewise.
44684 (CLD_STOPPED): Likewise.
44685 (CLD_CONTINUED): Likewise.
44686 (POLL_IN): Likewise.
44687 (POLL_OUT): Likewise.
44688 (POLL_MSG): Likewise.
44689 (POLL_ERR): Likewise.
44690 (POLL_PRI): Likewise.
44691 (POLL_HUP): Likewise.
44692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44693 (ILL_ILLOPN): Likewise.
44694 (ILL_ILLADR): Likewise.
44695 (ILL_ILLTRP): Likewise.
44696 (ILL_PRVOPC): Likewise.
44697 (ILL_PRVREG): Likewise.
44698 (ILL_COPROC): Likewise.
44699 (ILL_BADSTK): Likewise.
44700 (FPE_INTDIV): Likewise.
44701 (FPE_INTOVF): Likewise.
44702 (FPE_FLTDIV): Likewise.
44703 (FPE_FLTOVF): Likewise.
44704 (FPE_FLTUND): Likewise.
44705 (FPE_FLTRES): Likewise.
44706 (FPE_FLTINV): Likewise.
44707 (FPE_FLTSUB): Likewise.
44708 (SEGV_MAPERR): Likewise.
44709 (SEGV_ACCERR): Likewise.
44710 (BUS_ADRALN): Likewise.
44711 (BUS_ADRERR): Likewise.
44712 (BUS_OBJERR): Likewise.
44713 (BUS_MCEERR_AR): Likewise.
44714 (BUS_MCEERR_AO): Likewise.
44715 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44716 (TRAP_TRACE): Likewise.
44717 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44718 __USE_XOPEN2K8].
44719 (CLD_KILLED): Likewise.
44720 (CLD_DUMPED): Likewise.
44721 (CLD_TRAPPED): Likewise.
44722 (CLD_STOPPED): Likewise.
44723 (CLD_CONTINUED): Likewise.
44724 (POLL_IN): Likewise.
44725 (POLL_OUT): Likewise.
44726 (POLL_MSG): Likewise.
44727 (POLL_ERR): Likewise.
44728 (POLL_PRI): Likewise.
44729 (POLL_HUP): Likewise.
44730 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44731 (ILL_ILLOPN): Likewise.
44732 (ILL_ILLADR): Likewise.
44733 (ILL_ILLTRP): Likewise.
44734 (ILL_PRVOPC): Likewise.
44735 (ILL_PRVREG): Likewise.
44736 (ILL_COPROC): Likewise.
44737 (ILL_BADSTK): Likewise.
44738 (ILL_DBLFLT): Likewise.
44739 (ILL_HARDWALL): Likewise.
44740 (FPE_INTDIV): Likewise.
44741 (FPE_INTOVF): Likewise.
44742 (FPE_FLTDIV): Likewise.
44743 (FPE_FLTOVF): Likewise.
44744 (FPE_FLTUND): Likewise.
44745 (FPE_FLTRES): Likewise.
44746 (FPE_FLTINV): Likewise.
44747 (FPE_FLTSUB): Likewise.
44748 (SEGV_MAPERR): Likewise.
44749 (SEGV_ACCERR): Likewise.
44750 (BUS_ADRALN): Likewise.
44751 (BUS_ADRERR): Likewise.
44752 (BUS_OBJERR): Likewise.
44753 (BUS_MCEERR_AR): Likewise.
44754 (BUS_MCEERR_AO): Likewise.
44755 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44756 (TRAP_TRACE): Likewise.
44757 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44758 __USE_XOPEN2K8].
44759 (CLD_KILLED): Likewise.
44760 (CLD_DUMPED): Likewise.
44761 (CLD_TRAPPED): Likewise.
44762 (CLD_STOPPED): Likewise.
44763 (CLD_CONTINUED): Likewise.
44764 (POLL_IN): Likewise.
44765 (POLL_OUT): Likewise.
44766 (POLL_MSG): Likewise.
44767 (POLL_ERR): Likewise.
44768 (POLL_PRI): Likewise.
44769 (POLL_HUP): Likewise.
44770 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44771 (ILL_ILLOPN): Likewise.
44772 (ILL_ILLADR): Likewise.
44773 (ILL_ILLTRP): Likewise.
44774 (ILL_PRVOPC): Likewise.
44775 (ILL_PRVREG): Likewise.
44776 (ILL_COPROC): Likewise.
44777 (ILL_BADSTK): Likewise.
44778 (FPE_INTDIV): Likewise.
44779 (FPE_INTOVF): Likewise.
44780 (FPE_FLTDIV): Likewise.
44781 (FPE_FLTOVF): Likewise.
44782 (FPE_FLTUND): Likewise.
44783 (FPE_FLTRES): Likewise.
44784 (FPE_FLTINV): Likewise.
44785 (FPE_FLTSUB): Likewise.
44786 (SEGV_MAPERR): Likewise.
44787 (SEGV_ACCERR): Likewise.
44788 (BUS_ADRALN): Likewise.
44789 (BUS_ADRERR): Likewise.
44790 (BUS_OBJERR): Likewise.
44791 (BUS_MCEERR_AR): Likewise.
44792 (BUS_MCEERR_AO): Likewise.
44793 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44794 (TRAP_TRACE): Likewise.
44795 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44796 __USE_XOPEN2K8].
44797 (CLD_KILLED): Likewise.
44798 (CLD_DUMPED): Likewise.
44799 (CLD_TRAPPED): Likewise.
44800 (CLD_STOPPED): Likewise.
44801 (CLD_CONTINUED): Likewise.
44802 (POLL_IN): Likewise.
44803 (POLL_OUT): Likewise.
44804 (POLL_MSG): Likewise.
44805 (POLL_ERR): Likewise.
44806 (POLL_PRI): Likewise.
44807 (POLL_HUP): Likewise.
44808 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44809 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44810
44811 [BZ #16670]
44812 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44813 before #include of <time.h>.
44814 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44815 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44816 (test-xfail-UNIX98/sched.h/conform): Likewise.
44817
44818 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44819
44820 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44821 error absence of trapping exception support.
44822 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44823
44824 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44825
44826 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44827 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44828 * timezone/Makefile (testdata): Move definition above include of
44829 Rules.
44830 (test-zones): New variable.
44831 (tests-special): Add zone files.
44832 (build-testdata): Use $(evaluate-test).
44833
44834 * elf/Makefile (tests-special): Rename tests to end with .out.
44835 ($(objpfx)noload-mem): Likewise.
44836 ($(objpfx)tst-leaks1-mem): Likewise.
44837 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44838 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44839 $(objpfx)test-iconvconfig.out.
44840 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44841 set -e inside subshell and redirect output to file.
44842 * iconvdata/Makefile (generated): Rename tests to end with .out.
44843 Correct type.
44844 (tests-special): Rename tests to end with .out.
44845 ($(objpfx)mtrace-tst-loading): Likewise.
44846 * intl/Makefile (generated): Likewise.
44847 (tests-special): Likewise.
44848 ($(objpfx)mtrace-tst-gettext): Likewise.
44849 * misc/Makefile (generated): Likewise.
44850 (tests-special): Likewise.
44851 ($(objpfx)tst-error1-mem): Likewise.
44852 * nptl/Makefile (tests-special): Likewise.
44853 ($(objpfx)tst-stack3-mem): Likewise.
44854 (generated): Likewise.
44855 * posix/Makefile (generated): Likewise.
44856 (tests-special): Likewise.
44857 (xtests-special): Likewise.
44858 ($(objpfx)tst-fnmatch-mem): Likewise.
44859 ($(objpfx)bug-regex2-mem): Likewise.
44860 ($(objpfx)bug-regex14-mem): Likewise.
44861 ($(objpfx)bug-regex21-mem): Likewise.
44862 ($(objpfx)bug-regex31-mem): Likewise.
44863 ($(objpfx)tst-vfork3-mem): Likewise.
44864 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44865 ($(objpfx)tst-pcre-mem): Likewise.
44866 ($(objpfx)tst-boost-mem): Likewise.
44867 ($(objpfx)bug-ga2-mem): Likewise.
44868 ($(objpfx)bug-glob2-mem): Likewise.
44869 * resolv/Makefile (generate): Likewise.
44870 (tests-special): Likewise.
44871 (xtests-special): Likewise.
44872 (generated): Likewise.
44873 ($(objpfx)mtrace-tst-leaks): Likewise.
44874 ($(objpfx)mtrace-tst-leaks2): Likewise.
44875
44876 * scripts/merge-test-results.sh: New file.
44877 * Makefile (tests-special-notdir): New variable.
44878 (tests): Run merge-test-results.sh.
44879 (xtests): Likewise.
44880 * Rules (tests-special-notdir): New variable.
44881 (xtests-special-notdir): Likewise.
44882 (tests): Run merge-test-results.sh
44883 (xtests): Likewise.
44884
44885 * Makeconfig (test-xfail-name): New variable.
44886 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44887 compute variable name for expected failures.
44888 * conform/Makefile (conformtest-headers-data): New variable.
44889 (conformtest-standards): Likewise.
44890 (conformtest-headers-ISO): Likewise.
44891 (conformtest-headers-ISO99): Likewise.
44892 (conformtest-headers-ISO11): Likewise.
44893 (conformtest-headers-POSIX): Likewise.
44894 (conformtest-headers-XPG3): Likewise.
44895 (conformtest-headers-XPG4): Likewise.
44896 (conformtest-headers-UNIX98): Likewise.
44897 (conformtest-headers-XOPEN2K): Likewise.
44898 (conformtest-headers-POSIX2008): Likewise.
44899 (conformtest-headers-XOPEN2K8): Likewise.
44900 (conformtest-header-list-base): Likewise.
44901 (conformtest-header-list-tests): Likewise.
44902 (conformtest-header-base): Likewise.
44903 (conformtest-header-tests): Likewise.
44904 (tests-special): Add $(conformtest-header-list-tests). If
44905 [$(fast-check) && !$(cross-compiling)], add
44906 $(conformtest-header-tests) instead of
44907 $(objpfx)run-conformtest.out.
44908 (generated): Add $(conformtest-header-list-base). If
44909 [$(fast-check) && !$(cross-compiling)], add
44910 $(conformtest-header-base). Remove previous setting.
44911 ($(conformtest-header-list-tests)): New target.
44912 (test-xfail-run-conformtest): Remove variable.
44913 ($(objpfx)run-conformtest.out): Remove target.
44914 (test-xfail-ISO11/complex.h/conform): New variable.
44915 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44916 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44917 (test-xfail-XPG3/varargs.h/conform): Likewise.
44918 (test-xfail-XPG4/varargs.h/conform): Likewise.
44919 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44920 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44921 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44922 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44923 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44924 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44925 (test-xfail-XPG3/ftw.h/conform): Likewise.
44926 (test-xfail-XPG3/grp.h/conform): Likewise.
44927 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44928 (test-xfail-XPG3/limits.h/conform): Likewise.
44929 (test-xfail-XPG3/pwd.h/conform): Likewise.
44930 (test-xfail-XPG3/search.h/conform): Likewise.
44931 (test-xfail-XPG3/signal.h/conform): Likewise.
44932 (test-xfail-XPG3/stdio.h/conform): Likewise.
44933 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44934 (test-xfail-XPG3/string.h/conform): Likewise.
44935 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44936 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44937 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44938 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44939 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44940 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44941 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44942 (test-xfail-XPG3/termios.h/conform): Likewise.
44943 (test-xfail-XPG3/time.h/conform): Likewise.
44944 (test-xfail-XPG3/unistd.h/conform): Likewise.
44945 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44946 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44947 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44948 (test-xfail-XPG4/netdb.h/conform): Likewise.
44949 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44950 (test-xfail-XPG4/signal.h/conform): Likewise.
44951 (test-xfail-XPG4/stdio.h/conform): Likewise.
44952 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44953 (test-xfail-XPG4/stropts.h/conform): Likewise.
44954 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44955 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44956 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44957 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44958 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44959 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44960 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44961 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44962 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44963 (test-xfail-XPG4/termios.h/conform): Likewise.
44964 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44965 (test-xfail-XPG4/unistd.h/conform): Likewise.
44966 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44967 (test-xfail-POSIX/sched.h/conform): Likewise.
44968 (test-xfail-POSIX/signal.h/conform): Likewise.
44969 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44970 (test-xfail-POSIX/tar.h/conform): Likewise.
44971 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44972 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44973 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44974 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44975 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44976 (test-xfail-UNIX98/sched.h/conform): Likewise.
44977 (test-xfail-UNIX98/signal.h/conform): Likewise.
44978 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44979 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44980 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44981 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44982 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44983 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44984 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44985 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44986 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44987 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44988 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44989 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44990 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44991 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44992 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44993 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44994 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44995 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44996 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44997 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44998 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44999 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45000 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45001 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45002 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45003 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45004 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45005 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45006 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45007 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45008 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45009 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45010 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45011 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45012 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45013 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45014 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45015 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45016 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45017 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45018 (test-xfail-POSIX2008/signal.h/conform): Likewise.
45019 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45020 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45021 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45022 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45023 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45024 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45025 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45026 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45027 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45028 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45029 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45030 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45031 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45032 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45033 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45034 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45035 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45036 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45037 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45038 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45039 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45040 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45041 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45042 (conformtest-cc-flags): Likewise.
45043 ($(conformtest-header-tests): New target.
45044 * conform/check-header-lists.sh: New file.
45045 * conform/run-conformtest.sh: Remove.
45046
45047 * conform/conformtest.pl: Allow ' and \ in values given for
45048 constants.
45049 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45050 inclusion.
45051 [POSIX] (sys/types.h): Likewise.
45052 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45053 inclusion.
45054 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45055 inclusion.
45056 * conform/data/signal.h-data (SIGIO): Remove expectation.
45057 [XPG3] (SIGBUS): Do not expect.
45058 [POSIX || XPG3] (SIGPOLL): Likewise.
45059 [POSIX || XPG3] (SIGPROF): Likewise.
45060 [POSIX || XPG3] (SIGSYS): Likewise.
45061 [XPG3] (SIGTRAP): Likewise.
45062 [POSIX || XPG3] (SIGURG): Likewise.
45063 [POSIX || XPG3] (SIGVTALRM): Likewise.
45064 [POSIX || XPG3] (SIGXCPU): Likewise.
45065 [POSIX || XPG3] (SIGXFSZ): Likewise.
45066 [POSIX] (SA_SIGINFO): Expect.
45067 [XPG3] (siginfo_t): Do not expect type or contents.
45068 [POSIX] (si_pid): Do not expect element.
45069 [POSIX] (si_uid): Likewise.
45070 [POSIX] (si_addr): Likewise.
45071 [POSIX] (si_status): Likewise.
45072 [POSIX] (si_band): Likewise.
45073 [XPG4] (si_value): Likewise.
45074 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45075 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45076 [POSIX || XPG3] (ILL_ILLADR): Likewise.
45077 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45078 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45079 [POSIX || XPG3] (ILL_PRVREG): Likewise.
45080 [POSIX || XPG3] (ILL_COPROC): Likewise.
45081 [POSIX || XPG3] (ILL_BADSTK): Likewise.
45082 [POSIX || XPG3] (FPE_INTDIV): Likewise.
45083 [POSIX || XPG3] (FPE_INTOVF): Likewise.
45084 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45085 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45086 [POSIX || XPG3] (FPE_FLTUND): Likewise.
45087 [POSIX || XPG3] (FPE_FLTRES): Likewise.
45088 [POSIX || XPG3] (FPE_FLTINV): Likewise.
45089 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45090 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45091 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45092 [POSIX || XPG3] (BUS_ADRALN): Likewise.
45093 [POSIX || XPG3] (BUS_ADRERR): Likewise.
45094 [POSIX || XPG3] (BUS_OBJERR): Likewise.
45095 [POSIX || XPG3] (CLD_EXITED): Likewise.
45096 [POSIX || XPG3] (CLD_KILLED): Likewise.
45097 [POSIX || XPG3] (CLD_DUMPED): Likewise.
45098 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45099 [POSIX || XPG3] (CLD_STOPPED): Likewise.
45100 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45101 [POSIX || XPG3] (POLL_IN): Likewise.
45102 [POSIX || XPG3] (POLL_OUT): Likewise.
45103 [POSIX || XPG3] (POLL_MSG): Likewise.
45104 [POSIX || XPG3] (POLL_ERR): Likewise.
45105 [POSIX || XPG3] (POLL_PRI): Likewise.
45106 [POSIX || XPG3] (POLL_HUP): Likewise.
45107 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45108 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45109 (SIG*): Do not allow.
45110 [XPG3] (si_*): Likewise.
45111 [XPG3] (SI_*): Likewise.
45112 [XPG3 || XPG4] (sigev_*): Likewise.
45113 [XPG3 || XPG4] (SIGEV_*): Likewise.
45114 [XPG3 || XPG4] (sival_*): Likewise.
45115 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45116 [POSIX || XPG3] (BUS_*): Likewise.
45117 [POSIX || XPG3] (CLD_*): Likewise.
45118 [POSIX || XPG3] (FPE_*): Likewise.
45119 [POSIX || XPG3] (ILL_*): Likewise.
45120 [POSIX || XPG3] (POLL_*): Likewise.
45121 [POSIX || XPG3] (SEGV_*): Likewise.
45122 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45123 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45124 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45125 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45126 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45127 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45128 Specify type and value.
45129 (TVERSLEN): Likewise.
45130 (REGTYPE): Likewise.
45131 (AREGTYPE): Likewise.
45132 (LNKTYPE): Likewise.
45133 (SYMTYPE): Likewise.
45134 (CHRTYPE): Likewise.
45135 (BLKTYPE): Likewise.
45136 (DIRTYPE): Likewise.
45137 (FIFOTYPE): Likewise.
45138 (CONTTYPE): Likewise.
45139 (TSUID): Likewise.
45140 (TSGID): Likewise.
45141 (TSVTX): Likewise.
45142 (TUREAD): Likewise.
45143 (TUWRITE): Likewise.
45144 (TUEXEC): Likewise.
45145 (TGREAD): Likewise.
45146 (TGWRITE): Likewise.
45147 (TGEXEC): Likewise.
45148 (TOREAD): Likewise.
45149 (TOWRITE): Likewise.
45150 (TOEXEC): Likewise.
45151 [POSIX] (TSVTX): Expect constant.
45152
45153 2014-03-06 Joseph Myers <joseph@codesourcery.com>
45154
45155 * Makefile (tests): Change dependencies to ....
45156 (tests-special): ... additions to this variable.
45157 (tests): Depend on $(tests-special).
45158 * Makerules (check-abi-list): New variable.
45159 (check-abi): Depend on $(check-abi-list).
45160 [$(subdir) = elf] (tests-special): Add
45161 $(objpfx)check-abi-libc.out.
45162 [$(build-shared) = yes && subdir] (tests-special): Add
45163 $(check-abi-list).
45164 [$(build-shared) = yes && subdir] (tests): Do not depend on
45165 check-abi.
45166 * Rules (tests): Depend on $(tests-special).
45167 (xtests): Depend on $(xtests-special).
45168 * catgets/Makefile (tests): Change dependencies to ....
45169 (tests-special): ... additions to this variable.
45170 * conform/Makefile (tests): Change dependencies to ....
45171 (tests-special): ... additions to this variable.
45172 * elf/Makefile (tests): Change dependencies to ....
45173 (tests-special): ... additions to this variable.
45174 * grp/Makefile (tests): Change dependencies to ....
45175 (tests-special): ... additions to this variable.
45176 * iconv/Makefile (xtests): Change dependencies to ....
45177 (xtests-special): ... additions to this variable.
45178 * iconvdata/Makefile (tests): Change dependencies to ....
45179 (tests-special): ... additions to this variable.
45180 * intl/Makefile (tests): Change dependencies to ....
45181 (tests-special): ... additions to this variable. Also add
45182 $(objpfx)tst-gettext.out.
45183 * io/Makefile (tests): Change dependencies to ....
45184 (tests-special): ... additions to this variable.
45185 * libio/Makefile (tests): Change dependencies to ....
45186 (tests-special): ... additions to this variable.
45187 * malloc/Makefile (tests): Change dependencies to ....
45188 (tests-special): ... additions to this variable.
45189 * misc/Makefile (tests): Change dependencies to ....
45190 (tests-special): ... additions to this variable.
45191 * nptl/Makefile (tests): Change dependencies to ....
45192 (tests-special): ... additions to this variable.
45193 * nptl_db/Makefile (tests): Change dependencies to ....
45194 (tests-special): ... additions to this variable.
45195 * posix/Makefile (tests): Change dependencies to ....
45196 (tests-special): ... additions to this variable.
45197 (xtests): Change dependencies to ....
45198 (xtests-special): ... additions to this variable.
45199 * resolv/Makefile (tests): Change dependencies to ....
45200 (tests-special): ... additions to this variable.
45201 (xtests): Change dependencies to ....
45202 (xtests-special): ... additions to this variable.
45203 * stdio-common/Makefile (tests): Change dependencies to ....
45204 (tests-special): ... additions to this variable.
45205 (do-tst-unbputc): Remove target.
45206 (do-tst-printf): Likewise.
45207 * stdlib/Makefile (tests): Change dependencies to ....
45208 (tests-special): ... additions to this variable.
45209 * string/Makefile (tests): Change dependencies to ....
45210 (tests-special): ... additions to this variable.
45211 * sysdeps/x86/Makefile (tests): Change dependencies to ....
45212 (tests-special): ... additions to this variable.
45213
45214 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45215 whole file.
45216 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45217 whole file.
45218 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45219 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45220
45221 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45222 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45223 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45224 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45225 * conform/data/libgen.h-data [XPG3]: Likewise.
45226 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45227 * conform/data/ndbm.h-data [XPG3]: Likewise.
45228 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45229 * conform/data/netdb.h-data [XPG3]: Likewise.
45230 * conform/data/netinet/in.h-data [XPG3]: Likewise.
45231 * conform/data/poll.h-data [XPG3]: Likewise.
45232 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45233 * conform/data/strings.h-data [XPG3]: Likewise.
45234 * conform/data/stropts.h-data [XPG3]: Likewise.
45235 * conform/data/sys/mman.h-data [XPG3]: Likewise.
45236 * conform/data/sys/resource.h-data [XPG3]: Likewise.
45237 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45238 Likewise.
45239 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45240 * conform/data/sys/time.h-data [XPG3]: Likewise.
45241 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45242 * conform/data/sys/uio.h-data [XPG3]: Likewise.
45243 * conform/data/sys/un.h-data [XPG3]: Likewise.
45244 * conform/data/syslog.h-data [XPG3]: Likewise.
45245 * conform/data/ucontext.h-data [XPG3]: Likewise.
45246 * conform/data/utmpx.h-data [XPG3]: Likewise.
45247 * conform/data/varargs.h-data [UNIX98]: Enable file.
45248
45249 * manual/Makefile (INSTALL_INFO): Remove variable setting.
45250
45251 * math/libm-test.inc (struct test_f_f_data): Move expected results
45252 into structure for each rounding mode.
45253 (struct test_ff_f_data): Likewise.
45254 (struct test_ff_f_data_nexttoward): Likewise.
45255 (struct test_fi_f_data): Likewise.
45256 (struct test_fl_f_data): Likewise.
45257 (struct test_if_f_data): Likewise.
45258 (struct test_fff_f_data): Likewise.
45259 (struct test_c_f_data): Likewise.
45260 (struct test_f_f1_data): Likewise.
45261 (struct test_fF_f1_data): Likewise.
45262 (struct test_ffI_f1_data): Likewise.
45263 (struct test_c_c_data): Likewise.
45264 (struct test_cc_c_data): Likewise.
45265 (struct test_f_i_data): Likewise.
45266 (struct test_ff_i_data): Likewise.
45267 (struct test_f_l_data): Likewise.
45268 (struct test_f_L_data): Likewise.
45269 (struct test_fFF_11_data): Likewise.
45270 (RM_): New macro.
45271 (RM_FE_DOWNWARD): Likewise.
45272 (RM_FE_TONEAREST): Likewise.
45273 (RM_FE_TOWARDZERO): Likewise.
45274 (RM_FE_UPWARD): Likewise.
45275 (RUN_TEST_LOOP_f_f): Update references to expected results.
45276 (RUN_TEST_LOOP_2_f): Likewise.
45277 (RUN_TEST_LOOP_fff_f): Likewise.
45278 (RUN_TEST_LOOP_c_f): Likewise.
45279 (RUN_TEST_LOOP_f_f1): Likewise.
45280 (RUN_TEST_LOOP_fF_f1): Likewise.
45281 (RUN_TEST_LOOP_fI_f1): Likewise.
45282 (RUN_TEST_LOOP_ffI_f1): Likewise.
45283 (RUN_TEST_LOOP_c_c): Likewise.
45284 (RUN_TEST_LOOP_cc_c): Likewise.
45285 (RUN_TEST_LOOP_f_i): Likewise.
45286 (RUN_TEST_LOOP_f_i_tg): Likewise.
45287 (RUN_TEST_LOOP_ff_i_tg): Likewise.
45288 (RUN_TEST_LOOP_f_b): Likewise.
45289 (RUN_TEST_LOOP_f_b_tg): Likewise.
45290 (RUN_TEST_LOOP_f_l): Likewise.
45291 (RUN_TEST_LOOP_f_L): Likewise.
45292 (RUN_TEST_LOOP_fFF_11): Likewise.
45293 * math/gen-libm-test.pl (parse_args): Output four copies of
45294 expected results for each test.
45295
45296 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45297 (__ASSUME_UTIMES): Remove.
45298 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45299 (__ASSUME_UTIMES): Likewise.
45300
45301 * math/gen-auto-libm-tests.c: Update comment on output format.
45302 (output_for_one_input_case): Generate before-rounding and
45303 after-rounding information as conditions on output flags not
45304 floating-point format.
45305 * math/auto-libm-test-out: Regenerated.
45306 * math/gen-libm-test.pl (cond_value): New function.
45307 (or_cond_value): Use cond_value.
45308 (generate_testfile): Handle conditional exceptions.
45309
45310 2014-03-05 Joseph Myers <joseph@codesourcery.com>
45311
45312 * math/libm-test.inc (max_valid_error): New variable.
45313 (init_max_error): Take new argument specifying whether function
45314 results are exactly determined. Set max_valid_error and bound
45315 other variables for errors based on this argument.
45316 (set_max_error): Do not record results above max_valid_error.
45317 (check_float_internal): Only accept errors of up to 0.5ulps if
45318 also at most max_valid_error.
45319 (START): Take new argument EXACT and pass it to init_max_error.
45320 (acos_test): Update call to START.
45321 (acos_test_tonearest): Likewise.
45322 (acos_test_towardzero): Likewise.
45323 (acos_test_downward): Likewise.
45324 (acos_test_upward): Likewise.
45325 (acosh_test): Likewise.
45326 (asin_test): Likewise.
45327 (asin_test_tonearest): Likewise.
45328 (asin_test_towardzero): Likewise.
45329 (asin_test_downward): Likewise.
45330 (asin_test_upward): Likewise.
45331 (asinh_test): Likewise.
45332 (atan_test): Likewise.
45333 (atanh_test): Likewise.
45334 (atan2_test): Likewise.
45335 (cabs_test): Likewise.
45336 (cacos_test): Likewise.
45337 (cacosh_test): Likewise.
45338 (carg_test): Likewise.
45339 (casin_test): Likewise.
45340 (casinh_test): Likewise.
45341 (catan_test): Likewise.
45342 (catanh_test): Likewise.
45343 (cbrt_test): Likewise.
45344 (ccos_test): Likewise.
45345 (ccosh_test): Likewise.
45346 (ceil_test): Likewise.
45347 (cexp_test): Likewise.
45348 (cimag_test): Likewise.
45349 (clog_test): Likewise.
45350 (clog10_test): Likewise.
45351 (conj_test): Likewise.
45352 (copysign_test): Likewise.
45353 (cos_test): Likewise.
45354 (cos_test_tonearest): Likewise.
45355 (cos_test_towardzero): Likewise.
45356 (cos_test_downward): Likewise.
45357 (cos_test_upward): Likewise.
45358 (cosh_test): Likewise.
45359 (cosh_test_tonearest): Likewise.
45360 (cosh_test_towardzero): Likewise.
45361 (cosh_test_downward): Likewise.
45362 (cosh_test_upward): Likewise.
45363 (cpow_test): Likewise.
45364 (cproj_test): Likewise.
45365 (creal_test): Likewise.
45366 (csin_test): Likewise.
45367 (csinh_test): Likewise.
45368 (csqrt_test): Likewise.
45369 (ctan_test): Likewise.
45370 (ctan_test_tonearest): Likewise.
45371 (ctan_test_towardzero): Likewise.
45372 (ctan_test_downward): Likewise.
45373 (ctan_test_upward): Likewise.
45374 (ctanh_test): Likewise.
45375 (ctanh_test_tonearest): Likewise.
45376 (ctanh_test_towardzero): Likewise.
45377 (ctanh_test_downward): Likewise.
45378 (ctanh_test_upward): Likewise.
45379 (erf_test): Likewise.
45380 (erfc_test): Likewise.
45381 (exp_test): Likewise.
45382 (exp_test_tonearest): Likewise.
45383 (exp_test_towardzero): Likewise.
45384 (exp_test_downward): Likewise.
45385 (exp_test_upward): Likewise.
45386 (exp10_test): Likewise.
45387 (exp10_test_tonearest): Likewise.
45388 (exp10_test_towardzero): Likewise.
45389 (exp10_test_downward): Likewise.
45390 (exp10_test_upward): Likewise.
45391 (pow10_test): Likewise.
45392 (exp2_test): Likewise.
45393 (expm1_test): Likewise.
45394 (expm1_test_tonearest): Likewise.
45395 (expm1_test_towardzero): Likewise.
45396 (expm1_test_downward): Likewise.
45397 (expm1_test_upward): Likewise.
45398 (fabs_test): Likewise.
45399 (fdim_test): Likewise.
45400 (floor_test): Likewise.
45401 (fma_test): Likewise.
45402 (fma_test_towardzero): Likewise.
45403 (fma_test_downward): Likewise.
45404 (fma_test_upward): Likewise.
45405 (fmax_test): Likewise.
45406 (fmin_test): Likewise.
45407 (fmod_test): Likewise.
45408 (fpclassify_test): Likewise.
45409 (frexp_test): Likewise.
45410 (hypot_test): Likewise.
45411 (ilogb_test): Likewise.
45412 (isfinite_test): Likewise.
45413 (finite_test): Likewise.
45414 (isgreater_test): Likewise.
45415 (isgreaterequal_test): Likewise.
45416 (isinf_test): Likewise.
45417 (isless_test): Likewise.
45418 (islessequal_test): Likewise.
45419 (islessgreater_test): Likewise.
45420 (isnan_test): Likewise.
45421 (isnormal_test): Likewise.
45422 (issignaling_test): Likewise.
45423 (isunordered_test): Likewise.
45424 (j0_test): Likewise.
45425 (j1_test): Likewise.
45426 (jn_test): Likewise.
45427 (ldexp_test): Likewise.
45428 (lgamma_test): Likewise.
45429 (gamma_test): Likewise.
45430 (lrint_test): Likewise.
45431 (lrint_test_tonearest): Likewise.
45432 (lrint_test_towardzero): Likewise.
45433 (lrint_test_downward): Likewise.
45434 (lrint_test_upward): Likewise.
45435 (llrint_test): Likewise.
45436 (llrint_test_tonearest): Likewise.
45437 (llrint_test_towardzero): Likewise.
45438 (llrint_test_downward): Likewise.
45439 (llrint_test_upward): Likewise.
45440 (log_test): Likewise.
45441 (log10_test): Likewise.
45442 (log1p_test): Likewise.
45443 (log2_test): Likewise.
45444 (logb_test): Likewise.
45445 (logb_test_downward): Likewise.
45446 (lround_test): Likewise.
45447 (llround_test): Likewise.
45448 (modf_test): Likewise.
45449 (nearbyint_test): Likewise.
45450 (nextafter_test): Likewise.
45451 (nexttoward_test): Likewise.
45452 (pow_test): Likewise.
45453 (pow_test_tonearest): Likewise.
45454 (pow_test_towardzero): Likewise.
45455 (pow_test_downward): Likewise.
45456 (pow_test_upward): Likewise.
45457 (remainder_test): Likewise.
45458 (drem_test): Likewise.
45459 (remainder_test_tonearest): Likewise.
45460 (drem_test_tonearest): Likewise.
45461 (remainder_test_towardzero): Likewise.
45462 (drem_test_towardzero): Likewise.
45463 (remainder_test_downward): Likewise.
45464 (drem_test_downward): Likewise.
45465 (remainder_test_upward): Likewise.
45466 (drem_test_upward): Likewise.
45467 (remquo_test): Likewise.
45468 (rint_test): Likewise.
45469 (rint_test_tonearest): Likewise.
45470 (rint_test_towardzero): Likewise.
45471 (rint_test_downward): Likewise.
45472 (rint_test_upward): Likewise.
45473 (round_test): Likewise.
45474 (scalb_test): Likewise.
45475 (scalbn_test): Likewise.
45476 (scalbln_test): Likewise.
45477 (signbit_test): Likewise.
45478 (sin_test): Likewise.
45479 (sin_test_tonearest): Likewise.
45480 (sin_test_towardzero): Likewise.
45481 (sin_test_downward): Likewise.
45482 (sin_test_upward): Likewise.
45483 (sincos_test): Likewise.
45484 (sinh_test): Likewise.
45485 (sinh_test_tonearest): Likewise.
45486 (sinh_test_towardzero): Likewise.
45487 (sinh_test_downward): Likewise.
45488 (sinh_test_upward): Likewise.
45489 (sqrt_test): Likewise.
45490 (sqrt_test_tonearest): Likewise.
45491 (sqrt_test_towardzero): Likewise.
45492 (sqrt_test_downward): Likewise.
45493 (sqrt_test_upward): Likewise.
45494 (tan_test): Likewise.
45495 (tan_test_tonearest): Likewise.
45496 (tan_test_towardzero): Likewise.
45497 (tan_test_downward): Likewise.
45498 (tan_test_upward): Likewise.
45499 (tanh_test): Likewise.
45500 (tgamma_test): Likewise.
45501 (trunc_test): Likewise.
45502 (y0_test): Likewise.
45503 (y1_test): Likewise.
45504 (yn_test): Likewise.
45505 (significand_test): Likewise.
45506
45507 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45508 individual tests in comment.
45509 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45510 (prev_max_error): New variable.
45511 (prev_real_max_error): Likewise.
45512 (prev_imag_max_error): Likewise.
45513 (compare_ulp_data): Don't refer to test names in comment.
45514 (find_test_ulps): Remove function.
45515 (find_function_ulps): Likewise.
45516 (find_complex_function_ulps): Likewise.
45517 (init_max_error): Take function name as argument. Look up ulps
45518 for that function.
45519 (print_ulps): Remove function.
45520 (print_max_error): Use prev_max_error instead of calling
45521 find_function_ulps.
45522 (print_complex_max_error): Use prev_real_max_error and
45523 prev_imag_max_error instead of calling find_complex_function_ulps.
45524 (check_float_internal): Take max_ulp parameter instead of calling
45525 find_test_ulps. Don't call print_ulps.
45526 (check_float): Update call to check_float_internal.
45527 (check_complex): Update calls to check_float_internal.
45528 (START): Pass argument to init_max_error.
45529 * math/gen-libm-test.pl (%results): Don't include "kind"
45530 information.
45531 (parse_ulps): Don't handle ulps of individual tests.
45532 (print_ulps_file): Likewise.
45533 (output_ulps): Likewise.
45534 * math/README.libm-test: Update.
45535 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45536 individual tests.
45537 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45538 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45539 * sysdeps/arm/libm-test-ulps: Likewise.
45540 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45541 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45542 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45543 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45544 * sysdeps/microblaze/libm-test-ulps: Likewise.
45545 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45546 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45548 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45549 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45550 * sysdeps/sh/libm-test-ulps: Likewise.
45551 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45552 * sysdeps/tile/libm-test-ulps: Likewise.
45553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45554
45555 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45556
45557 * math/libm-test.inc (print_complex_max_error): Check separately
45558 whether real and imaginary errors are within allowed range and
45559 pass 0 to print_complex_function_ulps instead of value within
45560 allowed range.
45561
45562 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45563
45564 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45565 formatting.
45566 (get_handles_fopen): Likewise.
45567 (do_write_test): Likewise.
45568
45569 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45570
45571 * libio/fileops.c (do_ftell): Use cached offset when
45572 available.
45573 * libio/iofwide.c (do_ftell_wide): Likewise.
45574 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45575 _IO_file_attach.
45576 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45577
45578 [BZ #16532]
45579 * libio/libioP.h (get_file_offset): New function.
45580 * libio/fileops.c (get_file_offset): Likewise.
45581 (do_ftell): Likewise.
45582 (_IO_new_file_seekoff): Split out ftell logic.
45583 * libio/wfileops.c (do_ftell_wide): Likewise.
45584 (_IO_wfile_seekoff): Split out ftell logic.
45585 * libio/tst-ftell-active-handler.c: New test case.
45586 * libio/Makefile (tests): Add it.
45587
45588 2014-03-03 Roland McGrath <roland@hack.frob.com>
45589
45590 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45591 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45592
45593 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45594
45595 [BZ #16639]
45596 * nscd/connections.c (nscd_init): Call do_exit.
45597 (start_threads): Call do_exit and notify_parent.
45598 (begin_drop_privileges): Call do_exit.
45599 (finish_drop_privileges): Likewise.
45600 * nscd/selinux.c (preserve_capabilities): Likewise.
45601 (install_real_capabilities): Likewise.
45602 (nscd_selinux_enabled): Likewise.
45603 (avc_create_thread): Likewise.
45604 (avc_alloc_lock): Likewise.
45605 (nscd_avc_init): Likewise.
45606 * nscd/nscd.c (parent_fd): New static variable.
45607 (main): Create a pipe between parent and child processes.
45608 Skip closing parent_fd.
45609 (monitor_child): New function.
45610 (do_exit): Likewise.
45611 (notify_parent): Likewise.
45612 * nscd/nscd.h (notify_parent): Likewise.
45613 (do_exit): Likewise.
45614
45615 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45616
45617 * malloc/malloc.c (__libc_calloc): Revert last change.
45618
45619 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45620
45621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45622
45623 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45624
45625 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45627 implementation.
45628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45629 (__libc_ifunc_impl_list): Likewise.
45630 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45631 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45632 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45633 * string/strrchr.c: Define STRRCHR.
45634
45635 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45636
45637 * benchtest/bench-strtok.c (simple_strtok): Delete.
45638 (strtok_string): Use as benchmark.
45639 * string/strtok (STRTOK): New macro.
45640
45641 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45642
45643 * manual/threads.texi: Add header and standard comments to all
45644 functions.
45645
45646 * elf/dl-lookup.c (check_match): New function.
45647 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45648 (do_lookup_x): Remove nested function check_match. Use non-nested
45649 function check_match.
45650
45651 2014-02-28 Roland McGrath <roland@hack.frob.com>
45652
45653 * csu/Makefile (generated, before-compile): Use += rather than =.
45654 * catgets/Makefile (generated, generated-dirs): Likewise.
45655 * debug/Makefile (generated): Likewise.
45656 * dlfcn/Makefile (generated): Likewise.
45657 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45658 * iconvdata/Makefile (before-compile, generated): Likewise.
45659 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45660 * libio/Makefile (generated): Likewise.
45661 * malloc/Makefile (generated): Likewise.
45662 * manual/Makefile (generated, generated-dirs): Likewise.
45663 * misc/Makefile (generated): Likewise.
45664 * posix/Makefile (generated): Likewise.
45665 * resolv/Makefile (generated): Likewise.
45666 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45667 * timezone/Makefile (generated, generated-dirs): Likewise.
45668
45669 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45670
45671 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45672
45673 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45674 power8 implementation.
45675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45676 file: POWER8 llround ifunc implementation.
45677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45678 (__lllround): Add POWER8 implementation.
45679 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45680 POWER8 llround implementation.
45681
45682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45683 power8 implementation.
45684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45685 file: POWER8 llrint ifunc implementation.
45686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45687 Add POWER8 implementation.
45688 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45689 POWER8 llrint implementation.
45690
45691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45692 power8 implementation.
45693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45694 file: POWER8 finite ifunc implementation.
45695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45696 Add POWER8 implementation.
45697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45698 Likewise.
45699 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45700 POWER8 finite implementation.
45701 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45702
45703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45704 power8 implementation.
45705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45706 file: POWER8 isinf ifunc implementation.
45707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45708 POWER8 implementation.
45709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45710 Likewise.
45711 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45712 isinf implementation.
45713 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45714
45715 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45716 (INIT_ARCH): Add hwcap2 initialization.
45717 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45718 power8 implementation.
45719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45720 file: POWER8 isnan ifunc implementation.
45721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45722 POWER8 implementation.
45723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45724 Likewise.
45725 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45726 isnan implementation.
45727 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45728
45729 2014-02-27 Joey Ye <joey.ye@arm.com>
45730
45731 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45732 (_FP_NANFRAC_Q): Set to zero.
45733
45734 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45735
45736 [BZ #16623]
45737 * math/auto-libm-test-in: New test inputs.
45738 * math/auto-libm-test-out: Regenerate.
45739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45740 and DA.
45741 (__cos): Likewise.
45742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45743
45744 2014-02-27 Joseph Myers <joseph@codesourcery.com>
45745
45746 * scripts/evaluate-test.sh: Take new argument indicating whether
45747 failure is expected.
45748 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45749 indicating whether failure is expected.
45750 * conform/Makefile (test-xfail-run-conformtest): New variable.
45751 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45752 level.
45753 * posix/Makefile (test-xfail-annexc): New variable.
45754 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45755
45756 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45757
45758 * argp/Makefile: Include Makeconfig immediately after defining
45759 subdir.
45760 * assert/Makefile: Likewise.
45761 * benchtests/Makefile: Likewise.
45762 * catgets/Makefile: Likewise.
45763 * conform/Makefile: Likewise.
45764 * crypt/Makefile: Likewise.
45765 * csu/Makefile: Likewise.
45766 (all): Remove target.
45767 * ctype/Makefile: Include Makeconfig immediately after defining
45768 subdir.
45769 * debug/Makefile: Likewise.
45770 * dirent/Makefile: Likewise.
45771 * dlfcn/Makefile: Likewise.
45772 * gmon/Makefile: Likewise.
45773 * gnulib/Makefile: Likewise.
45774 * grp/Makefile: Likewise.
45775 * gshadow/Makefile: Likewise.
45776 * hesiod/Makefile: Likewise.
45777 * hurd/Makefile: Likewise.
45778 (all): Remove target.
45779 * iconvdata/Makefile: Include Makeconfig immediately after
45780 defining subdir.
45781 * inet/Makefile: Likewise.
45782 * intl/Makefile: Likewise.
45783 * io/Makefile: Likewise.
45784 * libio/Makefile: Likewise.
45785 (all): Remove target.
45786 * locale/Makefile: Include Makeconfig immediately after defining
45787 subdir.
45788 * login/Makefile: Likewise.
45789 * mach/Makefile: Likewise.
45790 (all): Remove target.
45791 * malloc/Makefile: Include Makeconfig immediately after defining
45792 subdir.
45793 (all): Remove target.
45794 * manual/Makefile: Include Makeconfig immediately after defining
45795 subdir.
45796 * math/Makefile: Likewise.
45797 * misc/Makefile: Likewise.
45798 * nis/Makefile: Likewise.
45799 * nss/Makefile: Likewise.
45800 * po/Makefile: Likewise.
45801 (all): Remove target.
45802 * posix/Makefile: Include Makeconfig immediately after defining
45803 subdir.
45804 * pwd/Makefile: Likewise.
45805 * resolv/Makefile: Likewise.
45806 * resource/Makefile: Likewise.
45807 * rt/Makefile: Likewise.
45808 * setjmp/Makefile: Likewise.
45809 * shadow/Makefile: Likewise.
45810 * signal/Makefile: Likewise.
45811 * socket/Makefile: Likewise.
45812 * soft-fp/Makefile: Likewise.
45813 * stdio-common/Makefile: Likewise.
45814 * stdlib/Makefile: Likewise.
45815 * streams/Makefile: Likewise.
45816 * string/Makefile: Likewise.
45817 * sunrpc/Makefile: Likewise.
45818 (all): Remove target.
45819 * sysvipc/Makefile: Include Makeconfig immediately after defining
45820 subdir.
45821 * termios/Makefile: Likewise.
45822 * time/Makefile: Likewise.
45823 * timezone/Makefile: Likewise.
45824 (all): Remove target.
45825 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45826 subdir.
45827 * wctype/Makefile: Likewise.
45828
45829 2014-02-26 Steve Ellcey <sellcey@mips.com>
45830
45831 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45832 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45833 (libc_feholdexcept_setround_mips): Ditto.
45834 (libc_feholdsetround): New.
45835 (libc_feholdsetroundf): New.
45836 (libc_feholdsetroundl): New.
45837 (libc_feupdateenv_test_mips): New.
45838 (libc_feupdateenv_test): New.
45839 (libc_feupdateenv_testf): New.
45840 (libc_feupdateenv_testl): New.
45841 (libc_feresetround): New.
45842 (libc_feresetroundf): New.
45843 (libc_feresetroundl): New.
45844 (libc_fetestexcept_mips): New.
45845 (libc_fetestexcept): New.
45846 (libc_fetestexceptf): New.
45847 (libc_fetestexceptl): New.
45848 (HAVE_RM_CTX): New.
45849 (libc_feholdexcept_setround_mips_ctx): New.
45850 (libc_feholdexcept_setround_ctx): New.
45851 (libc_feholdexcept_setroundf_ctx): New.
45852 (libc_feholdexcept_setroundl_ctx): New.
45853 (libc_fesetenv_mips_ctx): New.
45854 (libc_fesetenv_ctx): New.
45855 (libc_fesetenv_ctxf): New.
45856 (libc_fesetenv_ctxl): New.
45857 (libc_feupdateenv_mips_ctx): New.
45858 (libc_feupdateenv_ctx): New.
45859 (libc_feupdateenvf_ctx): New.
45860 (libc_feupdateenvl_ctx): New.
45861 (libc_feholdsetround_mips_ctx): New.
45862 (libc_feholdsetround_ctx): New.
45863 (libc_feholdsetroundf_ctx): New.
45864 (libc_feholdsetroundl_ctx): New.
45865 (libc_feresetround_mips_ctx): New.
45866 (libc_feresetround_ctx): New.
45867 (libc_feresetroundf_ctx): New.
45868 (libc_feresetroundl_ctx): New.
45869
45870 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45871
45872 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45873
45874 * manual/ipc.texi: New file.
45875 * manual/Makefile (chapters): Add ipc.
45876 * manual/job.texi: Add "Inter-Process Communication" to next.
45877 * manual/process.texi: Add "Inter-Process Communication" to prev.
45878
45879 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45880
45881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45882
45883 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45884
45885 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45886
45887 * manual/arith.texi: Fix spaces after sentences.
45888 * manual/charset.texi: Likewise.
45889 * manual/errno.texi: Likewise.
45890 * manual/install.texi: Likewise.
45891 * manual/llio.texi: Likewise.
45892 * manual/locale.texi: Likewise.
45893 * manual/maint.texi: Likewise.
45894 * manual/math.texi: Likewise.
45895 * manual/memory.texi: Likewise.
45896 * manual/message.texi: Likewise.
45897 * manual/probes.texi: Likewise.
45898 * manual/resource.texi: Likewise.
45899 * manual/signal.texi: Likewise.
45900 * manual/socket.texi: Likewise.
45901 * manual/stdio.texi: Likewise.
45902 * manual/string.texi: Likewise.
45903 * manual/time.texi: Likewise.
45904 * manual/users.texi: Likewise.
45905
45906 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45907
45908 [BZ #16632]
45909 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45910 _DEFAULT_SOURCE is defined.
45911
45912 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45913 Carlos O'Donell <carlos@redhat.com>
45914
45915 [BZ #16613]
45916 * elf/dl-tls.c (_dl_count_modids): New function.
45917 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45918 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45919 audit library and increment generation counter.
45920 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45921 * elf/tst-audit9.c: New file.
45922 * elf/tst-auditmod9a.c: New file.
45923 * elf/tst-auditmod9b.c: New file.
45924 * elf/Makefile: Add rules to build and run tst-audit9.
45925
45926 2014-02-25 Florian Weimer <fweimer@redhat.com>
45927
45928 [BZ #15347]
45929 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45930
45931 2014-02-25 Will Newton <will.newton@linaro.org>
45932
45933 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45934 (__longjmp): Restore sp and lr before restoring callee
45935 saved registers. Add longjmp and longjmp_target
45936 SystemTap probe point.
45937 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45938 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45939 Define to zero to match jmpbuf layout.
45940 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45941 (__sigsetjmp): Save sp and lr before saving callee
45942 saved registers. Add setjmp SystemTap probe point.
45943
45944 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45945
45946 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45947
45948 2014-02-24 Andreas Schwab <schwab@suse.de>
45949
45950 [BZ #15804]
45951 * elf/pldd.c (wait_for_ptrace_stop): New function.
45952 (main): Call it after attaching.
45953
45954 2014-02-22 Roland McGrath <roland@hack.frob.com>
45955
45956 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45957 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45958 Versions files is now verboten.
45959 * hurd/Versions (libc: GLIBC_2.0):
45960 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45961 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45962 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45963 * mach/Versions: Likewise.
45964
45965 * csu/Versions: Remove unused %include.
45966 * resolv/Versions: Likewise.
45967
45968 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45969
45970 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45971 ($(objpfx)check-local-headers.out): Likewise.
45972 ($(objpfx)begin-end-check.out): Likewise.
45973 * Makerules (check-abi-%.out): Likewise.
45974 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45975 ($(objpfx)test2.cat): Likewise.
45976 ($(objpfx)de/libc.cat): Likewise.
45977 ($(objpfx)test-gencat.out): Likewise.
45978 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45979 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45980 ($(objpfx)noload-mem): Likewise.
45981 ($(objpfx)tst-pathopt.out): Likewise.
45982 ($(objpfx)tst-rtld-load-self.out): Likewise.
45983 ($(objpfx)tst-array1-cmp.out): Likewise.
45984 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45985 ($(objpfx)tst-array2-cmp.out): Likewise.
45986 ($(objpfx)tst-array3-cmp.out): Likewise.
45987 ($(objpfx)tst-array4-cmp.out): Likewise.
45988 ($(objpfx)tst-array5-cmp.out): Likewise.
45989 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45990 ($(objpfx)check-textrel.out): Likewise.
45991 ($(objpfx)check-execstack.out): Likewise.
45992 ($(objpfx)check-localplt.out): Likewise.
45993 ($(objpfx)order2-cmp.out): Likewise.
45994 ($(objpfx)tst-leaks1-mem): Likewise.
45995 ($(objpfx)tst-leaks1-static-mem): Likewise.
45996 ($(objpfx)tst-initorder-cmp.out): Likewise.
45997 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45998 ($(objpfx)tst-unused-dep.out): Likewise.
45999 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46000 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46001 * iconv/Makefile (test-iconvconfig): Likewise.
46002 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46003 ($(objpfx)iconv-test.out): Likewise.
46004 ($(objpfx)tst-tables.out): Likewise.
46005 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46006 ($(objpfx)tst-gettext.out): Likewise.
46007 ($(objpfx)tst-translit.out): Likewise.
46008 ($(objpfx)tst-gettext2.out): Likewise.
46009 ($(objpfx)tst-gettext4.out): Likewise.
46010 ($(objpfx)tst-gettext6.out): Likewise.
46011 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46012 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46013 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46014 ($(objpfx)tst-fopenloc-mem.out): Likewise.
46015 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46016 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46017 * posix/Makefile ($(objpfx)globtest.out): Likewise.
46018 ($(objpfx)wordexp-tst.out): Likewise.
46019 ($(objpfx)annexc.out): Likewise.
46020 ($(objpfx)tst-fnmatch-mem): Likewise.
46021 ($(objpfx)bug-regex2-mem): Likewise.
46022 ($(objpfx)bug-regex14-mem): Likewise.
46023 ($(objpfx)bug-regex21-mem): Likewise.
46024 ($(objpfx)bug-regex31-mem): Likewise.
46025 ($(objpfx)tst-vfork3-mem): Likewise.
46026 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46027 ($(objpfx)tst-pcre-mem): Likewise.
46028 ($(objpfx)tst-boost-mem): Likewise.
46029 ($(objpfx)tst-getconf.out): Likewise.
46030 ($(objpfx)bug-ga2-mem): Likewise.
46031 ($(objpfx)bug-glob2-mem): Likewise.
46032 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46033 ($(objpfx)mtrace-tst-leaks2): Likewise.
46034 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46035 ($(objpfx)tst-printf.out): Likewise.
46036 ($(objpfx)tst-setvbuf1.out): Likewise.
46037 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46038 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46039 ($(objpfx)tst-fmtmsg.out): Likewise.
46040 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46041 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46042
46043 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46044 * bits/sigaction.h [__USE_MISC]: Likewise.
46045 * bits/waitstatus.h: Update #endif comments.
46046 * ctype/ctype.h: Likewise.
46047 * dirent/dirent.h: Likewise.
46048 [__USE_MISC]: Remove redundant conditionals.
46049 * grp/grp.h: Update #endif comments.
46050 [__USE_GNU]: Remove redundant conditionals.
46051 [__USE_MISC]: Likewise.
46052 * inet/netinet/in.h [__USE_GNU]: Likewise.
46053 * io/sys/stat.h [__USE_MISC]: Likewise.
46054 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46055 * libio/bits/stdio.h: Update #endif comments.
46056 [__USE_MISC]: Remove redundant conditionals.
46057 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46058 * libio/stdio.h: Update #endif comments.
46059 [__USE_MISC]: Remove redundant conditionals.
46060 * math/bits/math-finite.h [__USE_MISC]: Likewise.
46061 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46062 * math/math.h: Update #else and #endif comments.
46063 [__USE_MISC]: Remove redundant conditionals.
46064 * misc/sys/uio.h: Update #endif comments.
46065 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46066 * posix/glob.h [__USE_MISC]: Likewise.
46067 * posix/sys/types.h: Update #endif comments.
46068 [__USE_MISC]: Remove redundant conditionals.
46069 * posix/sys/wait.h: Update #endif comments.
46070 [__USE_MISC]: Remove redundant conditionals.
46071 * posix/unistd.h: Update #endif comments.
46072 [__USE_MISC]: Remove redundant conditionals.
46073 * pwd/pwd.h [__USE_GNU]: Likewise.
46074 [__USE_MISC]: Likewise.
46075 * resolv/netdb.h [__USE_GNU]: Likewise.
46076 * signal/signal.h: Update #endif comments.
46077 [__USE_MISC]: Remove redundant conditionals.
46078 * stdlib/stdlib.h: Update #else and #endif comments.
46079 [__USE_MISC]: Remove redundant conditionals.
46080 [__USE_GNU]: Likewise.
46081 * string/bits/string2.h [__USE_MISC]: Likewise.
46082 * string/string.h: Update #endif comments.
46083 [__USE_MISC]: Remove redundant conditionals.
46084 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46085 Likewise.
46086 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46087 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46088 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46089 Likewise.
46090 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46091 Likewise.
46092 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46093 comments.
46094 [__USE_MISC]: Remove redundant conditionals.
46095 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46096 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46097 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46098 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46099 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46100 Likewise.
46101 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46102 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46103 Likewise.
46104 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46105 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46106 Likewise.
46107 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46108 Likewise.
46109 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46110 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46111 Likewise.
46112 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46113 Likewise.
46114 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46115 * sysdeps/x86/bits/string.h: Update #endif comments.
46116 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46117 conditionals.
46118 * time/sys/time.h: Update #endif comments.
46119 * time/time.h: Likewise.
46120 [__USE_MISC]: Remove redundant conditionals.
46121
46122 2014-02-21 Yury Gribov <y.gribov@samsung.com>
46123
46124 [BZ #16600]
46125 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46126
46127 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
46128
46129 * Versions.def (librt): Add GLIBC_2.17.
46130
46131 2014-02-21 Adam Conrad <adconrad@0c3.net>
46132
46133 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46134 synonym for _SYS_AUXV_H to allow direct inclusion.
46135 * sysdeps/sparc/bits/hwcap.h: Likewise.
46136 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46137 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46138 * sysdeps/sparc/sysdep.h: Likewise.
46139
46140 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46141
46142 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46143
46144 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46145
46146 * benchtests/bench-strrchr.c: Print length instead of position.
46147
46148 2014-02-20 Joseph Myers <joseph@codesourcery.com>
46149
46150 [BZ #16611]
46151 * sysdeps/unix/sysv/linux/kernel-features.h
46152 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46153 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46154 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46155 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46156 Likewise.
46157 [__i386__ || __powerpc__ || __sh__ || __sparc__]
46158 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46159 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46160 (__ASSUME_SENDMMSG): Define instead of using previous
46161 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46162 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46163 (__ASSUME_SENDMMSG_SYSCALL): Define.
46164 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46165 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46166 Likewise.
46167 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46168 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46169 Likewise.
46170 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46171 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46172 Likewise.
46173 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46174 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46175 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46176 [__ASSUME_SENDMMSG]: Change conditionals to
46177 [__ASSUME_SENDMMSG_SOCKETCALL].
46178 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46179 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46180 Define.
46181 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46182 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46183 Likewise.
46184 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46185 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46186 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46187 [!__ASSUME_SENDMMSG]: Change conditional to
46188 [!__ASSUME_SENDMMSG_SOCKETCALL].
46189 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46190 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46191 Define.
46192
46193 [BZ #16610]
46194 * sysdeps/unix/sysv/linux/kernel-features.h
46195 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46196 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46197 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46198 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46199 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46200 [__i386__ || __sparc__]
46201 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46202 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46203 (__ASSUME_RECVMMSG): Define instead of using previous
46204 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46205 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46206 (__ASSUME_RECVMMSG_SYSCALL): Define.
46207 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46208 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46209 Likewise.
46210 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46211 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46212 Likewise.
46213 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46215 Likewise.
46216 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46217 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46218 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46219 [__ASSUME_RECVMMSG]: Change condition to
46220 [__ASSUME_RECVMMSG_SOCKETCALL].
46221 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46222 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46223 Define.
46224 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46225 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46227 Likewise.
46228 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46229 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46230 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46231 [!__ASSUME_RECVMMSG]: Change condition to
46232 [!__ASSUME_RECVMMSG_SOCKETCALL].
46233 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46234 (__ASSUME_RECVMMSG_SYSCALL): Define.
46235
46236 [BZ #16609]
46237 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46238 __powerpc__ || __s390__ || __sh__ || __sparc__]
46239 (__ASSUME_SOCKETCALL): Define.
46240 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46241 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46242 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46243 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46244 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46245 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46246 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46247 (__ASSUME_ACCEPT4): Define instead of using previous
46248 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46249 __powerpc__ || __sparc__ || __s390__)] condition.
46250 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46251 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46252 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46253 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46254 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46255 [!__ASSUME_ACCEPT4]: Change condition to
46256 [!__ASSUME_ACCEPT4_SOCKETCALL].
46257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46258 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
46259 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46260 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46261 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46262 __ASSUME_ACCEPT4_SYSCALL.
46263 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46264 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46265 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46266 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46267 __ASSUME_ACCEPT4_SYSCALL.
46268 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46269 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46270 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46271 [__ASSUME_ACCEPT4]: Change condition to
46272 [__ASSUME_ACCEPT4_SOCKETCALL].
46273 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46274 (__ASSUME_SOCKETCALL): Define.
46275 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46276 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46277 (__ASSUME_SOCKETCALL): Define.
46278 (__ASSUME_ACCEPT4): Remove.
46279 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46280 Define.
46281 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46282 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46283 Likewise.
46284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46285 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46286
46287 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46288 macro.
46289 (HWCAP_ARM_LPAE): Likewise.
46290 (HWCAP_ARM_EVTSTRM): Likewise.
46291 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46292 Add vpfd32, lpae and evtstrm.
46293 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46294 Increase to 22.
46295
46296 2014-02-19 Joseph Myers <joseph@codesourcery.com>
46297
46298 * math/auto-libm-test-in: Add tests of clog10.
46299 * math/auto-libm-test-out: Regenerated.
46300 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46301 * sysdeps/i386/fpu/libm-test-ulps: Update.
46302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46303
46304 2014-02-18 Andreas Schwab <schwab@suse.de>
46305
46306 [BZ #16574]
46307 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46308 Store non-zero if the second buffer was newly allocated.
46309 (send_dg): Likewise.
46310 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46311 to send_vc and send_dg.
46312 (res_nsend): Pass NULL for ansp2_malloced.
46313 * resolv/res_query.c (__libc_res_nquery): Add parameter
46314 answerp2_malloced and pass it down to __libc_res_nsend.
46315 (res_nquery): Pass additional NULL to __libc_res_nquery.
46316 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46317 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46318 second answer buffer if answerp2_malloced was set.
46319 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46320 (__libc_res_nquerydomain): Add parameter
46321 answerp2_malloced and pass it down to __libc_res_nquery.
46322 (res_nquerydomain): Pass additional NULL to
46323 __libc_res_nquerydomain.
46324 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46325 additional NULL to __libc_res_nsend and __libc_res_nquery.
46326 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46327 additional NULL to __libc_res_nsearch.
46328 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46329 parameter of __libc_res_nsearch to check for separately allocated
46330 second buffer.
46331 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46332 __libc_res_nquery.
46333 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46334 additional NULL to __libc_res_nquery.
46335 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46336 __libc_res_nsearch.
46337 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46338 * include/resolv.h: Update prototypes of __libc_res_nquery,
46339 __libc_res_nsearch, __libc_res_nsend.
46340
46341 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46342
46343 * math/auto-libm-test-in: Add tests of fma.
46344 * math/auto-libm-test-out: Regenerated.
46345 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46346 (fma_towardzero_test_data): Likewise.
46347 (fma_downward_test_data): Likewise.
46348 (fma_upward_test_data): Likewise.
46349 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46350 mpc_mode.
46351 (rounding_modes): Add values for new field.
46352 (func_calc_method): Add value mpfr_fff_f.
46353 (func_calc_desc): Add mpfr_fff_f union field.
46354 (test_function): Add field exact_args.
46355 (FUNC): Add macro argument EXACT_ARGS.
46356 (FUNC_mpfr_f_f): Update call to FUNC.
46357 (FUNC_mpfr_f_f): Likewise.
46358 (FUNC_mpfr_ff_f): Likewise.
46359 (FUNC_mpfr_if_f): Likewise.
46360 (FUNC_mpc_c_f): Likewise.
46361 (FUNC_mpc_c_c): Likewise.
46362 (test_functions): Add fma. Update calls to FUNC.
46363 (handle_input_arg): Add argument exact_args.
46364 (add_test): Update call to handle_input_arg.
46365 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46366 (output_for_one_input_case): Update call to calc_generic_results.
46367 Recalculate exact zero results in each rounding mode.
46368
46369 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46370 non-negative before setting low bit.
46371 * math/auto-libm-test-in: Mark one asin test possibly having
46372 spurious underflow.
46373 * math/auto-libm-test-out: Regenerated.
46374 * sysdeps/i386/fpu/libm-test-ulps: Update.
46375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46376
46377 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46378
46379 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46380 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46381 ports/sysdeps/unix/sysv/linux/microblaze.
46382 * README: Add missing listing for microblaze*-*-linux-gnu.
46383
46384 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46385
46386 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46387 duplicate code
46388
46389 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46390
46391 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46392 * sysdeps/unix/sysv/linux/ia64: Move directory from
46393 ports/sysdeps/unix/sysv/linux/ia64.
46394 * README: Update listing for ia64-*-linux-gnu.
46395
46396 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46397 Joseph Myers <joseph@codesourcery.com>
46398
46399 * Makeconfig (test-name): New variable.
46400 (evaluate-test): Likewise.
46401 * Makerules (do-test-clean): Remove .test-result files.
46402 (common-mostlyclean): Likewise.
46403 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46404 * scripts/evaluate-test.sh: New file.
46405
46406 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46407
46408 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46409 separate $(objpfx)tst-fopenloc-cmp.out and
46410 $(objpfx)tst-fopenloc-mem.out targets.
46411 (tests): Update dependencies.
46412 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46413 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46414 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46415 (tst-rxspencer-no-utf8-ARGS): New variable.
46416 (tst-rxspencer-no-utf8-ENV): Likewise.
46417 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46418 instead of $(objpfx)tst-rxspencer-mem.
46419 ($(objpfx)tst-rxspencer-mem): Change target to
46420 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46421 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46422 * posix/tst-rxspencer-no-utf8.c: New file.
46423
46424 * elf/Makefile ($(objpfx)order.out): Remove rule.
46425 [$(run-built-tests) = yes] (tests): Depend on
46426 $(objpfx)order-cmp.out.
46427 ($(objpfx)order-cmp.out): New rule.
46428 [$(run-built-tests) = yes] (tests): Depend on
46429 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46430 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46431 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46432 $(objpfx)tst-array5-static-cmp.out.
46433 ($(objpfx)tst-array1.out): Remove rule.
46434 ($(objpfx)tst-array1-cmp.out): New rule.
46435 ($(objpfx)tst-array1-static.out): Remove rule.
46436 ($(objpfx)tst-array1-static-cmp.out): New rule.
46437 ($(objpfx)tst-array2.out): Remove rule.
46438 ($(objpfx)tst-array2-cmp.out): New rule.
46439 ($(objpfx)tst-array3.out): Remove rule.
46440 ($(objpfx)tst-array3-cmp.out): New rule.
46441 ($(objpfx)tst-array4.out): Remove rule.
46442 ($(objpfx)tst-array4-cmp.out): New rule.
46443 ($(objpfx)tst-array5.out): Remove rule.
46444 ($(objpfx)tst-array5-cmp.out): New rule.
46445 ($(objpfx)tst-array5-static.out): Remove rule.
46446 ($(objpfx)tst-array5-static-cmp.out): New rule.
46447 [$(run-built-tests) = yes] (tests): Depend on
46448 $(objpfx)order2-cmp.out.
46449 ($(objpfx)order2.out): Remove rule.
46450 ($(objpfx)order2-cmp.out): New rule.
46451 ($(objpfx)tst-initorder.out): Remove rule.
46452 [$(run-built-tests) = yes] (tests): Depend on
46453 $(objpfx)tst-initorder-cmp.out.
46454 ($(objpfx)tst-initorder-cmp.out): New rule.
46455 ($(objpfx)tst-initorder2.out): Remove rule.
46456 [$(run-built-tests) = yes] (tests): Depend on
46457 $(objpfx)tst-initorder2-cmp.out.
46458 ($(objpfx)tst-initorder2-cmp.out): New rule.
46459 [$(run-built-tests) = yes] (tests): Depend on
46460 $(objpfx)tst-unused-dep-cmp.out.
46461 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46462 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46463 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46464 on $(objpfx)tst-setvbuf1-cmp.out.
46465 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46466 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46467 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46468 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46469 ($(objpfx)tst-svc.out): Remove rule.
46470 ($(objpfx)tst-svc-cmp.out): New rule.
46471
46472 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46473
46474 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46475 * ctype/ctype.h [__USE_MISC]: Likewise.
46476 * dirent/dirent.h [__USE_MISC]: Likewise.
46477 * grp/grp.h [__USE_MISC]: Likewise.
46478 * io/fcntl.h [__USE_MISC]: Likewise.
46479 * io/sys/stat.h [__USE_MISC]: Likewise.
46480 * libio/stdio.h [__USE_MISC]: Likewise.
46481 * posix/unistd.h [__USE_MISC]: Likewise.
46482 * pwd/pwd.h [__USE_MISC]: Likewise.
46483 * stdlib.h [__USE_MISC]: Likewise.
46484 * string/bits/string2.h [__USE_MISC]: Likewise.
46485 * string/string.h [__USE_MISC]: Likewise.
46486 * time/time.h [__USE_MISC]: Likewise.
46487
46488 2014-02-13 Andreas Schwab <schwab@suse.de>
46489
46490 [BZ #16574]
46491 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46492 second answer buffer if it was separately allocated.
46493
46494 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46495
46496 * sysdeps/mips/math-tests.h: Include <features.h>.
46497 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46498 (ROUNDING_TESTS_long_double): Do not define.
46499 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46500 (EXCEPTION_TESTS_long_double): Likewise.
46501 * sysdeps/mips/mips64/libm-test-ulps: Update.
46502
46503 * include/features.h (__USE_BSD): Remove macro definitions.
46504 (__USE_SVID): Likewise.
46505 (_BSD_SOURCE): Likewise.
46506 (_SVID_SOURCE): Likewise.
46507 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46508 from definition of _DEFAULT_SOURCE.
46509 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46510 [_DEFAULT_SOURCE].
46511 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46512 * bits/mman.h [__USE_BSD]: Likewise.
46513 * bits/termios.h [__USE_BSD]: Likewise.
46514 * bits/waitstatus.h [__USE_BSD]: Likewise.
46515 * ctype/ctype.h [__USE_SVID]: Likewise.
46516 * dirent/dirent.h [__USE_BSD]: Likewise.
46517 * grp/grp.h [__USE_SVID]: Likewise.
46518 [__USE_BSD]: Likewise.
46519 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46520 * io/fcntl.h [__USE_BSD]: Likewise.
46521 * io/ftw.h [__USE_BSD]: Likewise.
46522 * io/sys/stat.h [__USE_BSD]: Likewise.
46523 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46524 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46525 * libio/stdio.h [__USE_SVID]: Likewise.
46526 [__USE_BSD]: Likewise.
46527 * math/math.h [__USE_SVID]: Likewise.
46528 [__USE_BSD]: Likewise.
46529 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46530 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46531 * misc/search.h [__USE_SVID]: Likewise.
46532 * misc/sys/mman.h [__USE_BSD]: Likewise.
46533 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46534 * misc/sys/uio.h [__USE_BSD]: Likewise.
46535 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46536 * posix/glob.h [__USE_BSD]: Likewise.
46537 * posix/regex.h [__USE_BSD]: Likewise.
46538 * posix/sys/types.h [__USE_BSD]: Likewise.
46539 [__USE_SVID]: Likewise.
46540 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46541 * posix/sys/wait.h [__USE_BSD]: Likewise.
46542 [__USE_SVID]: Likewise.
46543 * posix/unistd.h [__USE_BSD]: Likewise.
46544 [__USE_SVID]: Likewise.
46545 * pwd/pwd.h [__USE_SVID]: Likewise.
46546 * resolv/netdb.h [__USE_BSD]: Likewise.
46547 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46548 * signal/signal.h [__USE_BSD]: Likewise.
46549 [__USE_SVID]: Likewise.
46550 * socket/sys/socket.h [__USE_BSD]: Likewise.
46551 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46552 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46553 [__USE_SVID]: Likewise.
46554 * string/bits/string2.h [__USE_BSD]: Likewise.
46555 [__USE_SVID]: Likewise.
46556 * string/bits/string3.h [__USE_BSD]: Likewise.
46557 * string/endian.h [__USE_BSD]: Likewise.
46558 * string/string.h [__USE_SVID]: Likewise.
46559 [__USE_BSD]: Likewise.
46560 * string/strings.h [__USE_BSD]: Likewise.
46561 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46562 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46563 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46564 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46565 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46566 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46567 Likewise.
46568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46569 Likewise.
46570 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46571 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46572 Likewise.
46573 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46574 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46575 Likewise.
46576 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46577 Likewise.
46578 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46579 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46580 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46581 Likewise.
46582 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46583 Likewise.
46584 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46585 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46586 * termios/termios.h [__USE_BSD]: Likewise.
46587 * time/sys/time.h [__USE_BSD]: Likewise.
46588 * time/time.h [__USE_BSD]: Likewise.
46589 [__USE_SVID]: Likewise.
46590
46591 * Makefile (subdir_targets): Remove subdir_lint.out.
46592
46593 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46594 (do-tst-printf): Likewise.
46595 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46596 $(objpfx)tst-printf.out.
46597
46598 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46599
46600 * Makerules (check-abi-%): Change target to
46601 $(objpfx)check-abi-%.out.
46602 (check-abi target): Update dependencies.
46603 (check-abi-pattern variable): Redirect output of diff to $@.
46604 (check-abi variable): Likewise.
46605 * elf/Makefile (check-abi): Update dependencies.
46606
46607 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46608 unused.
46609 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46610 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46611 subnormal range.
46612 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46613 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46614 value has largest subnormal exponent.
46615 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46616 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46617 * sysdeps/aarch64/soft-fp/sfp-machine.h
46618 (_FP_TININESS_AFTER_ROUNDING): New macro.
46619 * sysdeps/alpha/soft-fp/sfp-machine.h
46620 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46621 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46622 Likewise.
46623 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46624 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46625 * sysdeps/mips/soft-fp/sfp-machine.h
46626 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46627 * sysdeps/powerpc/soft-fp/sfp-machine.h
46628 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46629 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46630 Likewise.
46631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46632 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46633 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46634 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46635 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46636 Likewise.
46637
46638 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46639
46640 [BZ #16545]
46641 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46642 model 1.
46643
46644 2014-02-12 Richard Henderson <rth@redhat.com>
46645
46646 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46647 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46648 * sysdeps/unix/sysv/linux/alpha: Move directory from
46649 ports/sysdeps/unix/sysv/linux/alpha.
46650 * README: Update listing for alpha-*-linux-gnu.
46651
46652 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46653
46654 * include/features.h: Update comment documenting feature test
46655 macros.
46656 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46657 _DEFAULT_SOURCE.
46658 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46659 (_SVID_SOURCE): Likewise.
46660 (_DEFAULT_SOURCE): Update description of default features.
46661 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46662 with _GNU_SOURCE.
46663 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46664 (S_ISVTX): Likewise.
46665 * manual/math.texi (Mathematical Constants): Likewise.
46666 * manual/signal.texi (Interrupted Primitives): Likewise.
46667 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46668 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46669 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46670 Don't refer to _SVID_SOURCE in warning text.
46671
46672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46673
46674 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46675 already defined.
46676 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46677 * sysdeps/mips/dl-lookup.c: Remove.
46678 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46679
46680 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46681
46682 [BZ #16447]
46683 * math/auto-libm-test-in: Add testcase for expl.
46684 * math/auto-libm-test-out: Regenerate.
46685 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46686 calculation of unsafe.
46687 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46688
46689 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46690
46691 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46692 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46693 ports/sysdeps/unix/sysv/linux/aarch64.
46694 * README: Update listing for aarch64*-*-linux-gnu.
46695
46696 2014-02-11 Will Newton <will.newton@linaro.org>
46697
46698 * manual/probes.texi (Mathematical Function Probes): Use
46699 "triggered" instead of "hit".
46700
46701 * manual/probes.texi (Internal Probes): Add documentation
46702 of setjmp, longjmp and longjmp_target probes.
46703
46704 * include/stap-probe.h: Add comment about probe argument
46705 format.
46706
46707 * malloc/mtrace.c (attribute_hidden): Remove unused macro
46708 definition. (tr_where, tr_freehook, tr_mallochook,
46709 tr_reallochook, tr_memalignhook): Use ANSI protoype.
46710
46711 2014-02-11 David S. Miller <davem@davemloft.net>
46712
46713 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46714 processing int_tests.
46715
46716 2014-02-10 Joseph Myers <joseph@codesourcery.com>
46717
46718 * sysdeps/mips: Move directory from ports/sysdeps/mips.
46719 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46720 * sysdeps/unix/sysv/linux/mips: Move directory from
46721 ports/sysdeps/unix/sysv/linux/mips.
46722 * README: Update listing for mips-*-linux-gnu and
46723 mips64-*-linux-gnu.
46724
46725 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
46726
46727 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46728 * sysdeps/unix/sysv/linux/m68k: Move directory from
46729 ports/sysdeps/unix/sysv/linux/m68k.
46730 * README: Update listing for m68k-*-linux-gnu.
46731
46732 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
46733
46734 * sysdeps/tile: Move directory from ports/sysdeps/tile.
46735 * sysdeps/unix/sysv/linux/generic: Move directory from
46736 ports/sysdeps/unix/sysv/linux/generic.
46737 * sysdeps/unix/sysv/linux/tile: Move directory from
46738 ports/sysdeps/unix/sysv/linux/tile.
46739 * README: Update listing for tile*-*-linux-gnu.
46740
46741 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
46742
46743 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46744 __builtin_expect.
46745 * benchtests/bench-memmem.c (simple_memmem): Likewise.
46746 * catgets/open_catalog.c (__open_catalog): Likewise.
46747 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46748 * debug/confstr_chk.c: Likewise.
46749 * debug/fread_chk.c (__fread_chk): Likewise.
46750 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46751 * debug/getgroups_chk.c: Likewise.
46752 * debug/mbsnrtowcs_chk.c: Likewise.
46753 * debug/mbsrtowcs_chk.c: Likewise.
46754 * debug/mbstowcs_chk.c: Likewise.
46755 * debug/memcpy_chk.c: Likewise.
46756 * debug/memmove_chk.c: Likewise.
46757 * debug/mempcpy_chk.c: Likewise.
46758 * debug/memset_chk.c: Likewise.
46759 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46760 * debug/strcat_chk.c (__strcat_chk): Likewise.
46761 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46762 * debug/strncat_chk.c (__strncat_chk): Likewise.
46763 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46764 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46765 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46766 * debug/wcpncpy_chk.c: Likewise.
46767 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46768 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46769 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46770 * debug/wcsncpy_chk.c: Likewise.
46771 * debug/wcsnrtombs_chk.c: Likewise.
46772 * debug/wcsrtombs_chk.c: Likewise.
46773 * debug/wcstombs_chk.c: Likewise.
46774 * debug/wmemcpy_chk.c: Likewise.
46775 * debug/wmemmove_chk.c: Likewise.
46776 * debug/wmempcpy_chk.c: Likewise.
46777 * debug/wmemset_chk.c: Likewise.
46778 * dirent/scandirat.c (SCANDIRAT): Likewise.
46779 * dlfcn/dladdr1.c (dladdr1): Likewise.
46780 * dlfcn/dladdr.c (dladdr): Likewise.
46781 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46782 * dlfcn/dlerror.c (__dlerror): Likewise.
46783 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46784 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46785 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46786 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46787 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46788 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46789 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46790 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46791 Likewise.
46792 * elf/dl-conflict.c: Likewise.
46793 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46794 * elf/dl-dst.h: Likewise.
46795 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46796 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46797 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46798 * elf/dl-init.c (call_init, _dl_init): Likewise.
46799 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46800 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46801 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46802 Likewise.
46803 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46804 Likewise.
46805 * elf/dl-minimal.c (__libc_memalign): Likewise.
46806 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46807 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46808 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46809 * elf/dl-sym.c (do_sym): Likewise.
46810 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46811 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46812 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46813 * elf/dl-writev.h (_dl_writev): Likewise.
46814 * elf/ldconfig.c (search_dir): Likewise.
46815 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46816 (dl_main): Likewise.
46817 * elf/setup-vdso.h (setup_vdso): Likewise.
46818 * grp/compat-initgroups.c (compat_call): Likewise.
46819 * grp/fgetgrent.c (fgetgrent): Likewise.
46820 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46821 * grp/putgrent.c (putgrent): Likewise.
46822 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46823 Likewise.
46824 * hurd/hurdinit.c: Likewise.
46825 * iconvdata/8bit-gap.c (struct): Likewise.
46826 * iconvdata/ansi_x3.110.c : Likewise.
46827 * iconvdata/big5.c : Likewise.
46828 * iconvdata/big5hkscs.c : Likewise.
46829 * iconvdata/cp1255.c: Likewise.
46830 * iconvdata/cp1258.c : Likewise.
46831 * iconvdata/cp932.c : Likewise.
46832 * iconvdata/euc-cn.c: Likewise.
46833 * iconvdata/euc-jisx0213.c : Likewise.
46834 * iconvdata/euc-jp.c: Likewise.
46835 * iconvdata/euc-jp-ms.c : Likewise.
46836 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46837 * iconvdata/gb18030.c : Likewise.
46838 * iconvdata/gbbig5.c (const): Likewise.
46839 * iconvdata/gbgbk.c: Likewise.
46840 * iconvdata/gbk.c : Likewise.
46841 * iconvdata/ibm1364.c : Likewise.
46842 * iconvdata/ibm930.c : Likewise.
46843 * iconvdata/ibm932.c: Likewise.
46844 * iconvdata/ibm933.c : Likewise.
46845 * iconvdata/ibm935.c : Likewise.
46846 * iconvdata/ibm937.c : Likewise.
46847 * iconvdata/ibm939.c : Likewise.
46848 * iconvdata/ibm943.c: Likewise.
46849 * iconvdata/iso_11548-1.c: Likewise.
46850 * iconvdata/iso-2022-cn.c : Likewise.
46851 * iconvdata/iso-2022-cn-ext.c : Likewise.
46852 * iconvdata/iso-2022-jp-3.c: Likewise.
46853 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46854 * iconvdata/iso-2022-kr.c : Likewise.
46855 * iconvdata/iso646.c (gconv_end): Likewise.
46856 * iconvdata/iso_6937-2.c : Likewise.
46857 * iconvdata/iso_6937.c : Likewise.
46858 * iconvdata/iso8859-1.c: Likewise.
46859 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46860 * iconvdata/shift_jisx0213.c : Likewise.
46861 * iconvdata/sjis.c : Likewise.
46862 * iconvdata/t.61.c : Likewise.
46863 * iconvdata/tcvn5712-1.c : Likewise.
46864 * iconvdata/tscii.c: Likewise.
46865 * iconvdata/uhc.c : Likewise.
46866 * iconvdata/unicode.c (gconv_end): Likewise.
46867 * iconvdata/utf-16.c (gconv_end): Likewise.
46868 * iconvdata/utf-32.c (gconv_end): Likewise.
46869 * iconvdata/utf-7.c (base64): Likewise.
46870 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46871 * iconv/gconv_close.c (__gconv_close): Likewise.
46872 * iconv/gconv_open.c (__gconv_open): Likewise.
46873 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46874 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46875 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46876 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46877 (ucs4le_internal_loop_single): Likewise.
46878 * iconv/iconv.c (iconv): Likewise.
46879 * iconv/iconv_close.c: Likewise.
46880 * iconv/loop.c (SINGLE): Likewise.
46881 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46882 * include/atomic.h: Likewise.
46883 * inet/inet6_option.c (option_alloc): Likewise.
46884 * intl/bindtextdom.c (set_binding_values): Likewise.
46885 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46886 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46887 * intl/localealias.c (read_alias_file): Likewise.
46888 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46889 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46890 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46891 * libio/fmemopen.c (fmemopen): Likewise.
46892 * libio/iofgets.c (_IO_fgets): Likewise.
46893 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46894 * libio/iofgetws.c (fgetws): Likewise.
46895 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46896 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46897 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46898 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46899 * locale/findlocale.c (_nl_find_locale): Likewise.
46900 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46901 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46902 Likewise.
46903 * locale/setlocale.c (setlocale): Likewise.
46904 * login/programs/pt_chown.c (main): Likewise.
46905 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46906 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46907 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46908 (mmap, mmap64, mremap, munmap): Likewise.
46909 * math/e_exp2l.c: Likewise.
46910 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46911 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46912 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46913 * math/s_catan.c (__catan): Likewise.
46914 * math/s_catanf.c (__catanf): Likewise.
46915 * math/s_catanh.c (__catanh): Likewise.
46916 * math/s_catanhf.c (__catanhf): Likewise.
46917 * math/s_catanhl.c (__catanhl): Likewise.
46918 * math/s_catanl.c (__catanl): Likewise.
46919 * math/s_ccosh.c (__ccosh): Likewise.
46920 * math/s_ccoshf.c (__ccoshf): Likewise.
46921 * math/s_ccoshl.c (__ccoshl): Likewise.
46922 * math/s_cexp.c (__cexp): Likewise.
46923 * math/s_cexpf.c (__cexpf): Likewise.
46924 * math/s_cexpl.c (__cexpl): Likewise.
46925 * math/s_clog10.c (__clog10): Likewise.
46926 * math/s_clog10f.c (__clog10f): Likewise.
46927 * math/s_clog10l.c (__clog10l): Likewise.
46928 * math/s_clog.c (__clog): Likewise.
46929 * math/s_clogf.c (__clogf): Likewise.
46930 * math/s_clogl.c (__clogl): Likewise.
46931 * math/s_csin.c (__csin): Likewise.
46932 * math/s_csinf.c (__csinf): Likewise.
46933 * math/s_csinh.c (__csinh): Likewise.
46934 * math/s_csinhf.c (__csinhf): Likewise.
46935 * math/s_csinhl.c (__csinhl): Likewise.
46936 * math/s_csinl.c (__csinl): Likewise.
46937 * math/s_csqrt.c (__csqrt): Likewise.
46938 * math/s_csqrtf.c (__csqrtf): Likewise.
46939 * math/s_csqrtl.c (__csqrtl): Likewise.
46940 * math/s_ctan.c (__ctan): Likewise.
46941 * math/s_ctanf.c (__ctanf): Likewise.
46942 * math/s_ctanh.c (__ctanh): Likewise.
46943 * math/s_ctanhf.c (__ctanhf): Likewise.
46944 * math/s_ctanhl.c (__ctanhl): Likewise.
46945 * math/s_ctanl.c (__ctanl): Likewise.
46946 * math/w_pow.c: Likewise.
46947 * math/w_powf.c: Likewise.
46948 * math/w_powl.c: Likewise.
46949 * math/w_scalb.c (sysv_scalb): Likewise.
46950 * math/w_scalbf.c (sysv_scalbf): Likewise.
46951 * math/w_scalbl.c (sysv_scalbl): Likewise.
46952 * misc/error.c (error_tail): Likewise.
46953 * misc/pselect.c (__pselect): Likewise.
46954 * nis/nis_callback.c (__nis_create_callback): Likewise.
46955 * nis/nis_call.c (__nisfind_server): Likewise.
46956 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46957 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46958 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46959 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46960 * nis/nis_lookup.c (nis_lookup): Likewise.
46961 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46962 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46963 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46964 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46965 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46966 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46967 * nis/nss_compat/compat-initgroups.c (add_group)
46968 (internal_getgrent_r): Likewise.
46969 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46970 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46971 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46972 (internal_getspnam_r): Likewise.
46973 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46974 (_nss_nis_getaliasbyname_r): Likewise.
46975 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46976 (_nss_nis_getntohost_r): Likewise.
46977 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46978 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46979 (_nss_nis_getgrgid_r): Likewise.
46980 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46981 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46982 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46983 (_nss_nis_gethostbyname4_r): Likewise.
46984 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46985 (initgroups_netid): Likewise.
46986 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46987 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46988 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46989 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46990 (_nss_nis_getprotobynumber_r): Likewise.
46991 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46992 (_nss_nis_getsecretkey): Likewise.
46993 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46994 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46995 (_nss_nis_getpwuid_r): Likewise.
46996 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46997 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46998 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46999 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47000 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47001 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47002 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47003 Likewise.
47004 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47005 (_nss_nisplus_getntohost_r): Likewise.
47006 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47007 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47008 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47009 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47010 Likewise.
47011 * nis/nss_nisplus/nisplus-initgroups.c
47012 (_nss_nisplus_initgroups_dyn): Likewise.
47013 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47014 (_nss_nisplus_getnetbyaddr_r): Likewise.
47015 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47016 (_nss_nisplus_getprotobynumber_r): Likewise.
47017 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47018 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47019 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47020 Likewise.
47021 * nis/nss_nisplus/nisplus-service.c
47022 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47023 (_nss_nisplus_getservbyport_r): Likewise.
47024 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47025 (_nss_nisplus_getspnam_r): Likewise.
47026 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47027 Likewise.
47028 * nscd/aicache.c (addhstaiX): Likewise.
47029 * nscd/cache.c (cache_search, prune_cache): Likewise.
47030 * nscd/connections.c (register_traced_file, send_ro_fd)
47031 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47032 (main_loop_epoll): Likewise.
47033 * nscd/grpcache.c (addgrbyX): Likewise.
47034 * nscd/hstcache.c (addhstbyX): Likewise.
47035 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47036 * nscd/mem.c (gc, mempool_alloc): Likewise.
47037 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47038 (addinnetgrX): Likewise.
47039 * nscd/nscd-client.h (__nscd_acquire_maplock)
47040 (__nscd_drop_map_ref): Likewise.
47041 * nscd/nscd_getai.c (__nscd_getai): Likewise.
47042 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47043 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47044 Likewise.
47045 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47046 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47047 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47048 (__nscd_get_map_ref): Likewise.
47049 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47050 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47051 Likewise.
47052 * nscd/pwdcache.c (addpwbyX): Likewise.
47053 * nscd/selinux.c (preserve_capabilities): Likewise.
47054 * nscd/servicescache.c (addservbyX): Likewise.
47055 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47056 * posix/fnmatch.c (fnmatch): Likewise.
47057 * posix/getopt.c (_getopt_internal_r): Likewise.
47058 * posix/glob.c (glob, glob_in_dir): Likewise.
47059 * posix/wordexp.c (exec_comm_child): Likewise.
47060 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47061 (getanswer_r, gaih_getanswer_slice): Likewise.
47062 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47063 * resolv/res_init.c: Likewise.
47064 * resolv/res_mkquery.c (res_nmkquery): Likewise.
47065 * resolv/res_query.c (__libc_res_nquery): Likewise.
47066 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47067 Likewise.
47068 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47069 * stdio-common/perror.c (perror): Likewise.
47070 * stdio-common/printf_fp.c (___printf_fp): Likewise.
47071 * stdio-common/tmpnam.c (tmpnam): Likewise.
47072 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47073 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47074 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47075 Likewise.
47076 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47077 * stdlib/putenv.c (putenv): Likewise.
47078 * stdlib/setenv.c (__add_to_environ): Likewise.
47079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47080 * stdlib/strtol_l.c (INTERNAL): Likewise.
47081 * string/memmem.c (memmem): Likewise.
47082 * string/strerror.c (strerror): Likewise.
47083 * string/strnlen.c (__strnlen): Likewise.
47084 * string/test-memmem.c (simple_memmem): Likewise.
47085 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47086 * sunrpc/pm_getport.c (__get_socket): Likewise.
47087 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47088 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47089 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47090 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47091 Likewise.
47092 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47093 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47094 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47095 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47096 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47097 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47098 Likewise.
47099 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47100 Likewise.
47101 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47102 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47104 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47105 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47107 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47108 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47109 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47110 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47111 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47112 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47113 Likewise.
47114 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47115 Likewise.
47116 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47117 Likewise.
47118 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47119 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47120 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47121 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47122 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47123 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47124 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47127 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47128 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47130 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47131 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47133 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47134 Likewise.
47135 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47136 Likewise.
47137 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47138 Likewise.
47139 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47140 Likewise.
47141 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47143 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47144 Likewise.
47145 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47146 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47147 * sysdeps/posix/opendir.c (__opendirat): Likewise.
47148 * sysdeps/posix/sleep.c: Likewise.
47149 * sysdeps/posix/tempname.c: Likewise.
47150 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47151 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47152 Likewise.
47153 * sysdeps/powerpc/powerpc32/dl-machine.h
47154 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47155 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47156 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47157 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47158 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47159 Likewise.
47160 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47161 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47162 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47163 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47164 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47165 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47166 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47167 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47169 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47171 (elf_machine_lazy_rel): Likewise.
47172 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47174 (elf_machine_lazy_rel): Likewise.
47175 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47176 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47177 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47178 * sysdeps/unix/grantpt.c (grantpt): Likewise.
47179 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47180 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47181 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47183 Likewise.
47184 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47185 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47186 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47187 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47188 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47189 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47190 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47191 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47192 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47193 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47194 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47195 Likewise.
47196 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47197 (__posix_fallocate64_l64): Likewise.
47198 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47199 (posix_fallocate): Likewise.
47200 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47201 Likewise.
47202 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47203 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47204 (getifaddrs_internal): Likewise.
47205 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47206 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47207 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47208 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47209 * sysdeps/unix/sysv/linux/posix_fallocate64.c
47210 (__posix_fallocate64_l64): Likewise.
47211 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47212 Likewise.
47213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47214 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47215 (__get_clockfreq): Likewise.
47216 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47217 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47218 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47219 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47221 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47222 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47223 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47224 Likewise.
47225 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47226 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47227 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47228 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47229 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47230 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47231 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47232 Likewise.
47233 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47234 (posix_fallocate): Likewise.
47235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47236 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47237 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47238 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47239 (elf_machine_rela, elf_machine_rela_relative)
47240 (elf_machine_lazy_rel): Likewise.
47241 * time/asctime.c (asctime_internal): Likewise.
47242 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47243 * time/tzset.c (__tzset_parse_tz): Likewise.
47244 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47245 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47246 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47247 * wcsmbs/wcsmbsload.h: Likewise.
47248
47249 [BZ #15894]
47250 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47251
47252 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47253 (arena_get2): Remove THREAD_STATS conditionals.
47254 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47255 (__malloc_stats, int): Likewise.
47256
47257 2014-02-08 Mike Frysinger <vapier@gentoo.org>
47258
47259 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47260 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
47261
47262 * manual/setjmp.texi: Fix typos/grammar errors.
47263
47264 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47265 Only return early when n is <= 0. Delete unused return statement.
47266
47267 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47268 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47269 * debug/tst-longjmp_chk3.c: New file.
47270
47271 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47272 (test_main): Replace code with set_fortify_handler call.
47273 * debug/test-strcpy_chk.c: Likewise.
47274 * debug/tst-chk1.c: Likewise.
47275 * debug/tst-longjmp_chk.c: Likewise.
47276 * test-skeleton.c: Include fcntl.h & paths.h
47277 (set_fortify_handler): Define.
47278
47279 * debug/tst-longjmp_chk.c: Add header comment and include
47280 ../test-skeleton.c.
47281 (do_test): Mark static.
47282 (TEST_FUNCTION): Define.
47283
47284 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47285 (IP_PMTUDISC_INTERFACE): Likewise.
47286 (IP_MULTICAST_IF): Likewise.
47287 (IP_MULTICAST_TTL): Likewise.
47288 (IP_MULTICAST_LOOP): Likewise.
47289 (IP_ADD_MEMBERSHIP): Likewise.
47290 (IP_DROP_MEMBERSHIP): Likewise.
47291 (IP_UNBLOCK_SOURCE): Likewise.
47292 (IP_BLOCK_SOURCE): Likewise.
47293 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47294 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47295 (IP_MSFILTER): Likewise.
47296 (MCAST_JOIN_GROUP): Likewise.
47297 (MCAST_BLOCK_SOURCE): Likewise.
47298 (MCAST_UNBLOCK_SOURCE): Likewise.
47299 (MCAST_LEAVE_GROUP): Likewise.
47300 (MCAST_JOIN_SOURCE_GROUP): Likewise.
47301 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47302 (MCAST_MSFILTER): Likewise.
47303 (IP_MULTICAST_ALL): Likewise.
47304 (IP_UNICAST_IF): Likewise.
47305
47306 * timezone/Makefile: Delete $(have-ksh) check.
47307 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47308 * timezone/tzselect.ksh: Add +x mode bits.
47309
47310 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47311 (ANON_INODE_FS_MAGIC): Likewise.
47312 (BDEVFS_MAGIC): Likewise.
47313 (BINFMTFS_MAGIC): Likewise.
47314 (BTRFS_TEST_MAGIC): Likewise.
47315 (CRAMFS_MAGIC_WEND): Likewise.
47316 (DEBUGFS_MAGIC): Likewise.
47317 (ECRYPTFS_SUPER_MAGIC): Likewise.
47318 (EXT3_SUPER_MAGIC): Likewise.
47319 (EXT4_SUPER_MAGIC): Likewise.
47320 (FUTEXFS_SUPER_MAGIC): Likewise.
47321 (HOSTFS_SUPER_MAGIC): Likewise.
47322 (HUGETLBFS_MAGIC): Likewise.
47323 (MINIX3_SUPER_MAGIC): Likewise.
47324 (MTD_INODE_FS_MAGIC): Likewise.
47325 (NILFS_SUPER_MAGIC): Likewise.
47326 (OPENPROM_SUPER_MAGIC): Likewise.
47327 (PIPEFS_MAGIC): Likewise.
47328 (PSTOREFS_MAGIC): Likewise.
47329 (QNX6_SUPER_MAGIC): Likewise.
47330 (RAMFS_MAGIC): Likewise.
47331 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47332 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47333 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47334 (SECURITYFS_MAGIC): Likewise.
47335 (SELINUX_MAGIC): Likewise.
47336 (SMACK_MAGIC): Likewise.
47337 (SOCKFS_MAGIC): Likewise.
47338 (SQUASHFS_MAGIC): Likewise.
47339 (STACK_END_MAGIC): Likewise.
47340 (TMPFS_MAGIC): Likewise.
47341 (USBDEVICE_SUPER_MAGIC): Likewise.
47342 (V9FS_MAGIC): Likewise.
47343 (XENFS_SUPER_MAGIC): Likewise.
47344 (CRAMFS_MAGIC): Fix typo in comment.
47345 (EXT2_SUPER_MAGIC): Update comment.
47346 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47347
47348 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47349
47350 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47351 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47352 * sysdeps/unix/sysv/linux/arm: Move directory from
47353 ports/sysdeps/unix/sysv/linux/arm.
47354 * README: Update listing for arm-*-linux-gnueabi.
47355
47356 * README: Remove mention of am33.
47357
47358 2014-02-07 Roland McGrath <roland@hack.frob.com>
47359
47360 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47361 than the comma operator, to avoid "rhs of comma has no effect"
47362 compiler warnings.
47363 (__sigfillset, __sigandset, __sigorset): Likewise.
47364 * include/signal.h (__sigemptyset): Likewise.
47365 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47366
47367 2014-02-07 Allan McRae <allan@archlinux.org>
47368
47369 * version.h (RELEASE): Set to "development".
47370 (VERSION): Set to "2.19.90"
47371 * NEWS: Add 2.20 section.
47372
47373 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47374
47375 [BZ #16529]
47376 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47377
47378 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47379
47380 * manual/contrib.texi: Update entry for Carlos O'Donell,
47381 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47382
47383 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47384
47385 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47386
47387 * sysdeps/unix/sysv/linux/kernel-features.h
47388 [__LINUX_KERNEL_VERSION >= 0x020621]
47389 (__ASSUME_PROC_PID_TASK_COMM): Define.
47390
47391 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47392
47393 [BZ #16398]
47394 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47395 conversion when destination buffer does not have enough space.
47396 * libio/tst-ftell-partial-wide.c: New test case.
47397 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47398
47399 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47400 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47401 Leonard and Allan McRae.
47402
47403 2014-02-04 David S. Miller <davem@davemloft.net>
47404
47405 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47406 32-bit.
47407
47408 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47409
47410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47411 New file
47412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47413 New file
47414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47415 New file.
47416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47417 New file.
47418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47419 New file.
47420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47421 New file.
47422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47423 New file.
47424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47425 New file.
47426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47427 New file.
47428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47429 New file.
47430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47431 New file.
47432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47433 New file.
47434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47435 New file.
47436
47437 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47438
47439 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47440 * shlib-versions: Likewise.
47441
47442 2014-02-04 Roland McGrath <roland@hack.frob.com>
47443 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47444
47445 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47446 (abilist-pattern): New variable, set to %-le.abilist.
47447
47448 * Makerules (abilist-pattern): New variable.
47449 (vpath): Use $(abilist-pattern) in place of %.abilist.
47450 (check-abi-% pattern rule): Likewise.
47451 (check-abi, update-abi): Likewise.
47452
47453 2014-02-04 Eric Wong <normalperson@yhbt.net>
47454
47455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47456
47457 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47458
47459 * manual/startup.texi: Add next, previous, and top entries for
47460 the `Program Arguments' and `Environment Variables' nodes.
47461
47462 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47463
47464 * manual/macros.texi: Add comments before MTASC-safety macros.
47465
47466 * manual/users.texi: Document MTASC-safety properties.
47467
47468 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47469 (pthread_getspecific, pthread_setspecific): Format with
47470 @deftypefun, and add @safety note.
47471 * manual/signal.texi: Move comments that analyze the above
47472 functions to their home place.
47473
47474 2014-02-03 Allan McRae <allan@archlinux.org>
47475
47476 * po/sl.po: Update Slovenian translation from translation project.
47477
47478 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47479
47480 * manual/time.texi (timegm): Add missing blank after @c.
47481 Reported by Joseph Myers <joseph@codesourcery.com>.
47482
47483 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47484
47485 * manual/check-safety.sh: New.
47486 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47487
47488 * manual/terminal.texi: Document MTASC-safety properties.
47489
47490 * manual/filesys.texi: Document MTASC-safety properties.
47491
47492 * manual/errno.texi: Document MTASC-safety properties.
47493
47494 * manual/intro.texi: Document safety identifiers and
47495 conditionals.
47496
47497 * manual/string.texi (wcstok): Fix prototype.
47498 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47499
47500 * manual/time.texi: Document MTASC-safety properties.
47501
47502 * manual/string.texi: Document MTASC-safety properties.
47503
47504 * manual/threads.texi: Document MTASC-safety properties.
47505
47506 * manual/stdio.texi: Document MTASC-safety properties.
47507
47508 * manual/syslog.texi: Document MTASC-safety properties.
47509
47510 * manual/sysinfo.texi: Document MTASC-safety properties.
47511
47512 * manual/startup.texi: Document MTASC-safety properties.
47513
47514 * manual/socket.texi: Document MTASC-safety properties.
47515
47516 * manual/signal.texi: Document MTASC-safety properties.
47517
47518 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47519
47520 * manual/setjmp.texi: Document MTASC-safety properties.
47521
47522 * manual/search.texi: Document MTASC-safety properties.
47523
47524 * manual/resource.texi: Document MTASC-safety properties.
47525
47526 * manual/process.texi: Document MTASC-safety properties.
47527
47528 * manual/platform.texi: Document MTASC-safety properties.
47529
47530 * manual/pipe.texi: Document MTASC-safety properties.
47531
47532 * manual/pattern.texi: Document MTASC-safety properties.
47533
47534 * manual/message.texi: Document MTASC-safety properties.
47535
47536 [BZ #12751]
47537 * manual/memory.texi: Document MTASC-safety properties.
47538
47539 * manual/math.texi: Document MTASC-safety properties.
47540
47541 * manual/locale.texi: Document MTASC-safety properties.
47542
47543 * manual/llio.texi: Document MTASC-safety properties.
47544
47545 * manual/libdl.texi: New.
47546
47547 * manual/lang.texi: Document MTASC-safety properties.
47548
47549 * manual/job.texi: Document MTASC-safety properties.
47550
47551 * manual/getopt.texi: Document MTASC-safety properties.
47552
47553 * manual/ctype.texi: Document MTASC-safety properties.
47554
47555 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47556
47557 [BZ #16046]
47558 * csu/libc-tls.c (static_map): Remove variable.
47559 (__libc_setup_tls): Use main executable's link map for TLS data.
47560 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47561 casing for LM_ID_BASE and GL(dl_nns).
47562 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47563 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47564 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47565 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47566 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47567 member.
47568 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47569 l_phnum members.
47570
47571 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47572
47573 * manual/debug.texi: Document MTASC-safety properties.
47574
47575 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47576
47577 [BZ #16510]
47578 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47579 of __x86_64__ when disabling x87 inline functions.
47580
47581 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47582
47583 * manual/charset.texi: Document MTASC-safety properties.
47584
47585 * manual/crypt.texi: Document MTASC-safety properties.
47586
47587 * manual/conf.texi: Document MTASC-safety properties.
47588
47589 * manual/arith.texi: Document MTASC-safety properties.
47590
47591 * manual/argp.texi: Document MTASC-safety properties.
47592
47593 * manual/macros.texi: Introduce macros to document multi
47594 thread, asynchronous signal and asynchronous cancellation
47595 safety properties.
47596 * manual/intro.texi: Introduce the properties themselves.
47597
47598 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47599
47600 * sysdeps/sh/sh4/Makefile: New file.
47601
47602 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47603
47604 * math/gen-libm-test.pl ($srcdir): New variable.
47605 ($auto_input): Use it.
47606
47607 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47608
47609 [BZ #16506]
47610 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47611 access beyond array bounds when parsing netgroups file.
47612
47613 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47614 the old buffer before realloc.
47615
47616 2014-01-27 Allan McRae <allan@archlinux.org>
47617
47618 * po/fr.po: Update French translation from translation project.
47619
47620 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47621
47622 * sysdeps/sh/libm-test-ulps: Regenerate.
47623
47624 2014-01-24 David S. Miller <davem@davemloft.net>
47625
47626 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47627
47628 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47629
47630 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47631 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47632
47633 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47634
47635 [BZ #16474]
47636 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47637 string pointers after reallocation.
47638
47639 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47640
47641 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47642 __SH4A__ instead of __SH_FPU_ANY__.
47643
47644 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47645
47646 * sysdeps/sh/fpu_control.h: New file.
47647 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47648 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47649 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47650 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47651 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47652 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47653 * sysdeps/sh/sys/ucontext.h: Remove.
47654 * sysdeps/sh/sys: Remove directory.
47655
47656 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47657
47658 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47659 s390/sys/ucontext.h.
47660 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47661 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47662
47663 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47664
47665 [BZ #15605]
47666 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47667
47668 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47669
47670 [BZ#16431]
47671 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47672 Adjust the vDSO correctly for internal calls.
47673 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47674
47675 2014-01-20 Allan McRae <allan@archlinux.org>
47676
47677 * po/ca.po: Update Catalan translation from translation project.
47678
47679 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47680
47681 * sysdeps/s390/sotruss-lib.c: New file.
47682
47683 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47684
47685 [BZ#16430]
47686 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47687 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47688 local calls issues by not having a PLT stub required for IFUNC calls.
47689 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47690
47691 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47692
47693 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47694 * math/test-fpucw-static.c: Likewise.
47695
47696 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47697
47698 [BZ #16453]
47699 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47700
47701 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47702
47703 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47704 implementation for powerpc.
47705
47706 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
47707
47708 [BZ #14782]
47709 * sysdeps/posix/system.c (__libc_system): Do not enable
47710 asynchronous cancellation.
47711
47712 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47713
47714 [BZ #16427]
47715 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47716 handling only for numbers special also in the IEEE case.
47717
47718 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47719
47720 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47721
47722 2014-01-11 Allan McRae <allan@archlinux.org>
47723
47724 * po/bg.po: Update Bulgarian translation from translation project.
47725
47726 * po/de.po: Update German translation from translation project.
47727
47728 2014-01-10 Roland McGrath <roland@hack.frob.com>
47729
47730 * sysdeps/generic/gcc-compat.h: New file.
47731
47732 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47733
47734 * benchtests/asin-inputs: Correct slow inputs.
47735 * benchtests/acos-inputs: Likewise.
47736
47737 2014-01-10 Allan McRae <allan@archlinux.org>
47738
47739 * po:sv.po: Update Swedish translation from translation project.
47740
47741 * po/vi.po: Update Vietnamese translation from translation project.
47742
47743 * po/eo.po: Update Esperanto translation from translation project.
47744
47745 * po/cs.po: Update Czech translation from translation project.
47746
47747 * po/nl.po: Update Dutch translation from translation project.
47748
47749 * po/pl.po: Update Polish translation from translation project.
47750
47751 * po/ru.po: Update Russian translation from translation project.
47752
47753 * po/uk.po: Update Ukrainian translation from translation project.
47754
47755 2014-01-08 Brooks Moses <bmoses@google.com>
47756
47757 * elf/dl-load.c: Fix comment typo.
47758
47759 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47760
47761 * po/header.pot: Rename to...
47762 * po/pot.header: ... this.
47763 * po/Makefile: Use pot.header.
47764
47765 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47766 Maxim Kuvyrkov <maxim@kugelworks.com>
47767
47768 [BZ #16394]
47769 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47770 SRC and DEST against LEN.
47771
47772 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47773
47774 [BZ #16414]
47775 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47776 implementation.
47777 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47778
47779 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47780
47781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47782
47783 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47784
47785 [BZ #16408]
47786 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47787 for large positive arguments.
47788
47789 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47790
47791 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47792
47793 * math/auto-libm-test-in: Mark various tests with
47794 xfail-rounding:ldbl-128ibm.
47795 * math/auto-libm-test-out: Regenerated.
47796
47797 [BZ #16407]
47798 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47799 Increase overflow threshold.
47800
47801 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47802
47803 [BZ #14286]
47804 * stdio-common/vfprintf.c: Check for integer overflow.
47805
47806 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47807
47808 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47809 the first argument and return value of __tls_get_addr_internal.
47810
47811 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47812
47813 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47814 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47815
47816 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47817
47818 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47819 * sysdeps/s390/rtld-global-offsets.sym: New file.
47820 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47821 GLIBC_2.19 symbol.
47822 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47823 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47824 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47825 ... this.
47826 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47827 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47828 ... this.
47829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47830 Regenerate.
47831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47832 Regenerate.
47833 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47834 halfs of GPRs for high_gprs contexts.
47835 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47836 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47837 field.
47838 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47839 uc_flags field.
47840 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47841 64 bit versions:
47842 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47843 for high GPRs (uc_high_gprs) and for future extensions
47844 (__reserved).
47845 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47846 for future extensions (__reserved).
47847 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47848 64 bit versions:
47849 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47850 SC_HIGHGPRS offset definition.
47851 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47852 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47853
47854 * Versions.def: Add GLIBC_2.19 for libpthread.
47855 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47856 siglongjmp for libpthread with GLIBC_2.19 symver.
47857 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47858 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47859 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47860 * sysdeps/s390/__longjmp.c: New file.
47861 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47862 * sysdeps/s390/longjmp.c: New file.
47863 * sysdeps/s390/setjmp.S: New file.
47864 * sysdeps/s390/sigjmp.S: New file.
47865 * sysdeps/s390/v1-longjmp.c: New file.
47866 * sysdeps/s390/v1-setjmp.h: New file.
47867 * sysdeps/s390/v1-sigjmp.c: New file.
47868 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47869 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47870 GLIBC_2.19 version.
47871 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47872 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47873 versioned symbols for ____longjmp_chk.
47874 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47875 Likewise.
47876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47877 Regenerate.
47878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47879 Regenerate.
47880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47881 Regenerate.
47882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47883 Regenerate.
47884 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47885 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47886 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47887 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47888 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47889 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47890 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47891 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47892 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47893 * sysdeps/s390/rtld-__longjmp.c: New file.
47894 * sysdeps/s390/rtld-setjmp.S: New file.
47895
47896 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47897
47898 [BZ #16400]
47899 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47900 Return -__logl (x) for small positive arguments without evaluating
47901 a polynomial.
47902
47903 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47904
47905 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47906 Rename to ...
47907 (__ptrace_peeksiginfo_args): ... this.
47908 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47911
47912 2014-01-06 Allan McRae <allan@archlinux.org>
47913
47914 * inet/netinet/in.h: Fix typo in comment.
47915
47916 2014-01-05 Andreas Jaeger <aj@suse.de>
47917
47918 * sysdeps/i386/fpu/libm-test-ulps: Update.
47919
47920 2014-01-05 Allan McRae <allan@archlinux.org>
47921
47922 * po/libc.pot: Regenerated.
47923
47924 * malloc/memusagestat.c: Fix gettext call formatting.
47925
47926 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47927
47928 * nscd/nscd.c: Improve usage() output.
47929
47930 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47931
47932 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47933 * sysdeps/unix/sysv/linux/configure: Regenerated.
47934 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47935 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47936
47937 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47938
47939 [BZ #16390]
47940 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47941 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47942
47943 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47944
47945 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47946 extra tokens at end of #undef directive.
47947 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47948 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47949 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47950
47951 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47952
47953 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47954
47955 * math/auto-libm-test-in: Mark various tests with
47956 xfail-rounding:ldbl-128ibm.
47957 * math/auto-libm-test-out: Regenerated.
47958
47959 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47960
47961 [BZ #16386]
47962 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47963 numbers with subnormal high part when calculating exponent.
47964
47965 [BZ #16385]
47966 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47967 fabs.
47968
47969 [BZ #16384]
47970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47971 M_LN2l.
47972 (__ieee754_acoshl): Use __log1pl not __log1p.
47973
47974 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47975
47976 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47977 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47978 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47979 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47980 (reused_arena, arena_get2): Convert to GNU style.
47981 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47982 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47983 (memalign_check, __malloc_set_state): Likewise.
47984 * malloc/mallocbug.c (main): Likewise.
47985 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47986 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47987 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47988 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47989 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47990 (__posix_memalign, malloc_info): Likewise.
47991 * malloc/malloc.h: Likewise.
47992 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47993 (mallochook, memalignhook, reallochook, mabort): Likewise.
47994 * malloc/mcheck.h: Likewise.
47995 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47996 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47997 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47998 * malloc/morecore.c (__default_morecore): Likewise.
47999 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48000 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48001 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48002 (print_and_abort): Likewise.
48003 * malloc/obstack.h: Likewise.
48004 * malloc/set-freeres.c (__libc_freeres): Likewise.
48005 * malloc/tst-mallocstate.c (main): Likewise.
48006 * malloc/tst-mtrace.c (main): Likewise.
48007 * malloc/tst-realloc.c (do_test): Likewise.
48008
48009 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48010
48011 [BZ #16366]
48012 * nscd/netgroupcache.c (do_notfound): New function.
48013 (addgetnetgrentX): Use it.
48014
48015 [BZ # 16365]
48016 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48017 NSS_STATUS_NOTFOUND.
48018
48019 2014-01-01 Joseph Myers <joseph@codesourcery.com>
48020
48021 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48023
48024 2014-01-01 Allan McRae <allan@archlinux.org>
48025
48026 * scripts/update-copyrights: Update configure input file suffix.
48027
48028 * NEWS: Update copyright year.
48029 * catgets/gencat.c: Likewise.
48030 * csu/version.c: Likewise.
48031 * debug/catchsegv.sh: Likewise.
48032 * debug/pcprofiledump.c: Likewise.
48033 * debug/xtrace.sh: Likewise.
48034 * elf/ldconfig.c: Likewise.
48035 * elf/ldd.bash.in: Likewise.
48036 * elf/pldd.c: Likewise.
48037 * elf/sotruss.ksh: Likewise.
48038 * elf/sprof.c: Likewise.
48039 * iconv/iconv_prog.c: Likewise.
48040 * iconv/iconvconfig.c: Likewise.
48041 * locale/programs/locale.c: Likewise.
48042 * locale/programs/localedef.c: Likewise.
48043 * login/programs/pt_chown.c: Likewise.
48044 * malloc/memusage.sh: Likewise.
48045 * malloc/memusagestat.c: Likewise.
48046 * malloc/mtrace.pl: Likewise.
48047 * manual/libc.texinfo: Likewise.
48048 * nscd/nscd.c: Likewise.
48049 * nss/getent.c: Likewise.
48050 * nss/makedb.c: Likewise.
48051 * posix/getconf.c: Likewise.
48052 * scripts/test-installation.pl: Likewise.
48053
48054 * All files with FSF copyright notices: Update copyright dates
48055 using scripts/update-copyrights.
48056 * intl/plural.c: Regenerated.
48057 * locale/programs/charmap-kw.h: Likewise.
48058 * locale/programs/locfile-kw.h: Likewise.
48059
48060 2013-12-31 Mike Frysinger <vapier@gentoo.org>
48061
48062 * sysdeps/unix/sysv/linux/configure: Regenerated.
48063 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48064 the linux/fanotify.h header.
48065 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48066 HAVE_LINUX_FANOTIFY_H is defined.
48067
48068 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48069
48070 * benchtests/cos-inputs: New inputs.
48071 * benchtests/sin-inputs: Likewise.
48072
48073 * benchtests/atan-inputs: New inputs. Fix name of multiple
48074 precision fallback inputs.
48075
48076 * benchtests/atanh-inputs: New inputs.
48077 * benchtests/tanh-inputs: Likewise.
48078
48079 * benchtests/acosh-inputs: New inputs.
48080 * benchtests/asinh-inputs: Likewise.
48081
48082 * benchtests/cosh-inputs: New inputs.
48083 * benchtests/sinh-inputs: Likewise.
48084
48085 * benchtests/acos-inputs: Add more inputs.
48086 * benchtests/asin-inputs: Likewise.
48087
48088 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
48089
48090 [BZ #16375]
48091 * manual/arith.texi: Fix spelling.
48092 * manual/charset.texi: Likewise.
48093 * manual/errno.texi: Likewise.
48094 * manual/filesys.texi: Likewise.
48095 * manual/lang.texi: Likewise.
48096 * manual/llio.texi: Likewise.
48097 * manual/locale.texi: Likewise.
48098 * manual/message.texi: Likewise.
48099 * manual/resource.texi: Likewise.
48100 * manual/search.texi: Likewise.
48101 * manual/setjmp.texi: Likewise.
48102 * manual/stdio.texi: Likewise.
48103 * manual/string.texi: Likewise.
48104 * manual/sysinfo.texi: Likewise.
48105 * manual/time.texi: Likewise.
48106
48107 2013-12-27 Carlos O'Donell <carlos@redhat.com>
48108
48109 * po/sl.po: New file.
48110
48111 2013-12-27 Mike Frysinger <vapier@gentoo.org>
48112
48113 * .gitignore: Add core/.gdbinit/.gdb_history.
48114
48115 2013-12-27 Allan McRae <allan@archlinux.org>
48116
48117 [BZ #16369]
48118 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48119 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48120
48121 2013-12-24 Brooks Moses <bmoses@google.com>
48122
48123 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48124 all compilers that claim C++98 compliance, not just GCC.
48125 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48126 Likewise.
48127
48128 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48129
48130 * NEWS: Restore accidentally deleted bug-fix entries.
48131
48132 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48133 Ondřej Bílka <neleai@seznam.cz>
48134
48135 [BZ #15073]
48136 * malloc/malloc.c (_int_free): Perform sanity check only if we
48137 have_lock.
48138
48139 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
48140
48141 [BZ #12986]
48142 * manual/stdio.texi (String Input Conversions): Clarify that character
48143 classes are not supported.
48144
48145 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48146
48147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48148
48149 2013-12-22 Joseph Myers <joseph@codesourcery.com>
48150
48151 [BZ #16337]
48152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48153 Calculate results for small negative arguments directly rather
48154 than using reflection formula with special underflow handling.
48155
48156 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48157 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48158 sysdeps/unix/bsd/bsd4.4/syscalls.list.
48159 (fchflags): Likewise.
48160 (revoke): Likewise.
48161 (setlogin): Likewise.
48162 (sigaltstack): Likewise.
48163 (wait4): Likewise.
48164 (sigblock): Remove.
48165 (sigsetmask): Likewise.
48166 (wait3): Likewise.
48167 (waitpid): Likewise.
48168 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48169 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48170 file.
48171 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48172 * sysdeps/unix/bsd/Makefile: ... here.
48173 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48174 * sysdeps/unix/bsd/Versions: ... here.
48175 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48176 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48177 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48178 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48179 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48180 * sysdeps/unix/bsd/sigblock.c: ... here.
48181 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48182 * sysdeps/unix/bsd/sigsetmask.c: ... here.
48183 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48184 * sysdeps/unix/bsd/sigvec.c: ... here.
48185 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48186 * sysdeps/unix/bsd/tcdrain.c: ... here.
48187 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48188 * sysdeps/unix/bsd/tcgetattr.c: ... here.
48189 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48190 * sysdeps/unix/bsd/tcsetattr.c: ... here.
48191 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48192 * sysdeps/unix/bsd/wait.c: ... here.
48193 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48194 * sysdeps/unix/bsd/wait3.c: ... here.
48195 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48196 * sysdeps/unix/bsd/waitpid.c: ... here.
48197
48198 2013-12-21 Joseph Myers <joseph@codesourcery.com>
48199
48200 [BZ #16356]
48201 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48202 round-to-nearest for [!USE_AS_EXPM1L].
48203 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48204 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
48205 more tests of exp and exp10. Expect some exp10 tests to miss
48206 exceptions or fail in directed rounding modes.
48207 * math/auto-libm-test-out: Regenerated.
48208 * math/libm-test.inc (exp10_tonearest_test_data): New array.
48209 (exp10_test_tonearest): New function.
48210 (exp10_towardzero_test_data): New array.
48211 (exp10_test_towardzero): New function.
48212 (exp10_downward_test_data): New array.
48213 (exp10_test_downward): New function.
48214 (exp10_upward_test_data): New array.
48215 (exp10_test_upward): New function.
48216 (main): Call the new functions.
48217 * sysdeps/i386/fpu/libm-test-ulps: Update.
48218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48219
48220 2013-12-20 Joseph Myers <joseph@codesourcery.com>
48221
48222 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48223 asinh, atan, atan2, atanh, cbrt, cos and cosh.
48224 * math/auto-libm-test-out: Regenerated.
48225 * math/libm-test.inc (acosh_test_data): Add more tests.
48226 (atanh_test_data): Likewise.
48227 (ceil_test_data): Likewise.
48228 (copysign_test_data): Likewise.
48229 * sysdeps/i386/fpu/libm-test-ulps: Update.
48230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48231
48232 * timezone/checktab.awk: Update from tzcode 2013i.
48233 * timezone/private.h: Likewise.
48234 * timezone/scheck.c: Likewise.
48235 * timezone/tzfile.h: Likewise.
48236 * timezone/tzselect.ksh: Likewise.
48237 * timezone/zdump.c: Likewise.
48238 * timezone/zic.c: Likewise.
48239
48240 * math/auto-libm-test-in: Add tests of cpow.
48241 * math/auto-libm-test-out: Regenerated.
48242 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48243 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48244 mpc_cc_c.
48245 (func_calc_desc): Add mpc_cc_c union field.
48246 (test_functions): Add cpow.
48247 (special_fill_2pi): New function.
48248 (special_real_inputs): Add 2pi.
48249 (calc_generic_results): Handle mpc_cc_c.
48250 * sysdeps/i386/fpu/libm-test-ulps: Update.
48251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48252
48253 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48254 csqrt, ctan and ctanh.
48255 * math/auto-libm-test-out: Regenerated.
48256 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48257 (TEST_COND_x86): Likewise.
48258 (ccos_test_data): Use AUTO_TESTS_c_c.
48259 (ccosh_test_data): Likewise.
48260 (cexp_test_data): Likewise.
48261 (clog_test_data): Likewise.
48262 (csqrt_test_data): Likewise.
48263 (ctan_test_data): Likewise.
48264 (ctan_tonearest_test_data): Likewise.
48265 (ctan_towardzero_test_data): Likewise.
48266 (ctan_downward_test_data): Likewise.
48267 (ctan_upward_test_data): Likewise.
48268 (ctanh_test_data): Likewise.
48269 (ctanh_tonearest_test_data): Likewise.
48270 (ctanh_towardzero_test_data): Likewise.
48271 (ctanh_downward_test_data): Likewise.
48272 (ctanh_upward_test_data): Likewise.
48273 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48274 mpc_c_c.
48275 (func_calc_desc): Add mpc_c_c union field.
48276 (FUNC_mpc_c_c): New macro.
48277 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48278 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48279 ctanh.
48280 (special_fill_min_subnorm_p120): New function.
48281 (special_real_inputs): Add min_subnorm_p120.
48282 (calc_generic_results): Handle mpc_c_c.
48283 * sysdeps/i386/fpu/libm-test-ulps: Update.
48284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48285
48286 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48287
48288 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48289 (do_sin_slow): New functions.
48290 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48291 (cslow2, csloww1, csloww2): Use the new functions.
48292
48293 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48294 Use M to change sign of result instead of X. Assume X is
48295 positive.
48296 (csloww1): Likewise.
48297 (__sin): Adjust.
48298 (__cos): Adjust.
48299
48300 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48301 arguments A and DA.
48302 (__sin): Adjust.
48303 (__cos): Likewise.
48304
48305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48306 (__cos): Likewise.
48307 (sloww1): Don't adjust sign of DX.
48308 (csloww1): Likewise.
48309 (sloww2): Use X directly and don't adjust sign of DX.
48310 (csloww2): Likewise.
48311
48312 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48313
48314 * math/auto-libm-test-in: Add tests of cabs and carg.
48315 * math/auto-libm-test-out: Regenerated.
48316 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48317 (carg_test_data): Likewise.
48318 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48319 mpc_c_f.
48320 (func_calc_desc): Add mpc_c_f union field.
48321 (test_functions): Add cabs and carg.
48322 (calc_generic_results): Handle mpc_c_f.
48323
48324 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48325 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48326 as a macro and a compat symbol.
48327 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48328 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48329 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48330 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48331 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48332 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48333 not use .hidden.
48334 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48335 Likewise.
48336 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48337 Likewise.
48338 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48339 Likewise.
48340 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48341 Likewise.
48342 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48343 Likewise.
48344 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48345 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48346 from GLIBC_2.3.2.
48347
48348 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48349
48350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48351
48352 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48353
48354 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48355 trailing whitespace removed.
48356 * scripts/config.guess: Update to version 2013-11-29.
48357 * scripts/config.sub: Update to version 2013-10-01.
48358
48359 * math/auto-libm-test-in: Add tests of sincos.
48360 * math/auto-libm-test-out: Regenerated.
48361 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48362 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48363 mpfr_f_11.
48364 (func_calc_desc): Add mpfr_f_11 union field.
48365 (test_functions): Add sincos.
48366 (calc_generic_results): Handle mpfr_f_11.
48367 * sysdeps/i386/fpu/libm-test-ulps: Update.
48368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48369
48370 2013-12-19 Andreas Schwab <schwab@suse.de>
48371
48372 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48373 CALL_MCOUNT.
48374 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48375 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48376 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48377
48378 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48379
48380 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48381 * sysdeps/i386/fpu/libm-test-ulps: Update.
48382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48383
48384 [BZ #16293]
48385 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48386 round-to-nearest mode when using frndint.
48387 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48388 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48389 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48390 Likewise.
48391 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48392 sinh test to fail.
48393 * math/auto-libm-test-out: Regenerated.
48394 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48395 (TEST_COND_x86): Likewise.
48396 (expm1_tonearest_test_data): New array.
48397 (expm1_test_tonearest): New function.
48398 (expm1_towardzero_test_data): New array.
48399 (expm1_test_towardzero): New function.
48400 (expm1_downward_test_data): New array.
48401 (expm1_test_downward): New function.
48402 (expm1_upward_test_data): New array.
48403 (expm1_test_upward): New function.
48404 (main): Run the new test functions.
48405 * sysdeps/i386/fpu/libm-test-ulps: Update.
48406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48407
48408 * include/features.h: Update comment documenting feature test
48409 macros. Mention _DEFAULT_SOURCE in comment.
48410 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48411 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48412 _BSD_SOURCE and _SVID_SOURCE.
48413 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48414 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48415 !_SVID_SOURCE]: Likewise.
48416 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48417 (__USE_POSIX_IMPLICITLY): Define.
48418 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48419 (_POSIX_SOURCE): Undefine and redefine.
48420 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48421 (_POSIX_C_SOURCE): Likewise.
48422 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48423 (Feature Test Macros): Update documentation of default features.
48424
48425 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48426
48427 * benchtests/Makefile: Add bench-strtok.
48428 * benchtests/bench-strtok.c: New file: strtok benchtest.
48429
48430 2013-12-19 Allan McRae <allan@archlinux.org>
48431
48432 * manual/install.texi: Suppress menu for plain text output.
48433 * INSTALL: Regenerated.
48434
48435 2013-12-18 Brooks Moses <bmoses@google.com>
48436
48437 [BZ #15846]
48438 * misc/getauxval.c: Include errno.h.
48439 (__getauxval): Set errno to ENOENT if the requested type is not
48440 found.
48441 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48442 don't declare with __attribute_const__.
48443 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48444 * manual/startup.texi: Document that getauxval sets errno.
48445
48446 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48447
48448 * math/auto-libm-test-in: Add tests of jn and yn.
48449 * math/auto-libm-test-out: Regenerated.
48450 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48451 (yn_test_data): Likewise.
48452 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48453 mpfr_if_f.
48454 (func_calc_desc): Add mpfr_if_f union field.
48455 (FUNC_mpfr_if_f): New macro.
48456 (test_functions): Add jn and yn.
48457 (calc_generic_results): Assert type of second input for
48458 mpfr_ff_f. Handle mpfr_if_f.
48459 (output_for_one_input_case): Disable all checking for arguments
48460 fitting floating-point types in case of an integer argument.
48461 * sysdeps/i386/fpu/libm-test-ulps: Update.
48462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48463
48464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48465 Don't expect fegetround reference in libm.so.
48466
48467 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48468
48469 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48470 $(config-cflags-nofma).
48471
48472 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48473
48474 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48475 * math/auto-libm-test-out: Regenerated.
48476
48477 [BZ #16338]
48478 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48479 to determine exponent and adjust argument to have exponent of -1.
48480 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48481 log2.
48482 * math/auto-libm-test-out: Regenerated.
48483 * sysdeps/i386/fpu/libm-test-ulps: Update.
48484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48485
48486 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48487
48488 * manual/probes.texi: Remove cases when per-thread arenas are
48489 disabled.
48490
48491 2013-12-18 Andreas Schwab <schwab@suse.de>
48492
48493 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48494 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48495 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48496 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48497 * sysdeps/i386/i686/multiarch/Makefile: Update.
48498 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48499
48500 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48501
48502 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48503 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48504
48505 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48506
48507 [BZ #15968]
48508 Support TZ transition times < 00:00:00.
48509 This is needed for version-3 tz-format files; it supports time
48510 stamps past 2037 for America/Godthab (the only entry in the tz
48511 database for which this change is relevant).
48512 * manual/time.texi (TZ Variable): Document transition times
48513 from -167:59:59 through -00:00:01.
48514 * time/tzset.c (tz_rule): Time of day is now signed.
48515 (__tzset_parse_tz): Parse negative time of day.
48516
48517 Document TZ transition times >= 25:00:00.
48518 * manual/time.texi (TZ Variable): Document transition times from
48519 25:00:00 through 167:59:59. These are already supported, and this
48520 support will help with version-3 tz-format files.
48521
48522 * manual/time.texi (TZ Variable): Modernize North America example
48523 to reflect current (i.e., 2007-and-later) daylight saving rules.
48524
48525 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48526
48527 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48528
48529 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48530 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48533 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48534 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48535 * sysdeps/unix/bsd/clock.c: Likewise.
48536 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48537 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48538 * sysdeps/unix/bsd/init-posix.c: Likewise.
48539 * sysdeps/unix/bsd/poll.c: Likewise.
48540 * sysdeps/unix/bsd/ptsname.c: Likewise.
48541 * sysdeps/unix/bsd/seekdir.c: Likewise.
48542 * sysdeps/unix/bsd/setegid.c: Likewise.
48543 * sysdeps/unix/bsd/seteuid.c: Likewise.
48544 * sysdeps/unix/bsd/setgid.c: Likewise.
48545 * sysdeps/unix/bsd/setrgid.c: Likewise.
48546 * sysdeps/unix/bsd/setruid.c: Likewise.
48547 * sysdeps/unix/bsd/setsid.c: Likewise.
48548 * sysdeps/unix/bsd/setuid.c: Likewise.
48549 * sysdeps/unix/bsd/sigaction.c: Likewise.
48550 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48551 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48552 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48553 * sysdeps/unix/bsd/telldir.c: Likewise.
48554 * sysdeps/unix/bsd/times.c: Likewise.
48555 * sysdeps/unix/bsd/usleep.c: Likewise.
48556
48557 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48558 ($(objpfx)libbsd-compat.a): Remove rule.
48559
48560 * include/features.h (__FAVOR_BSD): Do not define.
48561 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48562 features conflicting with POSIX.
48563 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48564 (_BSD_SOURCE): Remove description of not being a subset of other
48565 feature test macros.
48566 * manual/job.texi (getpgrp): Do not document BSD version.
48567 (getpgid): Do not document by reference to BSD getpgrp.
48568 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48569 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48570 * signal/signal.h [__FAVOR_BSD]: Likewise.
48571 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48572 instead of making contents conditional on [__FAVOR_BSD].
48573 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48574
48575 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48576
48577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48578
48579 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48580
48581 [BZ #16314]
48582 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48583 values below 2**-450, not 2**-500.
48584 * math/auto-libm-test-in: Don't allow spurious underflow from
48585 hypot.
48586 * math/auto-libm-test-out: Regenerated.
48587
48588 [BZ #16316]
48589 [BZ #16330]
48590 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48591 values of ha and hb and sort them after adjusting subnormal
48592 arguments.
48593 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48594 Likewise.
48595 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48596 values of ea and eb and sort them after adjusting subnormal
48597 arguments.
48598 * math/auto-libm-test-in: Do not expect some hypot tests of
48599 subnormals to fail. Add more hypot tests.
48600 * math/auto-libm-test-out: Regenerated.
48601
48602 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48603
48604 [BZ #13304]
48605 * sysdeps/sh/s_fma.c: New file.
48606 * sysdeps/sh/s_fmaf.c: New file.
48607 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48608 version.
48609 * sysdeps/sh/Implies: Add sh/soft-fp.
48610
48611 2013-12-16 Roland McGrath <roland@hack.frob.com>
48612
48613 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48614 level of indirection to members `objname', `errstring', `malloced'.
48615 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48616 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48617 it as the __longjmp argument (just pass 1 instead).
48618 (_dl_catch_error): Initialize C with argument pointers and address of
48619 volatile local ERRCODE rather than copying values out of C at return.
48620
48621 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48622
48623 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48624 * math/auto-libm-test-out: Regenerated.
48625 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48626 (hypot_test_data): Likewise.
48627 (pow_test_data): Likewise.
48628 (pow_tonearest_test_data): Likewise.
48629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48630 mpfr_ff_f.
48631 (func_calc_desc): Add mpfr_ff_f union field.
48632 (FUNC_mpfr_ff_f): New macro.
48633 (test_functions): Add atan2, hypot and pow.
48634 (special_fill_min): New function.
48635 (special_fill_minus_min): Likewise.
48636 (special_fill_min_subnorm): Likewise.
48637 (special_fill_minus_min_subnorm): Likewise.
48638 (special_real_inputs): Add min, -min, min_subnorm and
48639 -min_subnorm.
48640 (calc_generic_results): Handle mpfr_ff_f.
48641 * sysdeps/i386/fpu/libm-test-ulps: Update.
48642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48643
48644 2013-12-16 Will Newton <will.newton@linaro.org>
48645
48646 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48647 (Aligned Memory Blocks): Add documentation for aligned_alloc
48648 and suggest it as an alternative to posix_memalign.
48649 (Hooks for Malloc): Document __memalign_hook is also called
48650 for aligned_alloc. (Summary of Malloc): Add summary for
48651 aligned alloc. Document __memalign_hook is also called
48652 for aligned_alloc.
48653
48654 2013-12-16 Will Newton <will.newton@linaro.org>
48655
48656 * manual/memory.texi (Malloc Examples): Clarify default
48657 alignment documentation. Suggest posix_memalign rather
48658 than memalign or valloc.
48659 (Aligned Memory Blocks): Remove suggestion to use memalign
48660 or valloc. Remove obsolete comment about BSD.
48661 Document memalign errno values and mark the function obsolete.
48662 Document posix_memalign returned error codes. Mark valloc
48663 as obsolete. (Hooks for Malloc): __memalign_hook is also
48664 called for posix_memalign and valloc.
48665 (Summary of Malloc): Add posix_memalign to function summary.
48666 __memalign_hook is also called for posix_memalign and valloc.
48667
48668 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48669
48670 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48671 TAYLOR_SIN.
48672 (__sin): Adjust.
48673 (__cos): Likewise.
48674 (sloww): Use mynumber union. Expand ternary operator into
48675 if-else statements.
48676 (cslow): use mynumber union.
48677
48678 2013-12-16 Allan McRae <allan@archlinux.org>
48679
48680 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48681 * configure: Regenerated.
48682
48683 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48684
48685 [BZ #14120]
48686 * configure.ac: Added --enable-maintainer-mode. Check for
48687 autoconf when enabled.
48688 * configure: Regenerated.
48689
48690 * nscd/nscd.service: New file.
48691 * nscd/nscd.tmpfiles: New file.
48692
48693 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48694
48695 [BZ #12100]
48696 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48697 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48698 * sysdeps/x86_64/multiarch/strstr.c: ... here.
48699 (strstr): Add __strstr_sse2_unaligned ifunc.
48700 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48701 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48702 (strcasestr): Remove __strcasestr_sse42 ifunc.
48703 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48706
48707 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48708
48709 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48710 * sysdeps/sh/bits/fenv.h: ... here.
48711 * sysdeps/sh/sh4/fpu/bits: Remove directory.
48712
48713 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48714
48715 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48716
48717 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48718 hypotf multiarch implementations.
48719 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48720 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48721 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48722 multiarch hypot for PPC64.
48723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48725 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48726 multiarch hypotf for PPC64.
48727
48728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48729 modff multiarch implementations.
48730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48733 multiarch modf for PPC64.
48734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48737 multiarch modff for PPC64.
48738
48739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48740 and logl multiarch implementations.
48741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48744 multiarch logb for PPC64.
48745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48748 multiarch logb for PPC64.
48749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48752 multiarch logb for PPC64.
48753
48754 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48755 isinff multiarch implementation.
48756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48757 file.
48758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48760 multiarch isinf for PPC64.
48761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48762 file.
48763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48764 multiarch isinff for PPC64.
48765
48766 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48767 finitef multiarch implementation.
48768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48769 file.
48770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48772 multiarch finite for PPC64.
48773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48774 file.
48775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48776 multiarch finitef for PPC64.
48777
48778 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48779 lrint multiarch implementation.
48780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48781 file.
48782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48784 multiarch llrint for PPC64.
48785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48786 multiarch lrint for PPC64.
48787
48788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48789 copysignf multiarch implementation.
48790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48791 file.
48792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48793 file.
48794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48795 multiarch copysign for PPC64.
48796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48797 multiarch copysignf for PPC64.
48798
48799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48800 multiarch implementation.
48801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48802 file.
48803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48804 file.
48805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48806 file.
48807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48808 file.
48809 multiarch llround for PPC64.
48810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48811 multiarch trunc for PPC64.
48812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48813 multiarch truncf for PPC64.
48814
48815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48816 multiarch implementation.
48817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48818 file.
48819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48820 file.
48821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48822 file.
48823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48824 file.
48825 multiarch llround for PPC64.
48826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48827 multiarch round for PPC64.
48828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48829 multiarch roundf for PPC64.
48830
48831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48832 multiarch implementation.
48833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48834 file.
48835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48836 file.
48837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48838 file.
48839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48840 file.
48841 multiarch llround for PPC64.
48842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48843 multiarch floor for PPC64.
48844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48845 multiarch floorf for PPC64.
48846
48847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48848 multiarch implementation.
48849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48850 file.
48851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48852 file.
48853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48854 file.
48855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48856 file.
48857 multiarch llround for PPC64.
48858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48859 multiarch ceil for PPC64.
48860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48861 multiarch ceilf for PPC64.
48862
48863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48864 multiarch implementation.
48865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48866 file.
48867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48868 file.
48869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48870 file.
48871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48872 multiarch llround for PPC64.
48873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48874 multiarch lround for PPC64.
48875
48876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48877 multiarch implementation.
48878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48881 file.
48882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48885 multiarch isnan for PPC64.
48886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48887 multiarch isnanf for PPC64.
48888
48889 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48890 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48891 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48892 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48893 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48895
48896 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48897 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48900
48901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48902 multiarch implementations.
48903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48904 (__libc_ifunc_impl_list): Likewise.
48905 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48906 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48907 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48908 multiarch stpcpy for PPC64.
48909
48910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48911 multiarch implementations.
48912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48913 (__libc_ifunc_impl_list): Likewise.
48914 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48915 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48916 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48917 multiarch strcpy for PPC64.
48918
48919 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48920 redefine function name.
48921 (_wordcopy_fwd_dest_aligned): Likewise.
48922 (_wordcopy_bwd_aligned): Likewise.
48923 (_wordcopy_bwd_dest_aligned): Likewise.
48924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48925 multiarch implementations.
48926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48927 (__libc_ifunc_impl_list): Likewise.
48928 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48929 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48930 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48931 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48932 multiarch wcscpy for PPC64.
48933
48934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48935 multiarch implementations.
48936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48937 (__libc_ifunc_impl_list): Likewise.
48938 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48939 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48940 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48941 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48942 multiarch wcscpy for PPC64.
48943
48944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48945 multiarch implementations.
48946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48947 (__libc_ifunc_impl_list): Likewise.
48948 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48949 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48950 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48951 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48952 multiarch wcsrchr for PPC64.
48953
48954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48955 multiarch implementations.
48956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48957 (__libc_ifunc_impl_list): Likewise.
48958 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48959 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48960 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48961 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48962 multiarch wcschr for PPC64.
48963
48964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48965 multiarch implementations.
48966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48967 (__libc_ifunc_impl_list): Likewise.
48968 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48969 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48970 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48971 multiarch strchrnul for PPC64.
48972
48973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48974 implementations.
48975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48976 (__libc_ifunc_impl_list): Likewise.
48977 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48978 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48979 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48980 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48981 strchr for PPC64.
48982
48983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48984 implementations.
48985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48986 (__libc_ifunc_impl_list): Likewise.
48987 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48988 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48989 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48990 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48991 strncmp for PPC64.
48992
48993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48994 multiarch implementations.
48995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48996 (__libc_ifunc_impl_list): Likewise.
48997 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48998 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48999 strncasecmp for PPC64.
49000 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49001 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49002 multiarch strncasecmp_l for PPC64.
49003
49004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49005 multiarch implementations.
49006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49007 (__libc_ifunc_impl_list): Likewise.
49008 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49009 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49010 multiarch strcasecmp for PPC64.
49011 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49012 file.
49013 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49014 multiarch strcasecmp_l for PPC64.
49015
49016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49017 implementations.
49018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49019 (__libc_ifunc_impl_list): Likewise.
49020 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49021 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49022 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49023 strnlen for PPC64.
49024
49025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49026 implementations.
49027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49028 (__libc_ifunc_impl_list): Likewise.
49029 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49030 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49031 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49032 strlen for PPC64.
49033
49034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49035 implementations.
49036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49037 (__libc_ifunc_impl_list): Likewise.
49038 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49039 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49040 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49041 rawmemrchr for PPC64.
49042
49043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49044 implementation.
49045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49046 (__libc_ifunc_impl_list): Likewise.
49047 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49048 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49049 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49050 memrchr for PPC64.
49051
49052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49053 implementation.
49054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49055 (__libc_ifunc_impl_list): Likewise.
49056 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49057 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49058 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49059 memchr for PPC64.
49060
49061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49062 implementation.
49063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49064 (__libc_ifunc_impl_list): Likewise.
49065 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49066 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49067 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49068 mempcpy for PPC64.
49069
49070 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49071 avoid cretion of __bzero symbol.
49072 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49073 Likewise.
49074 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49075 Likewise.
49076 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49077 Likewise.
49078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49079 multiarch implementations.
49080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49081 (__libc_ifunc_impl_list): Likewise.
49082 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49083 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49084 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49085 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49086 bzero for PPC32.
49087 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49088 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49089 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49090 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49091 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49092 memset for PPC64.
49093 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49094
49095 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49097 implementations.
49098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49099 (__libc_ifunc_impl_list): Likewise.
49100 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49101 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49102 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49103 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49104 memcmp for PPC64.
49105
49106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49107 multiarch for POWER/PPC64.
49108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49109 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49110 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49111 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49112 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49113 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49116 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49117 memcpy for PPC64.
49118
49119 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49120 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49121 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49122 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49123 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49124 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49125 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49126 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49127 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49128 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49129 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49130 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49131 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49132 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49133 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49141
49142 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49143
49144 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49145
49146 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49147
49148 * benchtests/Makefile (bench): Add exp2 and log2.
49149 (LDLIBS-bench-exp2): Add -lm.
49150 (LDLIBS-bench-log2): Likewise.
49151 * benchtests/exp2-inputs: New inputs file.
49152 * benchtests/log2-inputs: New inputs file.
49153 * benchtests/log-inputs: Add new inputs.
49154 * benchtests/tan-inputs: Likewise.
49155
49156 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49157
49158 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49159 definition...
49160 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49161 (csloww2): ... from here.
49162
49163 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49164 instead of structures.
49165 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49166 (POLYNOMIAL): Likewise.
49167 (TAYLOR_SLOW): Likewise.
49168 (__sin): Likewise.
49169 (__cos): Likewise.
49170 (slow1): Likewise.
49171 (slow2): Likewise.
49172 (sloww): Likewise.
49173 (sloww1); Likewise.
49174 (sloww2): Likewise.
49175 (bsloww1): Likewise.
49176 (bsloww2): Likewise.
49177 (cslow2): Likewise.
49178 (csloww): Likewise.
49179 (csloww1): Likewise.
49180 (csloww2): Likewise.
49181
49182 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
49183
49184 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49185 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49186 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49187 * malloc/hooks.c (realloc_check): Likewise.
49188
49189 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49190 * malloc/arena.c: Remove PER_THREAD conditional.
49191 [!PER_THREAD]: Remove code.
49192 (ptmalloc_unlock_all2): Likewise.
49193 (ptmalloc_init): Likewise.
49194 (_int_new_arena): Likewise.
49195 (arena_get2): Likewise.
49196 * malloc/hooks.c (__malloc_get_state): Likewise.
49197 (__malloc_set_state): Likewise.
49198 * malloc/malloc.c: Likewise.
49199 (struct malloc_state): Likewise.
49200 (struct malloc_par): Likewise.
49201 (__libc_realloc): Likewise.
49202 (__libc_mallopt): Likewise.
49203
49204 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49205
49206 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49207
49208 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
49209
49210 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49211 macro to a function. Check for zero perturb_byte.
49212 (_int_malloc, _int_free): Remove zero perturb_byte checks.
49213
49214 * malloc/malloc.c: (force_reg): Remove.
49215 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49216 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49217 force_reg by atomic_forced_read.
49218 * malloc/arena.c (ptmalloc_init): Likewise.
49219 * malloc/hooks.c (top_check): Likewise.
49220
49221 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49222
49223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49224
49225 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
49226
49227 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49228
49229 2013-12-08 Joseph Myers <joseph@codesourcery.com>
49230
49231 * math/auto-libm-test-in: Add tests of lgamma.
49232 * math/auto-libm-test-out: Regenerated.
49233 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49234 (M_LOG_2_SQRT_PIl): Likewise.
49235 (lgamma_test_data): Use AUTO_TESTS_f_f1.
49236 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49237 mpfr_f_f1.
49238 (func_calc_desc): Add mpfr_f_f1 union field.
49239 (ARGS1): New macro.
49240 (ARGS2): Likewise.
49241 (ARGS3): Likewise.
49242 (ARGS4): Likewise.
49243 (RET1): Likewise.
49244 (RET2): Likewise.
49245 (CALC): Likewise.
49246 (FUNC): Likewise.
49247 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49248 (test_functions): Add lgamma.
49249 (calc_generic_results): Handle mpfr_f_f1.
49250 * sysdeps/i386/fpu/libm-test-ulps: Update.
49251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49252
49253 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49254
49255 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49256 __mpn_add_n for PowerPC64/POWER7.
49257 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49258 __mpn_sub_n for PowerPC64/POWER7.
49259
49260 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49261 __mpn_addmul_1 for PowerPC64.
49262 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49263 __mpn_submul_1 for PowerPC64.
49264 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49265 for PowerPC64.
49266 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49267 for PowerPC64.
49268
49269 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
49270
49271 [BZ #15089]
49272 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49273
49274 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49275
49276 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49277
49278 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49279 add multiarch folders.
49280 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49281 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49282 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49283 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49284 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49285 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49286 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49287 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49288 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49289 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49290 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49297
49298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49299 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49301 New file.
49302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49303 New file.
49304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49305 multiarch __ieee754_hypot for PowerPC32.
49306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49307 New file.
49308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49309 New file.
49310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49311 multiarch __ieee754_hypotf for PowerPC32.
49312
49313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49314 long_double_symbol only if __logbl is defined.
49315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49316 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49318 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49319 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49320 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49322 path for implementation.
49323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49326 logb, and logbl multiarch implementations for PowerPC32.
49327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49328 file.
49329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49330 file.
49331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49332 multiarch logb for PowerPC32.
49333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49334 file.
49335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49336 file.
49337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49338 multiarch logbf for PowerPC32.
49339 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49341 file.
49342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49343 multiarch logbl implementation for PowerPC32.
49344
49345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49346 and modff multiarch implementations.
49347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49348 New file.
49349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49350 New file.
49351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49352 multiarch modf for PowerPC32.
49353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49354 New file.
49355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49356 New file.
49357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49358 multiarch modff for PowerPC32.
49359
49360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49361 and lrintf multiarch implementations.
49362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49363 New file.
49364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49365 New file.
49366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49367 multiarch lrint for PowerPC32.
49368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49369 file: multiarch lrintf for PowerPC32.
49370
49371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49372 and lroundf multiarch implementations.
49373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49374 New file.
49375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49376 New file.
49377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49378 New file.
49379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49380 multiarch lround for PowerPC32.
49381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49382 file: multiarch lroundf for PowerPC32.
49383
49384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49385 copysign and copysignf multiarch implementations.
49386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49387 New file.
49388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49389 New file.
49390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49391 file: multiarch copysign for PowerPC32.
49392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49393 file: multiarch copysignf for PowerPC32.
49394
49395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49396 and truncf multiarch implementations.
49397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49398 New file.
49399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49400 file.
49401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49402 multiarch trunc for PowerPC32.
49403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49404 New file.
49405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49406 New file.
49407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49408 multiarch truncf for PowerPC32.
49409
49410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49411 and roundf multiarch implementations.
49412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49413 New file.
49414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49415 file.
49416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49417 multiarch round for PowerPC32.
49418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49419 New file.
49420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49421 New file.
49422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49423 multiarch roundf for PowerPC32.
49424
49425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49426 and floorf multiarch implementations.
49427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49428 New file.
49429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49430 file.
49431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49432 multiarch floor for PowerPC32.
49433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49434 New file.
49435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49436 New file.
49437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49438 multiarch floorf for PowerPC32.
49439
49440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49441 and ceilf multiarch implementations.
49442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49443 New file.
49444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49445 file.
49446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49447 multiarch ceil for PowerPC32.
49448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49449 New file.
49450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49451 file.
49452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49453 multiarch ceilf for PowerPC32.
49454
49455 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49456 is defined.
49457 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49458 FINITEF is defined.
49459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49460 and finitef multiarch implementations.
49461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49462 New file.
49463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49464 file.
49465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49466 multiarch finite for PowerPC32.
49467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49468 New file.
49469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49470 file: multiarch finitef for PowerPC32.
49471
49472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49473 and isinff multiarch implementations.
49474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49475 file.
49476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49477 file.
49478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49479 multiarch isinf for PowerPC32.
49480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49481 New file.
49482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49483 multiarch isinff for PowerPC32.
49484
49485 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49486 alias when __isnan is defined.
49487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49488 and isnanf multiarch implementations.
49489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49490 file.
49491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49492 file.
49493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49494 file.
49495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49496 file.
49497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49498 multiarch isnan for PowerPC32.
49499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49500 New file.
49501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49502 New file.
49503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49504 multiarch isnanf for PowerPC32.
49505
49506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49507 and sqrtf multiarch implementations.
49508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49509 file.
49510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49511 file.
49512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49513 multiarch sqrt for PowerPC32.
49514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49515 file.
49516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49517 file.
49518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49519 multiarch sqrtf for PowerPC32.
49520
49521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49522 and llroundf multiarch implementations.
49523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49524 New file.
49525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49526 New file.
49527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49528 New file.
49529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49530 file: multiarch llround for PowerPC32.
49531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49532 file: multiarch llroundf for PowerPC32.
49533
49534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49535 multiarch PowerPC32 fpu implementations.
49536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49537 New file.
49538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49539 New file.
49540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49541 multiarch llrint for PowerPC32.
49542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49543 New file.
49544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49545 New file.
49546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49547 file.
49548
49549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49550
49551 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49552 file.
49553 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49554 file.
49555 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49556 file.
49557 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49558 multiarch wordcopy for PPC32.
49559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49560 wordcopy objects.
49561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49562 (__libc_ifunc_impl_list): Likewise.
49563 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49564 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49566 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49567 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49568 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49569
49570 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49571 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49572 file.
49573 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49574 file.
49575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49576 file.
49577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49578 multiarch wcscpy for PPC32.
49579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49580 multiarch objects.
49581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49582 (__libc_ifunc_impl_list): Likewise.
49583 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49584 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49585 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49586 sysdeps/powerpc/power6/wcscpy.c.
49587
49588 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49589 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49590 file.
49591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49592 file.
49593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49594 file.
49595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49596 multiarch wcsrchr for PPC32.
49597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49598 multiarch objects.
49599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49600 (__libc_ifunc_impl_list): Likewise.
49601 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49602 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49603 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49604 sysdeps/powerpc/power6/wcsrchr.c.
49605
49606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49607 file.
49608 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49609 file.
49610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49612 multiarch wcschr for PPc32.
49613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49614 multiarch objects.
49615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49616 (__libc_ifunc_impl_list): Likewise.
49617 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49618 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49619 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49620 sysdeps/powerpc/power6/wcschr.c.
49621
49622 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49623 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49624 file.
49625 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49626 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49627 file: multiarch strchr for PPC32.
49628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49629 multiarch objects.
49630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49631 (__libc_ifunc_impl_list): Likewise.
49632
49633 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49634 name.
49635 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49636 file.
49637 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49638 file.
49639 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49640 multiarch strchrnul for PPC32.
49641 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49642 multiarch objects.
49643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49644 (__libc_ifunc_impl_list): Likewise.
49645
49646 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49647 file.
49648 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49649 multiarch strncasecmp for PPC32.
49650 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49651 file.
49652 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49653 multiarch strncasecmp_l for PPC32.
49654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49655 strncasecmp multiarch objects.
49656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49657 (__libc_ifunc_impl_list): Likewise.
49658
49659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49660 file.
49661 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49662 multiarch strncasecmp for PPC32.
49663 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49664 New file.
49665 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49666 multiarch strcasecmp_l for PPC32.
49667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49668 multiarch objects.
49669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49670 (__libc_ifunc_impl_list): Likewise.
49671
49672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49673 file.
49674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49675 file.
49676 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49677 multiarch strncmp for PPC32.
49678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49679 multiarch objects.
49680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49681 (__libc_ifunc_impl_list): Likewise.
49682
49683 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49684 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49685 file.
49686 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49687 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49688 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49689 multiarch objects.
49690 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49691 (__libc_ifunc_impl_list): Likewise.
49692
49693 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49694 file.
49695 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49696 file.
49697 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49699 multiarch objects.
49700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49701 (__libc_ifunc_impl_list): Likewise.
49702
49703 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49704 file.
49705 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49706 file.
49707 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49708 multiarch rawmemchr for PPC32.
49709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49710 multiarch objects.
49711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49712 (__libc_ifunc_impl_list): Likewise.
49713
49714 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49715 file.
49716 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49717 file.
49718 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49719 file: memrchr multiarch for PPC32.
49720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49721 multiarch objects.
49722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49723 (__libc_ifunc_impl_list): Likewise.
49724
49725 * string/memchr.c (__memchr): Using macro to redefine symbol name.
49726 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49727 file.
49728 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49730 multiarch memchr for PPC32.
49731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49732 multiarch objects.
49733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49734 (__libc_ifunc_impl_list): Likewise.
49735
49736 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49737 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49738 file.
49739 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49740 file.
49741 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49742 file: multiarch mempcpy for PPC32.
49743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49744 multiarch objects.
49745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49746 (__libc_ifunc_impl_list): Likewise.
49747
49748 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49749 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49750 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49751 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49752 multiarch bzero for PPC32.
49753 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49754 file.
49755 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49756 file.
49757 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49758 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49759 file: multiarch memset for PPC32.
49760 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49762 memset multiarch objects.
49763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49764 (__libc_ifunc_impl_list): Likewise.
49765
49766 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49767 file.
49768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49769 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49770 memcmp for PPC32.
49771 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49773 multiarch objects.
49774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49775 (__libc_ifunc_impl_list): Likewise.
49776
49777 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49778 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49779 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49780 file.
49781 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49782 file.
49783 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49784 file.
49785 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49786 multiarch memcpy for PPC32.
49787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49788 multiarch objects.
49789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49790 (__libc_ifunc_impl_list): Likewise.
49791
49792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49793 support multiarch for POWER/PPC32.
49794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49795 Likewise.
49796 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49798 Implies file to make multiarch folder appers before the fpu and
49799 default folder for power4 configuration.
49800
49801 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49802
49803 * scripts/bench.pl: Append volatile keyword to type.
49804
49805 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49806
49807 * sysdeps/sh/sotruss-lib.c: New file.
49808 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49809
49810 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49811
49812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49813
49814 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49815
49816 [BZ #6810]
49817 * math/w_tgamma.c: Include <errno.h>.
49818 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49819 * math/w_tgammaf.c: Include <errno.h>.
49820 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49821 * math/w_tgammal.c: Include <errno.h>.
49822 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49823 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49824 underflow. Add more tgamma tests.
49825 * math/auto-libm-test-out: Regenerated.
49826 * sysdeps/i386/fpu/libm-test-ulps: Update.
49827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49828
49829 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49830 sin, sinh, tan, tanh, tgamma, y0 and y1.
49831 * math/auto-libm-test-out: Regenerated.
49832 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49833 (TEST_COND_x86): Likewise.
49834 (M_E2l): Remove macro.
49835 (M_E3l): Likewise.
49836 (M_2_SQRT_PIl): Likewise.
49837 (M_SQRT_PIl): Likewise.
49838 (M_1_DIV_El): Likewise.
49839 (log_test_data): Use AUTO_TESTS_f_f.
49840 (log10_test_data): Likewise.
49841 (log1p_test_data): Likewise.
49842 (log2_test_data): Likewise.
49843 (sin_test_data): Likewise.
49844 (sin_tonearest_test_data): Likewise.
49845 (sin_towardzero_test_data): Likewise.
49846 (sin_downward_test_data): Likewise.
49847 (sin_upward_test_data): Likewise.
49848 (sinh_test_data): Likewise.
49849 (sinh_tonearest_test_data): Likewise.
49850 (sinh_towardzero_test_data): Likewise.
49851 (sinh_downward_test_data): Likewise.
49852 (sinh_upward_test_data): Likewise.
49853 (tan_test_data): Likewise.
49854 (tan_tonearest_test_data): Likewise.
49855 (tan_towardzero_test_data): Likewise.
49856 (tan_downward_test_data): Likewise.
49857 (tan_upward_test_data): Likewise.
49858 (tanh_test_data): Likewise.
49859 (tgamma_test_data): Likewise.
49860 (y0_test_data): Likewise.
49861 (y1_test_data): Likewise.
49862 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49863 (special_real_inputs): Add pi/4.
49864 * sysdeps/i386/fpu/libm-test-ulps: Update.
49865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49866
49867 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49868
49869 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49870 "longjmp_target" static probes.
49871 (__longjmp): Rename to __longjmp_symbol.
49872 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49873 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49874 on which longjmp to generate.
49875 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49876 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49877 probe.
49878 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49879 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49880 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49881 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49882 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49883 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49885 __longjmp_symbol based on which __longjmp to generate.
49886 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49887 probe.
49888 (setjmp): Rename to setjmp_symbol.
49889 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49890 (_setjmp): Rename to _setjmp_symbol.
49891 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49892 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49893 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49894 which setjmp to generate.
49895 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49896 "longjmp_target" static probes.
49897
49898 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49899
49900 * benchtests/README: Add note about output arguments.
49901 * benchtests/bench-sincos.c: Remove file.
49902 * benchtests/sincos-inputs: New file.
49903 * scripts/bench.pl: Identify output arguments and define
49904 static variables for them.
49905
49906 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49907
49908 [BZ #15941]
49909 * Makefile (INSTALL): Add install-plain.texi as the primary
49910 dependency.
49911 * manual/install-plain.texi: New file.
49912 * manual/install.texi: Include node directive only for
49913 non-plaintext output.
49914
49915 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49916
49917 * stdlib/longlong.h: Update from GCC.
49918
49919 [BZ #6807]
49920 [BZ #15901]
49921 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49922 * math/w_j0f.c (y0f): Likewise.
49923 * math/w_j0l.c (__y0l): Likewise.
49924 * math/w_j1.c (y1): Likewise.
49925 * math/w_j1f.c (y1f): Likewise.
49926 * math/w_j1l.c (__y1l): Likewise.
49927 * math/w_jn.c (yn): Likewise.
49928 * math/w_jnf.c (ynf): Likewise.
49929 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49930 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49931 value for Bessel function domain errors outside _SVID_ mode.
49932 Adjust sign of return value for yn (negative integer, 0).
49933 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49934 by zero in return for negative x and set sign appropriately for
49935 negative n.
49936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49937 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49938 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49939 expectations in error cases.
49940 (y1_test_data): Likewise.
49941 (yn_test_data): Likewise.
49942 * sysdeps/i386/fpu/libm-test-ulps: Update.
49943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49944
49945 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49946
49947 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49948 "64" to "64-v1". Add "64-v2".
49949 (abi-64-options): Rename to ...
49950 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49951 (abi-64-condition): Rename to ...
49952 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49953 (abi-64-ld-soname): Rename to ...
49954 (abi-64-v1-ld-soname): ... this.
49955 (abi-64-v2-options): Define.
49956 (abi-64-v2-condition): Likewise.
49957 (abi-64-v2-ld-soname): Likewise.
49958 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49959 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49963
49964 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49965 Alan Modra <amodra@gmail.com>
49966
49967 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49968 New versions for use with the ELFv2 ABI.
49969 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49970 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49971 declaration.
49972 (struct La_ppc64v2_retval): Likewise.
49973 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49974 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49975 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49976 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49977 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49978 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49979 Do not save or restore CR.
49980 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49981 (_dl_profile_resolve): Do no save or restore CR. Support extended
49982 return values for ELFv2 ABI. Fix location of FPR return registers.
49983 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49984 updated values for _CALL_ELF == 2.
49985 (La_regs, La_retval, int_retval): Likewise.
49986
49987 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49988
49989 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49990 (FRAME_MIN_SIZE_PARM): Likewise.
49991 (FRAME_BACKCHAIN): Likewise.
49992 (FRAME_CR_SAVE): Likewise.
49993 (FRAME_LR_SAVE): Likewise.
49994 (FRAME_TOC_SAVE): Likewise.
49995 (FRAME_PARM_SAVE): Likewise.
49996 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49997 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49998 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49999 (call_mcount_parm_offset): New macro.
50000 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50001 (PROF): Use symbolic stack frame offsets.
50002 (TAIL_CALL_SYSCALL_ERROR): Likewise.
50003 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50004 Redefine in terms of FRAME_MIN_SIZE.
50005 (_dl_runtime_resolve): Use symbolic stack frame offsets.
50006 (_dl_profile_resolve): Likewise. Update comment.
50007 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50008 symbols stack frame offsets.
50009 (__sigsetjmp): Likewise.
50010 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50011 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50012 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50013 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50014
50015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50016 (FRAME_BACKCHAIN): Remove.
50017 (FRAME_CR_SAVE): Likewise.
50018 (FRAME_LR_SAVE): Likewise.
50019 (FRAME_COMPILER_DW): Likewise.
50020 (FRAME_LINKER_DW): Likewise.
50021 (FRAME_TOC_SAVE): Likewise.
50022 (FRAME_PARM_SAVE): Likewise.
50023 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50024 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50025 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50027 (CHECK_SP): Use symbolic stack frame offsets.
50028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50029 zone" instead of caller's parameter save area for temp storage.
50030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50031 Likewise. Also, use symbolic stack frame offsets.
50032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50033 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50034 our own stack frame instead of the caller's.
50035 (__socket): Use symbolic stack frame offsets.
50036
50037 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50038 Alan Modra <amodra@gmail.com>
50039
50040 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50041 Define.
50042 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50043 (PPC64_LOCAL_ENTRY_OFFSET): Define.
50044 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50045 New function.
50046 (elf_machine_fixup_plt): Call it.
50047 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
50048 reloc arguments.
50049 (elf_machine_rela): Update call to elf_machine_plt_conflict.
50050 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50051 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50052 r2 before calling target.
50053
50054 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50055 Alan Modra <amodra@gmail.com>
50056
50057 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50058 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50059 versions of macros to support ELFv2 ABI.
50060 (LOCALENTRY): New macro.
50061 (ENTRY, EALIGN): Use it.
50062 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50063 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50064 fall through into ENTRY entry point.
50065 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50066 Only define if _CALL_ELF != 2.
50067
50068 (elf_machine_matches_host): Verify ABI version matches.
50069 (RTLD_START): Use LOCALENTRY.
50070 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50071 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50072 (PLT_ENTRY_WORDS): New macro.
50073 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50074 (elf_machine_runtime_setup): Support ELFv2 ABI.
50075 (elf_machine_fixup_plt): Likewise.
50076 (elf_machine_plt_conflict): Likewise.
50077 (resolve_ifunc): Likewise.
50078 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50079 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50080 Likewise.
50081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50082 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50084 (makecontext): Support ELFv2 ABI.
50085 * elf/elf.h (EF_PPC64_ABI): Define.
50086
50087 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50088
50089 * sysdeps/powerpc/powerpc64/sysdep.h
50090 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50091 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50092 (ENTRY) [ASSEMBLER]: ... but instead here ...
50093 (EALIGN) [ASSEMBLER]: ... and here.
50094 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50095 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50096 (ENTRY_2) [!ASSEMBLER]: Use it.
50097 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50098 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
50099 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50100 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50101 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50103 Use PPC64_LOAD_FUNCPTR.
50104
50105 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50106
50107 2013-12-04 Alan Modra <amodra@gmail.com>
50108
50109 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50110 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50111 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50112 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50113
50114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50115 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50116 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50117 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50118 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50119 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50120
50121 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50122
50123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50124 (__makecontext): Fix incorrect CFI when backtracing out of
50125 context created via makecontext.
50126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50127 (__setcontext): Fix incorrect CFI during switch to new context.
50128 (__novec_setcontext): Likewise.
50129
50130 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50131
50132 [BZ #4772]
50133 * time/strptime_l.c (__strptime_internal): Allow modifiers
50134 in strptime.
50135 * time/tst-strptime.c (day_tests): Add testcase.
50136
50137 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50138
50139 * scripts/bench.pl: Skip over blank lines.
50140
50141 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
50142
50143 [BZ #926]
50144 * manual/time.texi (Calendar Time): Clarify what timezone functions
50145 use.
50146
50147 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50148
50149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50150
50151 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50152
50153 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50154 implementation.
50155 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50156 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50157 * debug/memset_chk.c (__memset_chk): Likewise.
50158 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50159 * debug/strncpy_chk.c: Likewise.
50160
50161 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50162
50163 [BZ #15268]
50164 [BZ #15425]
50165 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50166 (__ieee754_exp): For possibly underflowing results, check size of
50167 result and force underflow exception if required.
50168 * math/auto-libm-test-in: Add more tests of exp.
50169 * math/auto-libm-test-out: Regenerated.
50170 * sysdeps/i386/fpu/libm-test-ulps: Update.
50171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50172
50173 [BZ #16283]
50174 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50175 * math/w_exp2f.c (__exp2f): Likewise.
50176 * math/w_exp2l.c (__exp2l): Likewise.
50177 * math/auto-libm-test-in: Do not allow missing errno on exp2
50178 underflow.
50179 * math/auto-libm-test-out: Regenerated.
50180
50181 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
50182
50183 [BZ #16274]
50184 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50185 handle filename validation.
50186 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50187 (do_open): Delete.
50188
50189 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50190
50191 [BZ #6786]
50192 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50193 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50194 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50195 <float.h>.
50196 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50197 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50198 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50200 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50202 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50203 * math/auto-libm-test-in: Don't allow missing errno from erfc.
50204 Add more erfc tests.
50205 * math/auto-libm-test-out: Regenerated.
50206 * sysdeps/i386/fpu/libm-test-ulps: Update.
50207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50208
50209 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50210 exp2, expm1, j0 and j1.
50211 * math/auto-libm-test-out: Regenerated.
50212 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50213 (erfc_test_data): Likewise.
50214 (exp_test_data): Likewise.
50215 (exp_tonearest_test_data): Likewise.
50216 (exp_towardzero_test_data): Likewise.
50217 (exp_downward_test_data): Likewise.
50218 (exp_upward_test_data): Likewise.
50219 (exp10_test_data): Likewise.
50220 (exp2_test_data): Likewise.
50221 (expm1_test_data): Likewise.
50222 (j0_test_data): Likewise.
50223 (j1_test_data): Likewise.
50224 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50225 (input_flag_type): Add flag_xfail_rounding.
50226 (input_flags): Add xfail-rounding.
50227 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50228 (output_for_one_input_case): Handle flag_xfail_rounding.
50229 * sysdeps/i386/fpu/libm-test-ulps: Update.
50230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50231
50232 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
50233
50234 [BZ #16289]
50235 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50236 division by 0.
50237
50238 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50239
50240 [BZ #16195]
50241 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50242 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50243 (STAP_PROBE0): New macro.
50244 (STAP_PROBE1): Likewise.
50245 (STAP_PROBE2): Likewise.
50246 (STAP_PROBE3): Likewise.
50247 (STAP_PROBE4): Likewise.
50248
50249 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
50250
50251 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50252
50253 2013-12-02 Steve Ellcey <sellcey@mips.com>
50254
50255 * benchtests/Makefile (bench): Add sqrt.
50256 (LDLIBS-bench-sqrt): New.
50257 * benchtests/sqrt-input: New.
50258
50259 2013-12-02 Pavel Simerda <psimerda@redhat.com>
50260
50261 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50262 (GAIH_EAI): Likewise.
50263 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50264 (gaih_inet): Likewise.
50265 (getaddrinfo): Don't use GAIH_EAI.
50266
50267 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50268 (struct gaih): Remove definition.
50269
50270 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50271
50272 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50273 Use HERRNOP directly.
50274
50275 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50276
50277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50278
50279 2013-11-30 Joseph Myers <joseph@codesourcery.com>
50280
50281 * math/gen-auto-libm-tests.c (test_functions): Add more
50282 single-argument functions.
50283 (special_fill_pi_2): New function.
50284 (special_fill_minus_pi_2): Likewise.
50285 (special_fill_pi_6): Likewise.
50286 (special_fill_minus_pi_6): Likewise.
50287 (special_fill_pi_3): Likewise.
50288 (special_fill_2pi_3): Likewise.
50289 (special_fill_e): Likewise.
50290 (special_fill_1_e): Likewise.
50291 (special_fill_e_minus_1): Likewise.
50292 (special_real_inputs): Add more special inputs.
50293 (output_for_one_input_case): Do not require ERANGE on underflow to
50294 zero if round-to-nearest result does not underflow to zero, unless
50295 exact results required.
50296 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50297 atan, atanh, cbrt, cos and cosh.
50298 * math/auto-libm-test-out: Regenerated.
50299 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50300 (acos_tonearest_test_data): Likewise.
50301 (acos_towardzero_test_data): Likewise.
50302 (acos_downward_test_data): Likewise.
50303 (acos_upward_test_data): Likewise.
50304 (acosh_test_data): Likewise.
50305 (asin_test_data): Likewise.
50306 (asin_tonearest_test_data): Likewise.
50307 (asin_towardzero_test_data): Likewise.
50308 (asin_upward_test_data): Likewise.
50309 (asinh_test_data): Likewise.
50310 (atan_test_data): Likewise.
50311 (atanh_test_data): Likewise.
50312 (cbrt_test_data): Likewise.
50313 (cos_test_data): Likewise.
50314 (cos_tonearest_test_data): Likewise.
50315 (cos_towardzero_test_data): Likewise.
50316 (cos_downward_test_data): Likewise.
50317 (cos_upward_test_data): Likewise.
50318 (cosh_test_data): Likewise.
50319 (cosh_tonearest_test_data): Likewise.
50320 (cosh_towardzero_test_data): Likewise.
50321 (cosh_downward_test_data): Likewise.
50322 (cosh_upward_test_data): Likewise.
50323 * sysdeps/i386/fpu/libm-test-ulps: Update.
50324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50325
50326 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50327
50328 [BZ #6787]
50329 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50330 * math/w_exp10f.c (__exp10f): Likewise.
50331 * math/w_exp10l.c (__exp10l): Likewise.
50332 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50333 errno settings in existing tests.
50334
50335 [BZ #14032]
50336 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50337 precision control set to double precision.
50338 * sysdeps/i386/fpu/w_sqrt.c: New file.
50339 * math/auto-libm-test-in: Add more tests.
50340 * math/auto-libm-test-out: Update.
50341
50342 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50343 (sqrt_test_tonearest): New function.
50344 (sqrt_towardzero_test_data): New variable.
50345 (sqrt_test_towardzero): New function.
50346 (sqrt_downward_test_data): New variable.
50347 (sqrt_test_downward): New function.
50348 (sqrt_upward_test_data): New variable.
50349 (sqrt_test_upward): New function.
50350 (main): Call the new functions.
50351
50352 * math/gen-auto-libm-tests.c: New file.
50353 * math/auto-libm-test-in: Likewise.
50354 * math/auto-libm-test-out: New generated file.
50355 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50356 variables.
50357 (%beautify): Add generated representations of zero.
50358 (top level): Set $auto_input and call parse_auto_input.
50359 (beautify): Remove trailing "f" from hex float constants.
50360 (parse_args): Handle XFAIL_TEST.
50361 (convert_condition): New function.
50362 (or_value): Likewise.
50363 (or_cond_value): Likewise.
50364 (generate_testfile): Handle AUTO_TESTS_* lines.
50365 (parse_auto_input): New function.
50366 * math/libm-test.inc (XFAIL_TEST): New macro.
50367 (ERRNO_UNCHANGED): Update value.
50368 (ERRNO_EDOM): Likewise.
50369 (ERRNO_ERANGE): Likewise.
50370 (IGNORE_RESULT): Likewise.
50371 (TEST_COND_flt_32): New macro.
50372 (TEST_COND_dbl_64): Likewise.
50373 (TEST_COND_ldbl_96_intel): Likewise.
50374 (TEST_COND_ldbl_96_m68k): Likewise.
50375 (TEST_COND_ldbl_128): Likewise.
50376 (TEST_COND_ldbl_128ibm): Likewise.
50377 (TEST_COND_long32): Likewise.
50378 (TEST_COND_long64): Likewise.
50379 (TEST_COND_before_rounding): Likewise.
50380 (TEST_COND_after_rounding): Likewise.
50381 (enable_test): Handle XFAIL_TEST flag.
50382 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50383 with finite results.
50384 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50385 auto-libm-test-out.
50386
50387 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50388 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50389
50390 [BZ #16214]
50391 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50392 __tls_get_addr_internal instead of __tls_get_offset in order to
50393 avoid GOT pointer dependency. Make rtld export
50394 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50395 __tls_get_addr since we are a __tls_get_offset platform.
50396 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50397 GOT pointer being set up before.
50398 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50399
50400 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50401
50402 * manual/math.texi (Errors in Math Functions): Document accuracy
50403 goals.
50404
50405 [BZ #15004]
50406 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50407 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50409 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50410 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50411 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50412 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50414 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50415 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50417 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50418 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50419 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50421 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50422
50423 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50424 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50425 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50426 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50427 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50428 Likewise.
50429 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50430 Likewise.
50431 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50432 Likewise.
50433 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50434 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50435 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50436 atomic-feupdateenv and flt-rounds.
50437 * sysdeps/powerpc/nofpu/Versions (libc): Add
50438 __atomic_feholdexcept, __atomic_feclearexcept,
50439 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50440 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50441 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50442 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50443 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50444 here.
50445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50446 Update.
50447
50448 * manual/arith.texi (FP Exceptions): Document that exceptions may
50449 not be raised when matherr is used.
50450 (Math Error Reporting): Document overflow in directed rounding
50451 modes. Document that errno may not be set when finite values are
50452 returned on overflow. Document intent to set errno on underflow
50453 only for underflow to zero.
50454
50455 [BZ #16271]
50456 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50457 round-to-nearest then adjust result for other rounding modes.
50458 * include/fenv.h (fegetround): Use libm_hidden_proto.
50459 * math/fegetround.c (fegetround): Use libm_hidden_def.
50460 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50461 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50462 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50463 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50464 Likewise.
50465 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50466 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50467 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50468 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50469
50470 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50471
50472 [BZ #16077]
50473 * nss/Versions (libnss_files): Add
50474 _nss_files_gethostbyname3_r.
50475 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50476 New function.
50477 (HOST_DB_LOOKUP): Remove macro.
50478 (_nss_files_gethostbyname_r): Implement function without the
50479 HOST_DB_LOOKUP macro.
50480 (_nss_files_gethostbyname2_r): Likewise.
50481
50482 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50483
50484 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50485
50486 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50487
50488 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50489 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50490 warning.
50491
50492 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50493
50494 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50495 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50496 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50497 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50498 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50499 __fe_nomask_env_priv and attribute_hidden.
50500 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50501 (libc_feupdateenv_test_ppc): Likewise.
50502 (libc_feresetround_ppc): Likewise.
50503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50504 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50505 compat_symbol macro.
50506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50507 (__fe_nomask_env): Likewise.
50508 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50509
50510 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50511
50512 * string/Makefile: Remove ifunc tests.
50513 * string/test-string.h: Define TEST_IFUNC.
50514 * string/test-bcopy-ifunc.c: Remove.
50515 * string/test-bzero-ifunc.c: Likewise.
50516 * string/test-memccpy-ifunc.c: Likewise.
50517 * string/test-memchr-ifunc.c: Likewise.
50518 * string/test-memcmp-ifunc.c: Likewise.
50519 * string/test-memcpy-ifunc.c: Likewise.
50520 * string/test-memmem-ifunc.c: Likewise.
50521 * string/test-memmove-ifunc.c: Likewise.
50522 * string/test-mempcpy-ifunc.c: Likewise.
50523 * string/test-memrchr-ifunc.c: Likewise.
50524 * string/test-memset-ifunc.c: Likewise.
50525 * string/test-rawmemchr-ifunc.c: Likewise.
50526 * string/test-stpcpy-ifunc.c: Likewise.
50527 * string/test-stpncpy-ifunc.c: Likewise.
50528 * string/test-strcasecmp-ifunc.c: Likewise.
50529 * string/test-strcasestr-ifunc.c: Likewise.
50530 * string/test-strcat-ifunc.c: Likewise.
50531 * string/test-strchr-ifunc.c: Likewise.
50532 * string/test-strchrnul-ifunc.c: Likewise.
50533 * string/test-strcmp-ifunc.c: Likewise.
50534 * string/test-strcpy-ifunc.c: Likewise.
50535 * string/test-strcspn-ifunc.c: Likewise.
50536 * string/test-strlen-ifunc.c: Likewise.
50537 * string/test-strncasecmp-ifunc.c: Likewise.
50538 * string/test-strncat-ifunc.c: Likewise.
50539 * string/test-strncmp-ifunc.c: Likewise.
50540 * string/test-strncpy-ifunc.c: Likewise.
50541 * string/test-strnlen-ifunc.c: Likewise.
50542 * string/test-strpbrk-ifunc.c: Likewise.
50543 * string/test-strrchr-ifunc.c: Likewise.
50544 * string/test-strspn-ifunc.c: Likewise.
50545 * string/test-strstr-ifunc.c: Likewise.
50546
50547 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50548
50549 * benchtests/Makefile: Remove ifunc tests.
50550 * benchtests/bench-string.h: Define TEST_IFUNC.
50551 * benchtests/bench-bcopy-ifunc.c: Remove.
50552 * benchtests/bench-bzero-ifunc.c: Likewise.
50553 * benchtests/bench-memccpy-ifunc.c: Likewise.
50554 * benchtests/bench-memchr-ifunc.c: Likewise.
50555 * benchtests/bench-memcmp-ifunc.c: Likewise.
50556 * benchtests/bench-memcpy-ifunc.c: Likewise.
50557 * benchtests/bench-memmem-ifunc.c: Likewise.
50558 * benchtests/bench-memmove-ifunc.c: Likewise.
50559 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50560 * benchtests/bench-memrchr-ifunc.c: Likewise.
50561 * benchtests/bench-memset-ifunc.c: Likewise.
50562 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50563 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50564 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50565 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50566 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50567 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50568 * benchtests/bench-strcat-ifunc.c: Likewise.
50569 * benchtests/bench-strchr-ifunc.c: Likewise.
50570 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50571 * benchtests/bench-strcmp-ifunc.c: Likewise.
50572 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50573 * benchtests/bench-strcpy-ifunc.c: Likewise.
50574 * benchtests/bench-strcspn-ifunc.c: Likewise.
50575 * benchtests/bench-strlen-ifunc.c: Likewise.
50576 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50577 * benchtests/bench-strncat-ifunc.c: Likewise.
50578 * benchtests/bench-strncmp-ifunc.c: Likewise.
50579 * benchtests/bench-strncpy-ifunc.c: Likewise.
50580 * benchtests/bench-strnlen-ifunc.c: Likewise.
50581 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50582 * benchtests/bench-strrchr-ifunc.c: Likewise.
50583 * benchtests/bench-strsep-ifunc.c: Likewise.
50584 * benchtests/bench-strspn-ifunc.c: Likewise.
50585 * benchtests/bench-strstr-ifunc.c: Likewise.
50586
50587 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50588
50589 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50590
50591 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50592
50593 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50594 * rt/aio.h: Likewise.
50595 * sysdeps/gnu/bits/utmp.h: Likewise.
50596 * sysdeps/gnu/bits/utmpx.h: Likewise.
50597 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50598 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50599 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50600 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50601 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50602 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50603 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50604 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50605 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50606 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50607 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50608 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50609 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50611 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50612 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50613 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50614 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50615 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50616 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50617 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50618 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50619 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50620 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50621 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50623 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50624 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50625 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50626 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50627 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50628 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50629 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50630 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50631 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50632 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50633 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50634 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50635 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50636 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50637 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50638 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50639
50640 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50641
50642 [BZ #16245]
50643 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50644 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50645
50646 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50647
50648 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50649 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50650 Likewise.
50651
50652 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50653
50654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50655 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50656 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50657 (__fesetround): Remove define.
50658 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50659 rounding and exceptions handling.
50660 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50661 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50662 (__fe_nomask_env): Likewise.
50663 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50664 __fegetround instead of fegetround.
50665 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50666 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50667
50668 2013-11-21 Roland McGrath <roland@hack.frob.com>
50669
50670 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50671 it's there.
50672
50673 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50674
50675 2013-11-21 Meador Inge <meadori@codesourcery.com>
50676
50677 [BZ #11157]
50678 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50679 (encrypt_r): Likewise.
50680 * malloc/obstack.h (obstack_free): Likewise.
50681 * posix/unistd.h (encrypt): Likewise.
50682
50683 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50684
50685 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50686 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50687 DL_CALL_DT_FINI() that call the functions directly.
50688 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50689 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50690 * elf/dl-fini.c: Likewise.
50691
50692 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50693
50694 * malloc/hooks.c (memalign_check): Add alignment rounding.
50695 * malloc/malloc.c (_mid_memalign): New function.
50696 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50697 Implement by calling _mid_memalign.
50698 * manual/probes.texi (Memory Allocation Probes): Remove
50699 memory_valloc_retry and memory_pvalloc_retry.
50700
50701 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50702
50703 * locale/programs/locarchive.c (open_archive): Add const
50704 qualifier to ARCHIVEFNAME and copy default fname to
50705 DEFAULT_FNAME.
50706
50707 [BZ #15601]
50708 * libio/tst-widetext.input: Rename Oriya to Odia.
50709 * locale/iso-639.def: Likewise.
50710
50711 * manual/probes.texi (Mathematical Function Probes): Add
50712 documentation for sin, cos, asin and acos probes.
50713 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50714 (__sin32): Add slowasin probe.
50715 (__cos32): Add slowacos probe.
50716 (__mpsin): Add slowsin probe.
50717 (__mpcos): Add slowcos probe.
50718
50719 2013-11-19 Joseph Myers <joseph@codesourcery.com>
50720
50721 [BZ #15483]
50722 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50723 thread-local __sim_exceptions_thread and global
50724 __sim_exceptions_global.
50725 (__sim_disabled_exceptions): Change to thread-local
50726 __sim_disabled_exceptions_thread and global
50727 __sim_disabled_exceptions_global.
50728 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50729 and global __sim_round_mode_global.
50730 (__simulate_exceptions): Use thread-local floating-point state and
50731 set global state from it as needed.
50732 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50733 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50734 __sim_round_mode_thread.
50735 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50736 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50737 and global __sim_exceptions_global.
50738 (__sim_disabled_exceptions): Change to thread-local
50739 __sim_disabled_exceptions_thread and global
50740 __sim_disabled_exceptions_global.
50741 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50742 and global __sim_round_mode_global.
50743 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50744 (SIM_SET_GLOBAL): Likewise.
50745 * sysdeps/powerpc/soft-fp/sfp-machine.h
50746 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50747 __sim_round_mode_thread.
50748 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50749 __sim_disabled_exceptions_thread.
50750 (__sim_exceptions): Change to __sim_exceptions_thread.
50751 (__sim_disabled_exceptions): Change to
50752 __sim_disabled_exceptions_thread.
50753 (__sim_round_mode): Change to __sim_round_mode_thread.
50754 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50755 thread-local floating-point state and set global state from it as
50756 needed.
50757 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50758 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50759 (__sim_disabled_exceptions): Remove extern declaration.
50760 (feenableexcept): Use thread-local floating-point state and set
50761 global state from it as needed.
50762 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50763 extern declaration.
50764 (__sim_disabled_exceptions): Likewise.
50765 (__sim_round_mode): Likewise.
50766 (__fegetenv): Use thread-local floating-point state.
50767 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50768 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50769 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50770 floating-point state and set global state from it as needed.
50771 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50772 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50773 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50774 Likewise.
50775 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50776 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50777 Likewise.
50778 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50779 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50780 Use __sim_round_mode_thread.
50781 * math/test-fenv-tls.c: New file.
50782 * math/Makefile (tests): Add test-fenv-tls.
50783 ($(objpfx)test-fenv-tls): Depend on
50784 $(common-objpfx)nptl/libpthread.so.
50785
50786 2013-11-19 Andreas Schwab <schwab@suse.de>
50787
50788 * locale/programs/locale.c (show_info): Decode wordarray elements.
50789 * locale/categories.def (LC_MONETARY): Add element for
50790 _NL_MONETARY_CRNCYSTR.
50791 * locale/C-monetary.c (conversion_rate): New variable.
50792 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50793 element.
50794
50795 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50796
50797 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50798 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50799
50800 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50801
50802 * elf/Makefile (tst-auxv): New test.
50803 * elf/tst-auxv.c: New
50804 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50805
50806 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50807
50808 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50809 (hidden_proto): Caller changed.
50810 (hidden_tls_proto): New macro.
50811 (libc_hidden_tls_proto): Likewise.
50812 (rtld_hidden_tls_proto): Likewise.
50813 (libm_hidden_tls_proto): Likewise.
50814 (libresolv_hidden_tls_proto): Likewise.
50815 (librt_hidden_tls_proto): Likewise.
50816 (libdl_hidden_tls_proto): Likewise.
50817 (libnss_files_hidden_tls_proto): Likewise.
50818 (libnsl_hidden_tls_proto): Likewise.
50819 (libnss_nisplus_hidden_tls_proto): Likewise.
50820 (libutil_hidden_tls_proto): Likewise.
50821
50822 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50823
50824 [BZ #10253]
50825 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50826 (decompose_rpath): Defer expansion to fillin_rpath.
50827 (_dl_init_paths): Pass linkmap to fillin_rpath.
50828
50829 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50830
50831 * benchtests/Makefile: Add strsep.
50832 * benchtests/bench-strsep.c: New file: strsep benchtest.
50833 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50834
50835 2013-11-18 Andreas Schwab <schwab@suse.de>
50836
50837 * locale/programs/locale.c (show_info) [case byte]: Check for
50838 '\377' instead of '\177'.
50839 * locale/C-monetary.c (not_available): Always use "\377".
50840 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50841 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50842 detect unavailable sign_posn locale elements.
50843 * locale/localeconv.c (__localeconv): For grouping and
50844 mon_grouping handle "\177" and "\377" like no grouping.
50845 (INT_ELEM): New macro. Use it to set all numeric members.
50846 * locale/programs/ld-monetary.c (monetary_read)
50847 <tok_mon_grouping>: Normalize single -1 to the empty string.
50848 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50849 Likewise.
50850
50851 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50852
50853 [BZ #16055]
50854 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50855 when we match (nil).
50856 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50857
50858 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50859
50860 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50861 (NO_TEST_INLINE): Update value.
50862 (ERRNO_UNCHANGED): Likewise.
50863 (ERRNO_EDOM): Likewise.
50864 (ERRNO_ERANGE): Likewise.
50865 (IGNORE_RESULT): Likewise.
50866 (check_float_internal): Check signs of NaN results if
50867 TEST_NAN_SIGN used.
50868 (check_complex): Pass TEST_NAN_SIGN flag through to second
50869 check_float_internal call.
50870 (copysign_test_data): Add tests with quiet NaNs as second
50871 argument. Use TEST_NAN_SIGN.
50872 (fabs_test_data): Add test of negative quiet NaN argument. Use
50873 TEST_NAN_SIGN.
50874 (signbit_test_data): Add tests of quiet NaN argument.
50875 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50876
50877 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50878 $ignore_result.
50879 (parse_args): Handle function results specified as IGNORE.
50880 * math/libm-test.inc (IGNORE_RESULT): New macro.
50881 (check_float_internal): Do not check numerical result if flag
50882 IGNORE_RESULT set.
50883 (check_complex): Pass through IGNORE_RESULT to second
50884 check_float_internal call.
50885 (check_int): Do not check numerical result if flag IGNORE_RESULT
50886 set.
50887 (check_long): Likewise.
50888 (check_bool): Likewise.
50889 (check_longlong): Likewise.
50890 (lrint_test_data): Add tests of infinite and NaN arguments.
50891 (lrint_tonearest_test_data): Likewise.
50892 (lrint_towardzero_test_data): Likewise.
50893 (lrint_downward_test_data): Likewise.
50894 (lrint_upward_test_data): Likewise.
50895 (llrint_test_data): Likewise.
50896 (llrint_tonearest_test_data): Likewise.
50897 (llrint_towardzero_test_data): Likewise.
50898 (llrint_downward_test_data): Likewise.
50899 (llrint_upward_test_data): Likewise.
50900 (lround_test_data): Likewise.
50901 (llround_test_data): Likewise.
50902
50903 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50904 (ERRNO_UNCHANGED): Update value.
50905 (ERRNO_EDOM): Likewise.
50906 (ERRNO_ERANGE): Likewise.
50907 (NO_TEST_INLINE_FLOAT): New macro.
50908 (NO_TEST_INLINE_DOUBLE): Likewise.
50909 (enable_test): New function.
50910 (RUN_TEST_f_f): Check enable_test before running test.
50911 (RUN_TEST_2_f): Likewise.
50912 (RUN_TEST_fff_f): Likewise.
50913 (RUN_TEST_c_f): Likewise.
50914 (RUN_TEST_f_f1): Likewise.
50915 (RUN_TEST_fF_f1): Likewise.
50916 (RUN_TEST_fI_f1): Likewise.
50917 (RUN_TEST_ffI_f1): Likewise.
50918 (RUN_TEST_c_c): Likewise.
50919 (RUN_TEST_cc_c): Likewise.
50920 (RUN_TEST_f_i): Likewise.
50921 (RUN_TEST_f_i_tg): Likewise.
50922 (RUN_TEST_ff_i_tg): Likewise.
50923 (RUN_TEST_f_b): Likewise.
50924 (RUN_TEST_f_b_tg): Likewise.
50925 (RUN_TEST_f_l): Likewise.
50926 (RUN_TEST_f_L): Likewise.
50927 (RUN_TEST_fFF_11): Likewise.
50928 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50929 conditionals.
50930 (cosh_test_data): Likewise.
50931 (exp_test_data): Likewise.
50932 (expm1_test_data): Likewise.
50933 (hypot_test_data): Likewise.
50934 (pow_test_data): Likewise.
50935 (sinh_test_data): Likewise.
50936 (tanh_test_data): Likewise.
50937 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50938 flags argument.
50939
50940 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50941 tests with quiet NaN input and output.
50942 (acosh_test_data): Likewise.
50943 (asin_test_data): Likewise.
50944 (asinh_test_data): Likewise.
50945 (atan_test_data): Likewise.
50946 (atanh_test_data): Likewise.
50947 (atan2_test_data): Likewise.
50948 (cbrt_test_data): Likewise.
50949 (cos_test_data): Likewise.
50950 (cosh_test_data): Likewise.
50951 (erf_test_data): Likewise.
50952 (erfc_test_data): Likewise.
50953 (exp_test_data): Likewise.
50954 (exp10_test_data): Likewise.
50955 (exp2_test_data): Likewise.
50956 (expm1_test_data): Likewise.
50957 (hypot_test_data): Likewise.
50958 (j0_test_data): Likewise.
50959 (j1_test_data): Likewise.
50960 (jn_test_data): Likewise.
50961 (lgamma_test_data): Likewise.
50962 (log_test_data): Likewise.
50963 (log10_test_data): Likewise.
50964 (log1p_test_data): Likewise.
50965 (log2_test_data): Likewise.
50966 (pow_test_data): Likewise.
50967 (scalb_test_data): Likewise.
50968 (sin_test_data): Likewise.
50969 (sincos_test_data): Likewise.
50970 (sinh_test_data): Likewise.
50971 (tan_test_data): Likewise.
50972 (tanh_test_data): Likewise.
50973 (tgamma_test_data): Likewise.
50974 (y0_test_data): Likewise.
50975 (y1_test_data): Likewise.
50976 (yn_test_data): Likewise.
50977
50978 [BZ #16167]
50979 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50980 argument being NaN and avoid computations with second argument in
50981 that case.
50982 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50983 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50984 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50985
50986 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50987
50988 * locale/iso-639.def: Add Chitwani Tharu (the).
50989
50990 2013-11-14 Andreas Schwab <schwab@suse.de>
50991
50992 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50993 word instead of empty string.
50994
50995 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50996
50997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50998 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51000 (__fe_nomask_env): Likewise.
51001
51002 2013-11-13 Steve Ellcey <sellcey@mips.com>
51003
51004 * benchtests/bench-timing.h: Include time.h.
51005
51006 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
51007
51008 [BZ #15997]
51009 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51010 to 3.4.0 for x32.
51011 * sysdeps/unix/sysv/linux/configure: Regenerated.
51012
51013 2013-11-13 Joseph Myers <joseph@codesourcery.com>
51014
51015 [BZ #16151]
51016 * stdlib/strtod_l.c (round_and_return): Do not consider
51017 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51018 exponent one less than half the least subnormal exponent.
51019 * stdlib/test-strtod-round-data: Add more tests.
51020 * stdlib/tst-strtod-round.c (tests): Regenerated.
51021
51022 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51023
51024 [BZ #14143]
51025 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51026 (__fe_mask_env): Likewise.
51027 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51028 libm_hidden_proto and add function prototype.
51029 (__fe_mask_env): Add function prototype.
51030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51031 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51033 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51035 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51036
51037 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51038
51039 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51040 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51041
51042 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51043
51044 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51045 of htab_find_slot().
51046
51047 2013-11-11 David S. Miller <davem@davemloft.net>
51048
51049 [BZ #16150]
51050 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51051 symbol in the non-vis3 case in static builds.
51052 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51053 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51054 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51055 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51056
51057 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
51058
51059 [BZ #387]
51060 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51061 it is empty.
51062
51063 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51064
51065 * benchtests/Makefile: Add bench-strtod.
51066 * benchtests/bench-strtod.c: New file: strtod benchtest
51067
51068 2013-11-11 Andreas Schwab <schwab@suse.de>
51069
51070 [BZ #16153]
51071 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51072 terminating NUL in key length.
51073
51074 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51075
51076 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51077 Add artificial ODP entry for vDSO symbol for PPC64.
51078 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51079 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51080
51081 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
51082
51083 [BZ #15374]
51084 * nss/getent.c (services_keys): Recognize services starting with digit.
51085
51086 2013-11-06 David S. Miller <davem@davemloft.net>
51087
51088 [BZ #15985]
51089 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51090 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51091
51092 2013-11-06 Will Newton <will.newton@linaro.org>
51093
51094 * manual/memory.texi (Malloc Examples): Remove register
51095 keyword from examples.
51096
51097 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
51098
51099 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51100
51101 2013-11-04 Joseph Myers <joseph@codesourcery.com>
51102
51103 [BZ #6981]
51104 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51105 depending on [__GCC_IEC_559 > 0].
51106 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51107 depending on [__GCC_IEC_559_COMPLEX > 0].
51108
51109 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
51110
51111 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51112 to iso-639.def.
51113
51114 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
51115
51116 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51117
51118 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
51119
51120 [BZ #16112]
51121 * malloc/malloc (malloc_info): Do not handle first bin as
51122 special case.
51123
51124 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
51125
51126 * locale/iso-639.def: Add Central Nahuatl (nhn).
51127
51128 2013-11-01 Bruno Haible <bruno@clisp.org>
51129
51130 [BZ #7003]
51131 * manual/math.texi (BSD Random): Specify range upper bound as
51132 in POSIX.
51133
51134 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
51135
51136 * locale/iso-639.def: Add Meadow Mari (mhr).
51137
51138 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
51139
51140 [BZ #14752], [BZ #15763]
51141 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51142 Validate name.
51143 * rt/tst_shm.c: Add test for escaping directory.
51144
51145 2013-10-31 Andreas Schwab <schwab@suse.de>
51146
51147 [BZ #15917]
51148 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51149 followed by 'x' as part of digit sequence.
51150 * stdio-common/tst-sscanf.c (double_tests2): New tests.
51151
51152 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51153
51154 [BZ #16037]
51155 * configure.ac: allow GNU Make 4.0 and greater.
51156 * configure: Regenerated.
51157
51158 2013-10-30 Will Newton <will.newton@linaro.org>
51159
51160 [BZ #16038]
51161 * malloc/hooks.c (memalign_check): Limit alignment to the
51162 maximum representable power of two.
51163 * malloc/malloc.c (__libc_memalign): Likewise.
51164 * malloc/tst-memalign.c (do_test): Add test for very
51165 large alignment values.
51166 * malloc/tst-posix_memalign.c (do_test): Likewise.
51167
51168 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51169
51170 [BZ #11087]
51171 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51172 (munmap_chunk): Likewise.
51173 (mremap_chunk): Likewise.
51174
51175 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51176
51177 [BZ #15799]
51178 * stdlib/div.c (div): Remove obsolete code.
51179 * stdlib/ldiv.c (ldiv): Likewise.
51180 * stdlib/lldiv.c (lldiv): Likewise.
51181
51182 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51183
51184 [BZ #16071]
51185 * nss/nss_files/files-XXX.c (get_contents_ret): New
51186 enumerator.
51187 (get_contents): New function.
51188 (internal_getent): Use it. Expand size of LINEBUFLEN.
51189
51190 2013-10-30 Mike Frysinger <vapier@gentoo.org>
51191
51192 * configure.in: Moved to ...
51193 * configure.ac: ... here. Change reference to configure.in
51194 to configure.ac.
51195 * sysdeps/arm/preconfigure.ac: ... here.
51196 configure.in to configure.ac.
51197 * sysdeps/gnu/configure.in: Moved to ...
51198 * sysdeps/gnu/configure.ac: ... here.
51199 * sysdeps/i386/configure.in: Moved to ...
51200 * sysdeps/i386/configure.ac: ... here.
51201 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51202 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51203 * sysdeps/mach/configure.in: Moved to ...
51204 * sysdeps/mach/configure.ac: ... here.
51205 * sysdeps/mach/hurd/configure.in: Moved to ...
51206 * sysdeps/mach/hurd/configure.ac: ... here.
51207 * sysdeps/powerpc/configure.in: Moved to ...
51208 * sysdeps/powerpc/configure.ac: ... here.
51209 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51210 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51211 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51212 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51213 * sysdeps/s390/s390-32/configure.in: Moved to ...
51214 * sysdeps/s390/s390-32/configure.ac: ... here.
51215 * sysdeps/s390/s390-64/configure.in: Moved to ...
51216 * sysdeps/s390/s390-64/configure.ac: ... here.
51217 * sysdeps/sh/configure.in: Moved to ...
51218 * sysdeps/sh/configure.ac: ... here.
51219 * sysdeps/sparc/configure.in: Moved to ...
51220 * sysdeps/sparc/configure.ac: ... here.
51221 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51222 * sysdeps/unix/sysv/linux/configure.ac: ... here.
51223 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51224 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51225 * sysdeps/x86_64/configure.in: Moved to ...
51226 * sysdeps/x86_64/configure.ac: ... here.
51227 * sysdeps/x86_64/preconfigure.in: Moved to ...
51228 * sysdeps/x86_64/preconfigure.ac: ... here.
51229 * aclocal.m4: Change reference to configure.in to configure.ac.
51230 * config.h.in: Likewise.
51231 * manual/install.texi: Likewise.
51232 * manual/maint.texi: Likewise.
51233 * Makefile: Likewise.
51234 * malloc/Makefile: Likewise.
51235 * nscd/Makefile: Likewise.
51236 * Makeconfig: Change reference to configure.in and
51237 preconfigure.in to configure.ac and preconfigure.ac
51238 respectively.
51239 * INSTALL: Regenerated.
51240 * configure: Likewise.
51241 * sysdeps/gnu/configure: Likewise.
51242 * sysdeps/i386/configure: Likewise.
51243 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51244 * sysdeps/mach/configure: Likewise.
51245 * sysdeps/mach/hurd/configure: Likewise.
51246 * sysdeps/powerpc/configure: Likewise.
51247 * sysdeps/powerpc/powerpc32/configure: Likewise.
51248 * sysdeps/powerpc/powerpc64/configure: Likewise.
51249 * sysdeps/s390/s390-32/configure: Likewise.
51250 * sysdeps/s390/s390-64/configure: Likewise.
51251 * sysdeps/sh/configure: Likewise.
51252 * sysdeps/sparc/configure: Likewise.
51253 * sysdeps/unix/sysv/linux/configure: Likewise.
51254 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51255 * sysdeps/x86_64/configure: Likewise.
51256 * sysdeps/x86_64/preconfigure: Likewise.
51257
51258 2013-10-29 Andreas Schwab <schwab@suse.de>
51259
51260 * stdio-common/Makefile (tst-swscanf-ENV): Define.
51261
51262 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51263
51264 * benchtests/pow-inputs: Add new inputs.
51265
51266 * benchtests/exp-inputs: Add new inputs.
51267
51268 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51269 conditional check for return value.
51270 (__cos32): Likewise.
51271
51272 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51273
51274 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51275 to provide a boost for large inputs with word alignment.
51276 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51277 implementation based on optimized PPC64 strcpy.
51278 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51279 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51280 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51281 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51282
51283 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51284
51285 [BZ #2801]
51286 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51287
51288 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51289
51290 [BZ #14876]
51291 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51292 * time/tst-strptime.c (day_tests): Add testcase.
51293
51294 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51295
51296 [BZ #14029]
51297 * manual/pattern.texi: Acknowledge that fnmatch can fail.
51298
51299 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
51300
51301 [BZ #16074]
51302 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51303 MAP_FAILED on error.
51304
51305 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51306
51307 [BZ #16072]
51308 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51309 heap for large requests.
51310
51311 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51312
51313 [BZ #9954]
51314 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51315 result if the result has no associated interface.
51316 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51317 interface for all 127.X.Y.Z addresses.
51318
51319 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51320
51321 * locale/iso-639.def: Add Ligurian (lij)
51322
51323 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51324
51325 [BZ #15825]
51326 * sunrpc/rpc_main.c: Document rpcgen -5.
51327
51328 2013-10-19 Michael Stahl <mstahl@redhat.com>
51329
51330 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51331
51332 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51333
51334 [BZ #10278]
51335 * posix/glob.c: Match only directories when trailing slash is present.
51336 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51337 (main): Add testcase.
51338
51339 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51340
51341 [BZ #15670]
51342 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51343
51344 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51345
51346 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51347 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51348 AUTH_DES and cindex for FIPS 140-2.
51349 (DES Encryption): Add cindex FIPS 46-3.
51350
51351 * locale/locarchive.h (struct locarhandle): Add fname.
51352 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51353 if an optional argument was specified to --list-archive,
51354 otherwise NULL.
51355 * locale/programs/locarchive.c (show_archive_content): Take new
51356 argument fname and pass it via ah.fname to open_archive.
51357 * locale/programs/localedef.h: Update decl.
51358 (open_archive): If AH->fname is non-null, open that file
51359 rather than the default file name, and don't ignore ENOENT.
51360 (create_archive): Set AH.fname to NULL.
51361 (delete_locales_from_archive): Likewise.
51362 (add_locales_to_archive): Likewise.
51363 * locale/programs/locfile.c (write_all_categories): Likewise.
51364
51365 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51366 Aldy Hernandez <aldyh@redhat.com>
51367
51368 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51369 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51370 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51371 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51372 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51373 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51374 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51375 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51376 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51377 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51378 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51379 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51380 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51381 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51382 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51383 Likewise.
51384 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51385 Likewise.
51386 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51387 Likewise.
51388 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51389 Likewise.
51390 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51391 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51392 Likewise.
51393 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51394 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51395 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51396 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51397 Likewise.
51398 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51399 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51400 * sysdeps/powerpc/preconfigure: Likewise.
51401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51402 Likewise.
51403 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51404 Replace contents of file by #include of <fenv_libc.h>.
51405 * sysdeps/powerpc/soft-fp/sfp-machine.h
51406 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51407 and <sys/prctl.h>.
51408 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51409 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51410 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51411 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51412 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51413 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51419 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51421 Allow copysignl PLT reference to be missing.
51422
51423 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51424 Joseph Myers <joseph@codesourcery.com
51425
51426 [BZ #15948]
51427 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51428 single character.
51429 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51430
51431 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51432
51433 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51434 * elf/tst-tls1.c: Likewise.
51435 * elf/tst-tls10.h: Likewise.
51436 * elf/tst-tls14.c: Likewise.
51437 * elf/tst-tls2.c: Likewise.
51438 * elf/tst-tls3.c: Likewise.
51439 * elf/tst-tls4.c: Likewise.
51440 * elf/tst-tls5.c: Likewise.
51441 * elf/tst-tls6.c: Likewise.
51442 * elf/tst-tls7.c: Likewise.
51443 * elf/tst-tls8.c: Likewise.
51444 * elf/tst-tls9.c: Likewise.
51445 * elf/tst-tlsmod1.c: Likewise.
51446 * elf/tst-tlsmod13.c: Likewise.
51447 * elf/tst-tlsmod13a.c: Likewise.
51448 * elf/tst-tlsmod14a.c: Likewise.
51449 * elf/tst-tlsmod16a.c: Likewise.
51450 * elf/tst-tlsmod16b.c: Likewise.
51451 * elf/tst-tlsmod2.c: Likewise.
51452 * elf/tst-tlsmod3.c: Likewise.
51453 * elf/tst-tlsmod4.c: Likewise.
51454 * elf/tst-tlsmod5.c: Likewise.
51455 * elf/tst-tlsmod6.c: Likewise.
51456
51457 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51458
51459 [BZ #12486]
51460 * malloc/malloc.c: remove checks for statistics.
51461
51462 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51463
51464 [BZ #15277]
51465 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51466 * inet/tst-network.c: Add testcase.
51467
51468 2013-10-17 Andreas Schwab <schwab@suse.de>
51469
51470 [BZ #15218]
51471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51472 to determine canonical name.
51473
51474 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51475
51476 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51477 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51479 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51481 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51482 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51483 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51484 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51485 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51486 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51488 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51489 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51494 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51495 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51496 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51498 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51499 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51500 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51501 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51503 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51504 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51506 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51511 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51512 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51513 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51514 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51517 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51518 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51519 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51520 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51521 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51522 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51523 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51524 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51525 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51526 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51527 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51528 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51529 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51530 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51531 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51533 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51534
51535 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51536
51537 [BZ #16041]
51538 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51539 make result into a quiet NaN.
51540
51541 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51542
51543 * soft-fp/adddf3.c: Fix horizontal whitespace.
51544 * soft-fp/addsf3.c: Likewise.
51545 * soft-fp/addtf3.c: Likewise.
51546 * soft-fp/divdf3.c: Likewise.
51547 * soft-fp/divsf3.c: Likewise.
51548 * soft-fp/divtf3.c: Likewise.
51549 * soft-fp/double.h: Likewise.
51550 * soft-fp/eqdf2.c: Likewise.
51551 * soft-fp/eqsf2.c: Likewise.
51552 * soft-fp/eqtf2.c: Likewise.
51553 * soft-fp/extenddftf2.c: Likewise.
51554 * soft-fp/extended.h: Likewise.
51555 * soft-fp/extendsfdf2.c: Likewise.
51556 * soft-fp/extendsftf2.c: Likewise.
51557 * soft-fp/extendxftf2.c: Likewise.
51558 * soft-fp/fixdfdi.c: Likewise.
51559 * soft-fp/fixdfsi.c: Likewise.
51560 * soft-fp/fixdfti.c: Likewise.
51561 * soft-fp/fixsfdi.c: Likewise.
51562 * soft-fp/fixsfsi.c: Likewise.
51563 * soft-fp/fixsfti.c: Likewise.
51564 * soft-fp/fixtfdi.c: Likewise.
51565 * soft-fp/fixtfsi.c: Likewise.
51566 * soft-fp/fixtfti.c: Likewise.
51567 * soft-fp/fixunsdfdi.c: Likewise.
51568 * soft-fp/fixunsdfsi.c: Likewise.
51569 * soft-fp/fixunsdfti.c: Likewise.
51570 * soft-fp/fixunssfdi.c: Likewise.
51571 * soft-fp/fixunssfsi.c: Likewise.
51572 * soft-fp/fixunssfti.c: Likewise.
51573 * soft-fp/fixunstfdi.c: Likewise.
51574 * soft-fp/fixunstfsi.c: Likewise.
51575 * soft-fp/fixunstfti.c: Likewise.
51576 * soft-fp/floatdidf.c: Likewise.
51577 * soft-fp/floatdisf.c: Likewise.
51578 * soft-fp/floatditf.c: Likewise.
51579 * soft-fp/floatsidf.c: Likewise.
51580 * soft-fp/floatsisf.c: Likewise.
51581 * soft-fp/floatsitf.c: Likewise.
51582 * soft-fp/floattidf.c: Likewise.
51583 * soft-fp/floattisf.c: Likewise.
51584 * soft-fp/floattitf.c: Likewise.
51585 * soft-fp/floatundidf.c: Likewise.
51586 * soft-fp/floatundisf.c: Likewise.
51587 * soft-fp/floatunditf.c: Likewise.
51588 * soft-fp/floatunsidf.c: Likewise.
51589 * soft-fp/floatunsisf.c: Likewise.
51590 * soft-fp/floatunsitf.c: Likewise.
51591 * soft-fp/floatuntidf.c: Likewise.
51592 * soft-fp/floatuntisf.c: Likewise.
51593 * soft-fp/floatuntitf.c: Likewise.
51594 * soft-fp/fmadf4.c: Likewise.
51595 * soft-fp/fmasf4.c: Likewise.
51596 * soft-fp/fmatf4.c: Likewise.
51597 * soft-fp/gedf2.c: Likewise.
51598 * soft-fp/gesf2.c: Likewise.
51599 * soft-fp/getf2.c: Likewise.
51600 * soft-fp/ledf2.c: Likewise.
51601 * soft-fp/lesf2.c: Likewise.
51602 * soft-fp/letf2.c: Likewise.
51603 * soft-fp/muldf3.c: Likewise.
51604 * soft-fp/mulsf3.c: Likewise.
51605 * soft-fp/multf3.c: Likewise.
51606 * soft-fp/negdf2.c: Likewise.
51607 * soft-fp/negsf2.c: Likewise.
51608 * soft-fp/negtf2.c: Likewise.
51609 * soft-fp/op-1.h: Likewise.
51610 * soft-fp/op-2.h: Likewise.
51611 * soft-fp/op-4.h: Likewise.
51612 * soft-fp/op-8.h: Likewise.
51613 * soft-fp/op-common.h: Likewise.
51614 * soft-fp/quad.h: Likewise.
51615 * soft-fp/single.h: Likewise.
51616 * soft-fp/soft-fp.h: Likewise.
51617 * soft-fp/sqrtdf2.c: Likewise.
51618 * soft-fp/sqrtsf2.c: Likewise.
51619 * soft-fp/sqrttf2.c: Likewise.
51620 * soft-fp/subdf3.c: Likewise.
51621 * soft-fp/subsf3.c: Likewise.
51622 * soft-fp/subtf3.c: Likewise.
51623 * soft-fp/truncdfsf2.c: Likewise.
51624 * soft-fp/trunctfdf2.c: Likewise.
51625 * soft-fp/trunctfsf2.c: Likewise.
51626 * soft-fp/trunctfxf2.c: Likewise.
51627 * soft-fp/unorddf2.c: Likewise.
51628 * soft-fp/unordsf2.c: Likewise.
51629 * soft-fp/unordtf2.c: Likewise.
51630
51631 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51632
51633 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51634 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51635
51636 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51637
51638 * elf/dl-libc.c: Clear initfini list after freeing.
51639
51640 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51641
51642 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51643 * soft-fp/addsf3.c: Likewise.
51644 * soft-fp/addtf3.c: Likewise.
51645 * soft-fp/divdf3.c: Likewise.
51646 * soft-fp/divsf3.c: Likewise.
51647 * soft-fp/divtf3.c: Likewise.
51648 * soft-fp/double.h: Likewise.
51649 * soft-fp/eqdf2.c: Likewise.
51650 * soft-fp/eqsf2.c: Likewise.
51651 * soft-fp/eqtf2.c: Likewise.
51652 * soft-fp/extenddftf2.c: Likewise.
51653 * soft-fp/extended.h: Likewise.
51654 * soft-fp/extendsfdf2.c: Likewise.
51655 * soft-fp/extendsftf2.c: Likewise.
51656 * soft-fp/extendxftf2.c: Likewise.
51657 * soft-fp/fixdfdi.c: Likewise.
51658 * soft-fp/fixdfsi.c: Likewise.
51659 * soft-fp/fixdfti.c: Likewise.
51660 * soft-fp/fixsfdi.c: Likewise.
51661 * soft-fp/fixsfsi.c: Likewise.
51662 * soft-fp/fixsfti.c: Likewise.
51663 * soft-fp/fixtfdi.c: Likewise.
51664 * soft-fp/fixtfsi.c: Likewise.
51665 * soft-fp/fixtfti.c: Likewise.
51666 * soft-fp/fixunsdfdi.c: Likewise.
51667 * soft-fp/fixunsdfsi.c: Likewise.
51668 * soft-fp/fixunsdfti.c: Likewise.
51669 * soft-fp/fixunssfdi.c: Likewise.
51670 * soft-fp/fixunssfsi.c: Likewise.
51671 * soft-fp/fixunssfti.c: Likewise.
51672 * soft-fp/fixunstfdi.c: Likewise.
51673 * soft-fp/fixunstfsi.c: Likewise.
51674 * soft-fp/fixunstfti.c: Likewise.
51675 * soft-fp/floatdidf.c: Likewise.
51676 * soft-fp/floatdisf.c: Likewise.
51677 * soft-fp/floatditf.c: Likewise.
51678 * soft-fp/floatsidf.c: Likewise.
51679 * soft-fp/floatsisf.c: Likewise.
51680 * soft-fp/floatsitf.c: Likewise.
51681 * soft-fp/floattidf.c: Likewise.
51682 * soft-fp/floattisf.c: Likewise.
51683 * soft-fp/floattitf.c: Likewise.
51684 * soft-fp/floatundidf.c: Likewise.
51685 * soft-fp/floatundisf.c: Likewise.
51686 * soft-fp/floatunsidf.c: Likewise.
51687 * soft-fp/floatunsisf.c: Likewise.
51688 * soft-fp/floatuntidf.c: Likewise.
51689 * soft-fp/floatuntisf.c: Likewise.
51690 * soft-fp/floatuntitf.c: Likewise.
51691 * soft-fp/fmadf4.c: Likewise.
51692 * soft-fp/fmasf4.c: Likewise.
51693 * soft-fp/fmatf4.c: Likewise.
51694 * soft-fp/gedf2.c: Likewise.
51695 * soft-fp/gesf2.c: Likewise.
51696 * soft-fp/getf2.c: Likewise.
51697 * soft-fp/ledf2.c: Likewise.
51698 * soft-fp/lesf2.c: Likewise.
51699 * soft-fp/letf2.c: Likewise.
51700 * soft-fp/muldf3.c: Likewise.
51701 * soft-fp/mulsf3.c: Likewise.
51702 * soft-fp/multf3.c: Likewise.
51703 * soft-fp/negdf2.c: Likewise.
51704 * soft-fp/negsf2.c: Likewise.
51705 * soft-fp/negtf2.c: Likewise.
51706 * soft-fp/op-1.h: Likewise.
51707 * soft-fp/op-2.h: Likewise.
51708 * soft-fp/op-4.h: Likewise.
51709 * soft-fp/op-8.h: Likewise.
51710 * soft-fp/op-common.h: Likewise.
51711 * soft-fp/quad.h: Likewise.
51712 * soft-fp/single.h: Likewise.
51713 * soft-fp/soft-fp.h: Likewise.
51714 * soft-fp/sqrtdf2.c: Likewise.
51715 * soft-fp/sqrtsf2.c: Likewise.
51716 * soft-fp/sqrttf2.c: Likewise.
51717 * soft-fp/subdf3.c: Likewise.
51718 * soft-fp/subsf3.c: Likewise.
51719 * soft-fp/subtf3.c: Likewise.
51720 * soft-fp/truncdfsf2.c: Likewise.
51721 * soft-fp/trunctfdf2.c: Likewise.
51722 * soft-fp/trunctfsf2.c: Likewise.
51723 * soft-fp/trunctfxf2.c: Likewise.
51724 * soft-fp/unorddf2.c: Likewise.
51725 * soft-fp/unordsf2.c: Likewise.
51726 * soft-fp/unordtf2.c: Likewise.
51727
51728 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
51729
51730 [BZ #15672]
51731 * misc/error.c (error_tail): Fix possible buffer overflow.
51732
51733 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
51734
51735 [BZ #13028]
51736 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51737 address.
51738
51739 2013-10-14 P. J. McDermott <pj@pehjota.net>
51740
51741 [BZ #832]
51742 * elf/ldd.bash.in (try_trace): New function. Delete previous code
51743 testing pipefail option.
51744
51745 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51746
51747 * soft-fp/double.h: Indent preprocessor directives inside #if.
51748 * soft-fp/extended.h: Likewise.
51749 * soft-fp/op-2.h: Likewise.
51750 * soft-fp/op-4.h: Likewise.
51751 * soft-fp/op-common.h: Likewise.
51752 * soft-fp/quad.h: Likewise.
51753 * soft-fp/single.h: Likewise.
51754 * soft-fp/soft-fp.h: Likewise.
51755
51756 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51757
51758 * iconv/iconv_prog.c: Fix typos.
51759 * stdio-common/psiginfo-data.h: Likewise.
51760
51761 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51762
51763 [BZ #15764]
51764 * locale/setlocale.c: Fix typo.
51765
51766 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51767
51768 [BZ #16036]
51769 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51770 signaling NaN arguments.
51771 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51772 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51773
51774 [BZ #14910]
51775 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51776 unordered operands.
51777 * soft-fp/gesf2.c (__gesf2): Likewise.
51778 * soft-fp/getf2.c (__getf2): Likewise.
51779 * soft-fp/ledf2.c (__ledf2): Likewise.
51780 * soft-fp/lesf2.c (__lesf2): Likewise.
51781 * soft-fp/letf2.c (__letf2): Likewise.
51782
51783 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51784 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51785 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51786 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51787 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51788 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51789 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51790 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51791 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51792 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51793 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51794 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51795 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51796 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51797 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51798 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51799 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51800 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51801 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51802 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51803 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51804 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51805 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51806 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51807 * soft-fp/floattidf.c (__floattidf): Likewise.
51808 * soft-fp/floattisf.c (__floattisf): Likewise.
51809 * soft-fp/floattitf.c (__floattitf): Likewise.
51810 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51811 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51812 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51813 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51814 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51815 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51816 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51817 * soft-fp/gesf2.c (__gesf2): Likewise.
51818 * soft-fp/getf2.c (__getf2): Likewise.
51819 * soft-fp/ledf2.c (__ledf2): Likewise.
51820 * soft-fp/lesf2.c (__lesf2): Likewise.
51821 * soft-fp/letf2.c (__letf2): Likewise.
51822
51823 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51824 Undefine and redefine.
51825 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51826 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51827 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51828 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51829 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51830 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51831 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51832 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51833 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51834 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51835 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51836 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51837 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51838 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51839 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51840
51841 [BZ #16032]
51842 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51843 without decrementing exponent if mantissa >= that for the
51844 denominator, not >.
51845 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51846 denominator, not >. Decrement exponent in < case instead of
51847 incrementing in >= case.
51848 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51849 without decrementing exponent if mantissa >= that for the
51850 denominator, not >.
51851
51852 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51853 computing saturated result for unsigned overflow.
51854
51855 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51856 Jeff Law <law@redhat.com>
51857
51858 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51859 (atan2Mp): Add systemtap probe marker.
51860 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51861 (__ieee754_log): Add systemtap probe marker.
51862 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51863 (atanMp): Add systemtap probe marker.
51864 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51865 (tanMp): Add systemtap probe marker.
51866 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51867 (__slowexp): Add systemtap probe marker.
51868 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51869 (__slowpow): Add systemtap probe marker.
51870 * manual/probes.texi: Document probes.
51871
51872 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51873
51874 [BZ #15362]
51875 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51876 written.
51877 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51878 written.
51879 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51880 written to buffer but not flushed.
51881 * libio/iofwrite_u.c: Likewise.
51882 * libio/iopadn.c: Return bytes returned even if EOF was
51883 encountered.
51884 * libio/iowpadn.c: Likewise.
51885 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51886 if _IO_padn does not write the whole buffer.
51887 [!COMPILE_WPRINTF] (PAD): Likewise.
51888
51889 2013-10-10 David S. Miller <davem@davemloft.net>
51890
51891 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51892 directory block.
51893
51894 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51895
51896 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51897 instead of FSF address.
51898 * soft-fp/fixdfti.c: Likewise.
51899 * soft-fp/fixsfti.c: Likewise.
51900 * soft-fp/fixtfti.c: Likewise.
51901 * soft-fp/fixunsdfti.c: Likewise.
51902 * soft-fp/fixunssfti.c: Likewise.
51903 * soft-fp/fixunstfti.c: Likewise.
51904 * soft-fp/floattidf.c: Likewise.
51905 * soft-fp/floattisf.c: Likewise.
51906 * soft-fp/floattitf.c: Likewise.
51907 * soft-fp/floatuntidf.c: Likewise.
51908 * soft-fp/floatuntisf.c: Likewise.
51909 * soft-fp/floatuntitf.c: Likewise.
51910 * soft-fp/trunctfxf2.c: Likewise.
51911
51912 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51913 * soft-fp/fixdfti.c: Likewise.
51914 * soft-fp/fixsfti.c: Likewise.
51915 * soft-fp/fixtfti.c: Likewise.
51916 * soft-fp/fixunsdfti.c: Likewise.
51917 * soft-fp/fixunssfti.c: Likewise.
51918 * soft-fp/fixunstfti.c: Likewise.
51919 * soft-fp/floattidf.c: Likewise.
51920 * soft-fp/floattisf.c: Likewise.
51921 * soft-fp/floattitf.c: Likewise.
51922 * soft-fp/floatuntidf.c: Likewise.
51923 * soft-fp/floatuntisf.c: Likewise.
51924 * soft-fp/floatuntitf.c: Likewise.
51925 * soft-fp/trunctfxf2.c: Likewise.
51926
51927 2013-10-10 David S. Miller <davem@davemloft.net>
51928
51929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51930
51931 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51932
51933 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51934 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51935 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51936 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51937 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51938 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51939 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51940
51941 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51942 for NaNs before doing comparisons on argument.
51943 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51944 Likewise.
51945
51946 2013-10-10 Will Newton <will.newton@linaro.org>
51947
51948 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51949 passed to _int_memalign does not overflow.
51950
51951 2013-10-10 Torvald Riegel <triegel@redhat.com>
51952
51953 * scripts/bench.pl: Add include-sources directive.
51954 * benchtests/README: Update documentation.
51955
51956 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51957
51958 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51959 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51960 instead of FP_INIT_ROUNDMODE.
51961 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51962 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51963
51964 [BZ #16034]
51965 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51966 copy class of input value.
51967 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51968 not handle exceptions.
51969 * soft-fp/negsf2.c (__negsf2): Likewise.
51970 * soft-fp/negtf2.c (__negtf2): Likewise.
51971 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51972
51973 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51974
51975 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51976 semicolon. From Linux kernel.
51977
51978 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51979
51980 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51981
51982 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51983
51984 [BZ #156]
51985 * manual/socket.texi: Added statement about buffer
51986 for gethostbyname2_r.
51987
51988 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51989
51990 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51991 Use .p2align directive instead, throughout.
51992 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51993 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51994 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51996 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51997 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51998 * sysdeps/x86_64/strchr.S: Likewise.
51999 * sysdeps/x86_64/strrchr.S: Likewise.
52000
52001 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
52002
52003 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52004
52005 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52006
52007 * sysdeps/generic/math_private.h (__mpsin1): Remove
52008 declaration.
52009 (__mpcos1): Likewise.
52010 (__mpsin): New argument __range_reduce.
52011 (__mpcos): Likewise.
52012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52013 (slow): Use __mpsin and __mpcos.
52014 (slow1): Likewise.
52015 (slow2): Likewise.
52016 (sloww): Likewise.
52017 (sloww1): Likewise.
52018 (sloww2): Likewise.
52019 (bsloww): Likewise.
52020 (bsloww1): Likewise.
52021 (bsloww2): Likewise.
52022 (cslow2): Likewise.
52023 (csloww): Likewise.
52024 (csloww1): Likewise.
52025 (csloww2): Likewise.
52026 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52027 range_reduce. Merge in __mpsin1.
52028 (__mpcos): Likewise.
52029 (__mpsin1): Remove.
52030 (__mpcos1): Likewise.
52031
52032 2013-10-07 Joseph Myers <joseph@codesourcery.com>
52033
52034 * locale/loadlocale.c (_nl_intern_locale_data): Use
52035 LOCFILE_ALIGNED_P.
52036 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52037 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52038 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52039 obstack data is appropriately aligned.
52040 (obstack_int32_grow_fast): Likewise.
52041 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52042 * locale/programs/locfile.c (add_locale_uint32): Likewise.
52043 (add_locale_uint32_array): Likewise.
52044
52045 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52046
52047 * benchtests/Makefile: Remove ARGLIST and RET variables.
52048 ($(objpfx)bench-%.c): Pass only function name to the script.
52049 * benchtests/README: Update documentation.
52050 * benchtests/acos-inputs: Add new directives.
52051 * benchtests/acosh-inputs: Likewise.
52052 * benchtests/asin-inputs: Likewise.
52053 * benchtests/asinh-inputs: Likewise.
52054 * benchtests/atan-inputs: Likewise.
52055 * benchtests/atanh-inputs: Likewise.
52056 * benchtests/cos-inputs: Likewise.
52057 * benchtests/cosh-inputs: Likewise.
52058 * benchtests/exp-inputs: Likewise.
52059 * benchtests/log-inputs: Likewise.
52060 * benchtests/pow-inputs: Likewise.
52061 * benchtests/rint-inputs: Likewise.
52062 * benchtests/sin-inputs: Likewise.
52063 * benchtests/sinh-inputs: Likewise.
52064 * benchtests/tan-inputs: Likewise.
52065 * benchtests/tanh-inputs: Likewise.
52066 * scripts/bench.pl: Add support for new directives.
52067
52068 2013-10-07 Alan Modra <amodra@gmail.com>
52069
52070 * README: Fix careless merge.
52071
52072 2013-10-05 Alan Modra <amodra@gmail.com>
52073
52074 * NEWS: Mention powerpc64le support and bugs fixed.
52075 * README: Both big-endian and little-endian powerpc64 supported.
52076
52077 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
52078
52079 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52080 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52081 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52082 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52083
52084 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
52085
52086 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52087 match prototype.
52088
52089 2013-10-04 Joseph Myers <joseph@codesourcery.com>
52090
52091 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52092 Move -mhard-float appending from
52093 ports/sysdeps/powerpc/powerpc32/Makefile.
52094 [$(with-fp) = yes] (ASFLAGS): Likewise.
52095 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52096 * sysdeps/powerpc/nofpu: Move directory from
52097 ports/sysdeps/powerpc/nofpu.
52098 * sysdeps/powerpc/soft-fp: Move directory from
52099 ports/sysdeps/powerpc/soft-fp.
52100 * sysdeps/powerpc/powerpc32/405: Move directory from
52101 ports/sysdeps/powerpc/powerpc32/405.
52102 * sysdeps/powerpc/powerpc32/440: Move directory from
52103 ports/sysdeps/powerpc/powerpc32/440.
52104 * sysdeps/powerpc/powerpc32/464: Move directory from
52105 ports/sysdeps/powerpc/powerpc32/464.
52106 * sysdeps/powerpc/powerpc32/476: Move directory from
52107 ports/sysdeps/powerpc/powerpc32/476.
52108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52109 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52111 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52113 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52115 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52117 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52118 * README: Update for powerpc-*-linux-gnu software floating point
52119 support in libc.
52120
52121 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52122 case to powerpc/powerpc32*.
52123 * sysdeps/unix/sysv/linux/configure: Regenerated.
52124
52125 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52126 (_FPU_MASK_OM): Define as 0x04.
52127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52129 0x00c10080.
52130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52131 0x0000003c.
52132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52133
52134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52135 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52136 getcontext_e500.
52137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52138 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52139 setcontext_e500.
52140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52141 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52142 and setcontext_e500.
52143
52144 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
52145
52146 * locale/iso-3166.def: Update iso-1366.def and related occurrences
52147
52148 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
52149
52150 * manual/threads.texi (Default Thread Attributes): Fix typo.
52151
52152 2013-10-04 Will Newton <will.newton@linaro.org>
52153
52154 * malloc/Makefile: Add tst-memalign.
52155 * malloc/tst-memalign.c: New file.
52156
52157 * malloc/tst-posix_memalign.c: Add comments.
52158 (do_test): Add comments and call free on all potentially
52159 allocated pointers. Add space after cast.
52160
52161 * malloc/tst-pvalloc.c: Add comments.
52162 (do_test): Add comments and call free on all potentially
52163 allocated pointers. Remove duplicate check for NULL pointer.
52164 Add space after cast.
52165
52166 * malloc/tst-valloc.c: Add comments.
52167 (do_test): Add comments and call free on all potentially
52168 allocated pointers. Remove duplicate check for NULL pointer.
52169 Add space after cast.
52170
52171 2013-10-04 Alan Modra <amodra@gmail.com>
52172
52173 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52174 Use stdint types in rather than __attribute__((mode())).
52175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52176
52177 2013-10-04 Alan Modra <amodra@gmail.com>
52178
52179 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52180 Correct handling of unaligned relocs for little-endian.
52181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52182
52183 2013-10-04 Alan Modra <amodra@gmail.com>
52184
52185 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52186 * configure: Regenerate.
52187 * nptl/shlib-versions: Powerpc*le starts at 2.18.
52188 * shlib-versions: Likewise.
52189
52190 2013-10-04 Alan Modra <amodra@gmail.com>
52191
52192 * string/tester.c (test_memrchr): Increment reported test cycle.
52193
52194 2013-10-04 Alan Modra <amodra@gmail.com>
52195
52196 * string/test-memcpy.c (do_one_test): When reporting errors, print
52197 string address and don't overrun end of string.
52198
52199 2013-10-04 Alan Modra <amodra@gmail.com>
52200
52201 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52202 insrdi. Make better use of reg selection to speed exit slightly.
52203 Schedule entry path a little better. Remove useless "are we done"
52204 checks on entry to main loop. Handle wrapping around zero address.
52205 Correct main loop count. Handle single left-over word from main
52206 loop inline rather than by using loop_small. Remove extra word
52207 case in loop_small caused by wrong loop count. Add little-endian
52208 support.
52209 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52210 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
52211 cache hint.
52212 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52213 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52214 support. Avoid rlwimi.
52215 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52216
52217 2013-10-04 Alan Modra <amodra@gmail.com>
52218
52219 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52220 insrdi. Formatting.
52221 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52222 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52223 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52224 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52225 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52226 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52227
52228 2013-10-04 Alan Modra <amodra@gmail.com>
52229
52230 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52231 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52232 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52233 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52234 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52235 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52236 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52237 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52238 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
52239 use of regs. Use power7 mtocrf. Tidy function tails.
52240
52241 2013-10-04 Alan Modra <amodra@gmail.com>
52242
52243 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52244 Formatting. Consistently use rXXX register defines or rN defines.
52245 Use early exit labels that avoid restoring unused non-volatile regs.
52246 Make cr field use more consistent with rWORDn compares. Rename
52247 regs used as shift registers for unaligned loop, using rN defines
52248 for short lifetime/multiple use regs.
52249 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52250 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
52251 addi 1,1,64 to pop stack frame. Simplify return value code.
52252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52253
52254 2013-10-04 Alan Modra <amodra@gmail.com>
52255
52256 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52257 support. Correct typos, formatting. Optimize tail. Use insrdi
52258 rather than rlwimi.
52259 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52260 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52261 little-endian support. Correct typos.
52262 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
52263 rather than rlwimi.
52264 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
52265 in loop and entry code to keep "and." results.
52266 (strchr): Add little-endian support. Comment. Move cntlzd
52267 earlier in tail.
52268 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52269
52270 2013-10-04 Alan Modra <amodra@gmail.com>
52271
52272 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52273 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52274 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52275 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52276
52277 2013-10-04 Alan Modra <amodra@gmail.com>
52278
52279 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52280 (rTMP): Define as r11.
52281 (strcmp): Add little-endian support. Optimise tail.
52282 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52283 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52284 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52285 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52286 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52287 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52288 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52289
52290 2013-10-04 Alan Modra <amodra@gmail.com>
52291
52292 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52293 little-endian support. Remove unnecessary "are we done" tests.
52294 Handle "s" wrapping around zero and extremely large "size".
52295 Correct main loop count. Handle single left-over word from main
52296 loop inline rather than by using small_loop. Correct comments.
52297 Delete "zero" tail, use "end_max" instead.
52298 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52299
52300 2013-10-04 Alan Modra <amodra@gmail.com>
52301
52302 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52303 support. Don't branch over align.
52304 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52305 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52306 support. Rearrange tmp reg use to suit. Comment.
52307 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52308
52309 2013-10-04 Alan Modra <amodra@gmail.com>
52310
52311 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52312
52313 2013-10-04 Alan Modra <amodra@gmail.com>
52314
52315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52316 conditional form of branch and link when obtaining pc.
52317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52318
52319 2013-10-04 Alan Modra <amodra@gmail.com>
52320
52321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52322 HIWORD/LOWORD.
52323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52325
52326 2013-10-04 Alan Modra <amodra@gmail.com>
52327
52328 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52329 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52330 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52331 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52332 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52333 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52334 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52335 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52336 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52337 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52338
52339 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52340 Alistair Popple <alistair@ozlabs.au.ibm.com>
52341 Alan Modra <amodra@gmail.com>
52342
52343 [BZ #15723]
52344 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52345 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52346 _dl_hwcap access for little-endian.
52347 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52348 destroy vmx regs when saving unaligned.
52349 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52350 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52351 destroy vmx regs when saving unaligned.
52352
52353 2013-10-04 Alan Modra <amodra@gmail.com>
52354
52355 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52356 Don't use a union to pack hi/low value.
52357
52358 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52359
52360 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52361 for little-endian.
52362 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52363 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52364 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52365 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52366 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52367
52368 2013-10-04 Alan Modra <amodra@gmail.com>
52369
52370 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52371 constants to usual value for .cst8 section, and remove redundant
52372 high address load.
52373 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52374 constant for 0x1p52. Load little-endian words of double from
52375 correct stack offsets.
52376
52377 2013-10-04 Alan Modra <amodra@gmail.com>
52378
52379 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52380 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52381 words of double from correct stack offsets.
52382 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52383 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52384 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52385 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52387 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52388 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52389 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52390 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52391 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52392 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52393 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52394 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52395 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52396 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52397 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52398 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52399
52400 2013-10-04 Alan Modra <amodra@gmail.com>
52401
52402 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52403 64-bit int/double union.
52404 (_FPU_SETCW): Likewise.
52405 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52406 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52407
52408 2013-10-04 Alan Modra <amodra@gmail.com>
52409
52410 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52411 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52412
52413 2013-10-04 Alan Modra <amodra@gmail.com>
52414
52415 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52416 use vector int constants.
52417 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52418
52419 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52420
52421 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52422 array with long long.
52423 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52424 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52425 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52426 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52427 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52428 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52429 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52430 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52431 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52432 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52433 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52434 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52435 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52436
52437 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52438
52439 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52440 (__signbit): Likewise. Correct for little-endian.
52441 (__signbitl): Call __signbit.
52442 (lrint): Correct for little-endian.
52443 (lrintf): Call lrint.
52444
52445 2013-10-04 Alan Modra <amodra@gmail.com>
52446
52447 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52448 union 32-bit int array member with 64-bit int array.
52449 (t515, tm256): Double rather than long double.
52450 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52451
52452 2013-10-04 Alan Modra <amodra@gmail.com>
52453
52454 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52455 Delete.
52456 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52458 version of math_ldbl.h.
52459
52460 2013-10-04 Alan Modra <amodra@gmail.com>
52461
52462 [BZ #15734], [BZ #15735]
52463 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52464 all uses of ieee875 long double macros and unions. Simplify test
52465 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52466 ldbl_extract_mantissa value for ix,iy exponents. Properly
52467 normalize after ldbl_extract_mantissa, and don't add hidden bit
52468 already handled. Don't treat low word of ieee854 mantissa like
52469 low word of IBM long double and mask off bit when testing for
52470 zero.
52471 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52472 all uses of ieee875 long double macros and unions. Simplify tests
52473 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52474 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52475 two1022, instead use their values. Recognise that tests for large
52476 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52477 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52478 Rewrite all uses of ieee875 long double macros and unions. Simplify
52479 test for 0.0L and nan. Correct negation.
52480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52481 ieee875 long double macros and unions. Correct output for large
52482 magnitude x. Correct absolute value calculation.
52483 (__erfcl): Likewise.
52484 * math/libm-test.inc: Add tests for errors discovered in IBM long
52485 double versions of fmodl, remainderl, erfl and erfcl.
52486
52487 2013-10-04 Alan Modra <amodra@gmail.com>
52488
52489 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52490 all uses of ieee854 long double macros and unions. Simplify tests
52491 for long doubles that are fully specified by the high double.
52492 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52493 Likewise.
52494 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52495 Remove dead code too.
52496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52497 (__ieee754_ynl): Likewise.
52498 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52499 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52501 Remove dead code too.
52502 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52503 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52504 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52505 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52506 Simplify.
52507 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52508 Simplify.
52509 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52510 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52511 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52512 Comment on variable precision.
52513 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52514 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52515 Likewise.
52516 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52517 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52518 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52519 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52520 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52521
52522 2013-10-04 Alan Modra <amodra@gmail.com>
52523
52524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52526 all uses of ieee854 long double macros and unions.
52527 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52528 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52531 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52532 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52533 Likewise.
52534 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52535 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52536 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52537 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52538 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52540 Simplify sign and nan test too.
52541 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52542 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52543 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52544 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52545 Likewise.
52546 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52547 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52548 Likewise.
52549 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52550 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52551 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52552 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52553 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52554 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52555
52556 2013-10-04 Alan Modra <amodra@gmail.com>
52557
52558 * stdio-common/printf_size.c (__printf_size): Don't use
52559 union ieee854_long_double in fpnum union.
52560 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52561 signbit macro to retrieve sign from long double.
52562 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52563 retrieve sign from long double.
52564 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52565 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52566 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52567 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52568 * math/test-misc.c (main): Don't use union ieee854_long_double.
52569
52570 2013-10-04 Alan Modra <amodra@gmail.com>
52571
52572 [BZ #15680]
52573 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52574 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52575 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52576 calculation. Remove unnecessary test for denormal exponent.
52577 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52578 Correct handling of denormals. Avoid undefined shift behaviour.
52579 Correct normalisation of low mantissa when low double is denormal.
52580 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52581 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52582 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52583 Correct normalisation of low mantissa. Test for overflow of high
52584 mantissa and normalise.
52585 (ldbl_nearbyint): Use more readable constant for two52.
52586 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52587 (__mpn_construct_long_double): Fix test for overflow of high
52588 mantissa and correct normalisation. Avoid undefined shift.
52589
52590 2013-10-04 Alan Modra <amodra@gmail.com>
52591
52592 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52593 (union ibm_extended_long_double): Define as an array of ieee754_double.
52594 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52595 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52596 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52597 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52599 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52601 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52602 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52603 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52604 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52605
52606 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52607
52608 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52609 page size instead of calling getpagesize.
52610
52611 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52612 (LOCFILE_ALIGN_MASK): Likewise.
52613 (LOCFILE_ALIGN_UP): Likewise.
52614 (LOCFILE_ALIGNED_P): Likewise.
52615 * locale/programs/ld-collate.c (collate_output): Use the new
52616 macros instead of __alignof__ (int32_t).
52617 * locale/weight.h (findidx): Likewise.
52618
52619 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52620
52621 [BZ #431]
52622 * manual/string.texi: Fix strncat and wcsncat.
52623
52624 2013-10-03 Brooks Moses <bmoses@google.com>
52625
52626 [BZ #15915]
52627 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52628 * Makerules: ...here, and adjust associated comments.
52629
52630 2013-10-02 Will Newton <will.newton@linaro.org>
52631
52632 * malloc/Makefile: Add tst-pvalloc.
52633 * malloc/tst-pvalloc.c: New file.
52634
52635 2013-10-02 Will Newton <will.newton@linaro.org>
52636
52637 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52638 improve test coverage.
52639
52640 2013-10-02 Will Newton <will.newton@linaro.org>
52641
52642 * malloc/Makefile: Add tst-posix_memalign.
52643 * malloc/tst-posix_memalign.c: New file.
52644
52645 2013-10-01 Eric Blake <eblake@redhat.com>
52646
52647 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52648 Use __THROWNL rather than __THROW on static functions.
52649
52650 2013-09-30 Petr Machata <pmachata@redhat.com>
52651
52652 * elf/elf.h (R_AARCH64_ABS16): New macro.
52653 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52654 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52655 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52656 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52657 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52658 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52659 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52660 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52661 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52662 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52663 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52664 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52665 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52666 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52667 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52668 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52669 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52670 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52671 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52672 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52673 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52674 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52675 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52676 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52677 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52678 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52679 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52680 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52681 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52682 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52683 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52684 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52685 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52686 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52687 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52688 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52689 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52690 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52691 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52692 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52693 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52694 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52695 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52696 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52697 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52698 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52699 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52700 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52701 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52702 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52703 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52704 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52705 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52706 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52707 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52708 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52709 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52710 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52711 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52712 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52713 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52714 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52715 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52716 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52717 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52718 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52719 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52720 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52721 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52722 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52723 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52724 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52725 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52726 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52727 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52728 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52729 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52730 (R_AARCH64_TLSDESC_LDR): Likewise.
52731 (R_AARCH64_TLSDESC_ADD): Likewise.
52732 (R_AARCH64_TLSDESC_CALL): Likewise.
52733
52734 2013-09-30 Andreas Schwab <schwab@suse.de>
52735
52736 [BZ #15048]
52737 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52738 the nss database lookup.
52739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52741
52742 2013-09-28 Mike Frysinger <vapier@gentoo.org>
52743
52744 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52745
52746 2013-09-28 P. J. McDermott <pj@pehjota.net>
52747
52748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52749 ${Bash-specific parameter/pattern/string} parameter expansion.
52750 * sysdeps/unix/make-syscalls.sh: Likewise.
52751
52752 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52753
52754 * sysdeps/sh/stackguard-macros.h: New file.
52755
52756 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52757
52758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52760 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52761 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52762 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52763 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52764
52765 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52766
52767 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52768 Fix thread ID register.
52769
52770 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52771
52772 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52773 [POSIX || UNIX98]: Require rather than permitting all symbols from
52774 <time.h>.
52775 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52776 element of struct sched_param.
52777 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52778 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52779 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52780 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52781 constant.
52782
52783 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52784
52785 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52786 argument calculation.
52787
52788 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52789
52790 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52791 Expect macro.
52792 [POSIX] (pthread_attr_t): Do not require type.
52793 [POSIX] (pthread_cond_t): Likewise.
52794 [POSIX] (pthread_condattr_t): Likewise.
52795 [POSIX] (pthread_key_t): Likewise.
52796 [POSIX] (pthread_mutex_t): Likewise.
52797 [POSIX] (pthread_mutexattr_t): Likewise.
52798 [POSIX] (pthread_once_t): Likewise.
52799 [POSIX] (pthread_t): Likewise.
52800 [POSIX-based standards] (pthread_atfork): Expect function.
52801
52802 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52803 Richard Sandiford <richard@codesourcery.com>
52804
52805 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52806 (swap_endianness_p): New extern variable.
52807 (set_big_endian): New inline function.
52808 (maybe_swap_uint32): Likewise.
52809 (maybe_swap_uint32_array): Likewise.
52810 (maybe_swap_uint32_obstack): Likewise.
52811 * locale/programs/locfile.c: Include <stdbool.h>.
52812 (swap_endianness_p): New variable.
52813 (add_locale_uint32): Call maybe_swap_uint32.
52814 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52815 (write_locale_data): Call maybe_swap_uint32_array.
52816 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52817 maybe_swap_uint32.
52818 (obstack_int32_grow_fast): Likewise.
52819 (output_weightwc): Call maybe_swap_uint32_obstack.
52820 (collate_output): Likewise.
52821 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52822 (OPT_LITTLE_ENDIAN): Likewise.
52823 (options): Add --little-endian and --big-endian options.
52824 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52825 * locale/programs/locarchive.c: Include "locfile.h".
52826 (GET): New macro.
52827 (SET): Likewise.
52828 (INC): Likewise.
52829 (create_archive): Use the new macros to access fields of
52830 structures directly mapped from or written to locale archives.
52831 (oldlocrecentcmp): Likewise.
52832 (enlarge_archive): Likewise.
52833 (insert_name): Likewise.
52834 (add_alias): Likewise.
52835 (add_locale): Likewise.
52836 (delete_locales_from_archive): Likewise.
52837 (show_archive_content): Likewise.
52838 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52839 locale data.
52840
52841 2013-09-24 Roland McGrath <roland@hack.frob.com>
52842
52843 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52844 http://www.gnu.org/doc/freemanuals.texi.
52845 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52846
52847 2013-09-24 Will Newton <will.newton@linaro.org>
52848
52849 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52850 macro.
52851
52852 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52853
52854 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52855 unsigned char.
52856
52857 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52858
52859 * manual/threads.texi (POSIX Threads): Fix a typo.
52860
52861 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52862
52863 [BZ #14547]
52864 * string/tst-strcoll-overflow.c: New test case.
52865 * string/Makefile (xtests): Add tst-strcoll-overflow.
52866 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52867 cache if string sizes may cause integer overflow.
52868
52869 [BZ #14547]
52870 * string/strcoll_l.c (coll_seq): New members rule, idx,
52871 save_idx and back_us.
52872 (get_next_seq_nocache): New function.
52873 (do_compare_nocache): New function.
52874 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52875 when malloc fails.
52876
52877 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52878
52879 [BZ #15754]
52880 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52881 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52882 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52883
52884 [BZ #15754]
52885 * elf/Makefile (tests): Add tst-ptrguard1.
52886 (tests-static): Add tst-ptrguard1-static.
52887 (tst-ptrguard1-ARGS): Define.
52888 (tst-ptrguard1-static-ARGS): Define.
52889 * elf/tst-ptrguard1.c: New file.
52890 * elf/tst-ptrguard1-static.c: New file.
52891 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52892 * sysdeps/i386/stackguard-macros.h: Likewise.
52893 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52894 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52895 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52896 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52897 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52898 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52899
52900 2013-09-23 Hector Marco <hecmargi@upv.es>
52901 Ismael Ripoll <iripoll@disca.upv.es>
52902 Carlos O'Donell <carlos@redhat.com>
52903
52904 [BZ #15754]
52905 * sysdeps/generic/stackguard-macros.h: Define
52906 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52907 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52908 Define __pointer_chk_guard_local.
52909 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52910 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52911
52912 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52913
52914 [BZ #15859]
52915 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52916
52917 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52918
52919 * include/string.h (__ffs): Declare as hidden.
52920 * string/ffs.c (__ffs): Define as hidden.
52921 * sysdeps/i386/ffs.c (__ffs): Likewise.
52922 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52923 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52924 * sysdeps/s390/ffs.c (__ffs): Likewise.
52925 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52926
52927 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52928
52929 * NEWS: Mention malloc probes.
52930
52931 * malloc/arena.c (new_heap): New memory_heap_new probe.
52932 (grow_heap): New memory_heap_more probe.
52933 (shrink_heap): New memory_heap_less probe.
52934 (heap_trim): New memory_heap_free probe.
52935 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52936 (systrim): New memory_sbrk_less probe.
52937 * manual/probes.texi: Document them.
52938
52939 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52940 * manual/probes.texi: Document it.
52941
52942 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52943 (__libc_realloc): Add memory_realloc_retry probe.
52944 (__libc_memalign): Add memory_memalign_retry probe.
52945 (__libc_valloc): Add memory_valloc_retry probe.
52946 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52947 (__libc_calloc): Add memory_calloc_retry probe.
52948 * manual/probes.texi: Document them.
52949
52950 * malloc/arena.c (get_free_list): Add probe
52951 memory_arena_reuse_free_list.
52952 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52953 and memory_arena_reuse.
52954 (arena_get2) [!PER_THREAD]: Likewise.
52955 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52956 memory_arena_reuse_realloc.
52957 * manual/probes.texi: Document them.
52958
52959 * malloc/malloc.c (__libc_free): Add
52960 memory_mallopt_free_dyn_thresholds probe.
52961 (__libc_mallopt): Add multiple memory_mallopt probes.
52962 * manual/probes.texi: Document them.
52963
52964 * malloc/malloc.c: Include stap-probe.h.
52965 (__libc_mallopt): Add memory_mallopt probe.
52966 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52967 * manual/probes.texi: New.
52968 * manual/Makefile (chapters): Add probes.
52969 * manual/threads.texi: Set next node.
52970
52971 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52972
52973 [BZ #15963, #13985]
52974 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52975 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52976 Add `Chinese' to `nan' entry name.
52977
52978 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52979
52980 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52981 (POLYNOMIAL): Likewise.
52982 (TAYLOR_SINCOS): Likewise.
52983 (TAYLOR_SLOW): Likewise.
52984 (__sin): Use TAYLOR_SINCOS.
52985 (__cos): Likewise.
52986 (slow): Use TAYLOR_SLOW.
52987 (sloww): Likewise.
52988 (bsloww): Likewise.
52989 (csloww): Likewise.
52990
52991 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52992
52993 * stdlib/strtod_l.c: Fix buffer overrun.
52994
52995 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52996
52997 * benchtests/Makefile (bench): Add sincos.
52998 * benchtests/bench-sincos.c: New file.
52999
53000 * math/libm-test.inc (cos_test_data): New test inputs.
53001 (sin_test_data): Likewise.
53002
53003 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53004 macro.
53005 (__sin): Use it.
53006 (__cos): Likewise.
53007 (slow1): Likewise.
53008 (slow2): Likewise.
53009 (sloww1): Likewise.
53010 (sloww2): Likewise.
53011 (bsloww1): Likewise.
53012 (bsloww2): Likewise.
53013 (cslow2): Likewise.
53014 (csloww1): Likewise.
53015 (csloww2): Likewise.
53016
53017 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53018 function.
53019 (__sin): Use it.
53020 (__cos): Likewise.
53021
53022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53023 gotos.
53024 (__cos): Likewise.
53025
53026 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
53027
53028 * config.h.in (HAVE_MIPS_NAN2008): New macro.
53029 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53030 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53031 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53032 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53033 * elf/cache.c (print_entry): Handle the new cache flags.
53034
53035 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53036 Aldy Hernandez <aldyh@redhat.com>
53037
53038 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53039 Change condition to [_SOFT_FLOAT].
53040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53052 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53055 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53056 declaration.
53057
53058 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53059
53060 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53061 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53062 (__longjmp): Use LOAD_GP to load saved GPRs.
53063 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53064 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53065 (__sigsetjmp): Use SAVE_GP to save GPRs.
53066
53067 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53068 Do not append -msoft-float.
53069 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53070
53071 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53072
53073 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53074
53075 2013-09-17 Joseph Myers <joseph@codesourcery.com>
53076
53077 [BZ #15966]
53078 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53079 (_FPU_GETCW): Use initial "__" on variable and field names but not
53080 on macro parameter name.
53081 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
53082 parentheses around reference to macro parameter.
53083
53084 2013-09-13 Richard Sandiford <richard@codesourcery.com>
53085
53086 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53087 prototype.
53088 (ctype_startup): Use uint32_t in cast and sizeof for
53089 ctype->charnames.
53090
53091 2013-09-11 Jia Liu <proljc@gmail.com>
53092
53093 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53094 __daddr_t_defined.
53095 [__FreeBSD__]: Likewise.
53096
53097 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
53098
53099 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53100 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53101 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53102 (strchr): Remove __strchr_sse42 ifunc selection.
53103 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53104 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53105
53106 2013-09-11 Will Newton <will.newton@linaro.org>
53107
53108 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53109 parameter to RES. Remove hardcoded 1000 value.
53110 * benchtests/bench-skeleton.c (main): Pass RES parameter
53111 to TIMING_INIT and multiply result by 1000.
53112
53113 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53114
53115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53116
53117 2013-09-11 Andreas Schwab <schwab@suse.de>
53118
53119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53120 if not defined.
53121 (O_TMPFILE) [__USE_GNU]: Define.
53122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53123 Define.
53124
53125 2013-09-11 Will Newton <will.newton@linaro.org>
53126
53127 [BZ #15857]
53128 * malloc/malloc.c (__libc_memalign): Check the value of bytes
53129 does not overflow.
53130
53131 2013-09-11 Will Newton <will.newton@linaro.org>
53132
53133 [BZ #15856]
53134 * malloc/malloc.c (__libc_valloc): Check the value of bytes
53135 does not overflow.
53136
53137 2013-09-11 Will Newton <will.newton@linaro.org>
53138
53139 [BZ #15855]
53140 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53141 does not overflow.
53142
53143 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
53144
53145 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53146 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53150
53151 2013-09-10 Allan McRae <allan@archlinux.org>
53152
53153 [BZ #15748]
53154 * manual/arith.texi (Parsing of Floats): Clarify
53155 cross-reference.
53156
53157 [BZ #15849]
53158 * manual/install.texi (Running make install): Mention
53159 --enable-pt-chown.
53160 * INSTALL: Regenerated.
53161
53162 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
53163
53164 * csu/init-first.c (_init): Remove the !SHARED condition around
53165 FPU control word initialization.
53166 * elf/dl-support.c (_dl_fpu_control): New variable.
53167 (_dl_aux_init) <AT_FPUCW>: Initialize it.
53168 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53169 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53170 * math/test-fpucw-static.c: New file.
53171 * math/test-fpucw-ieee.c: New file.
53172 * math/test-fpucw-ieee-static.c: New file.
53173 * math/Makefile (tests): Add `test-fpucw-ieee' and
53174 `$(tests-static)'.
53175 (tests-static): New variable.
53176 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53177 dependency to...
53178 [($(build-shared),yes)]
53179 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53180 ... this.
53181 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53182 New dependency.
53183
53184 2013-09-09 Allan McRae <allan@archlinux.org>
53185
53186 [BZ #15939]
53187 * manual/string.texi (Collation Functions): Fix typo in
53188 strcoll example.
53189 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53190
53191 [BZ #15893]
53192 * stdlib/isomac.c (get_null_defines): Fix memory leak.
53193
53194 [BZ #15892]
53195 * libio/memstream.c (open_memstream): Fix memory leak.
53196 * libio/wmemstream.c (open_wmemstream): Likewise.
53197
53198 [BZ #15895]
53199 * nscd/netgroupcache.c: Fix nesting of ifdefs.
53200
53201 2013-09-09 Will Newton <will.newton@linaro.org>
53202
53203 * malloc/Makefile: Add tst-realloc to tests.
53204 * malloc/tst-realloc.c: New file.
53205
53206 2013-09-09 Allan McRae <allan@archlinux.org>
53207
53208 [BZ #15844]
53209 * COPYING: Update from GNU website to fix FSF address.
53210 * COPYING.LIB: Likewise.
53211
53212 2013-09-06 David S. Miller <davem@davemloft.net>
53213
53214 * po/zh_TW.po: Update Chinese (traditional) translation from
53215 translation project.
53216
53217 2013-09-06 Richard Sandiford <richard@codesourcery.com>
53218 Joseph Myers <joseph@codesourcery.com>
53219
53220 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53221 "localeinfo.h".
53222 (obstack_chunk_alloc): New macro.
53223 (obstack_chunk_free): Likewise.
53224 (record_offset): New function.
53225 (init_locale_data): Likewise.
53226 (align_locale_data): Likewise.
53227 (add_locale_empty): Likewise.
53228 (add_locale_raw_data): Likewise.
53229 (add_locale_raw_obstack): Likewise.
53230 (add_locale_string): Likewise.
53231 (add_locale_wstring): Likewise.
53232 (add_locale_uint32): Likewise.
53233 (add_locale_uint32_array): Likewise.
53234 (add_locale_char): Likewise.
53235 (start_locale_structure): Likewise.
53236 (end_locale_structure): Likewise.
53237 (start_locale_prelude): Likewise.
53238 (end_locale_prelude): Likewise.
53239 (write_locale_data): Take locale_file structure rather than an
53240 iovec.
53241 * locale/programs/locfile.h: Include "obstack.h".
53242 (struct locale_file): Change to store locale file contents instead
53243 of header.
53244 (init_locale_data): New prototype.
53245 (align_locale_data): Likewise.
53246 (add_locale_empty): Likewise.
53247 (add_locale_raw_data): Likewise.
53248 (add_locale_raw_obstack): Likewise.
53249 (add_locale_string): Likewise.
53250 (add_locale_wstring): Likewise.
53251 (add_locale_uint32): Likewise.
53252 (add_locale_uint32_array): Likewise.
53253 (add_locale_char): Likewise.
53254 (start_locale_structure): Likewise.
53255 (end_locale_structure): Likewise.
53256 (start_locale_prelude): Likewise.
53257 (end_locale_prelude): Likewise.
53258 (write_locale_data): Update prototype.
53259 * locale/programs/3level.h (struct TABLE): Remove result field.
53260 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53261 Use new locale_file interface.
53262 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53263 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53264 * locale/programs/ld-address.c (address_output): Use new
53265 locale_file interface.
53266 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53267 NO_ADD_LOCALE.
53268 (collate_finish): Don't call collseq_table_finalize.
53269 (collate_output): Use new locale_file interface.
53270 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53271 in file.
53272 (NO_FINALIZE): Change to NO_ADD_LOCALE.
53273 (TABLE): Move defines earlier in file.
53274 (ELEMENT): Likewise.
53275 (DEFAULT): Likewise.
53276 (wctrans_table_add): Move macro and inline function earlier in
53277 file.
53278 (struct wctype_table): Move type earlier in file.
53279 (add_locale_wctype_table): New static prototype.
53280 (struct locale_ctype_t): Use logical types instead of struct iovec
53281 pointers for members.
53282 (ctype_output): Use new locale_file interface.
53283 (wctype_table_finalize): Change to add_locale_wctype_table. Use
53284 new locale_file interface.
53285 (allocate_arrays): Update for use of new locale_file interface.
53286 * locale/programs/ld-identification.c (identification_output): Use
53287 new locale_file interface.
53288 * locale/programs/ld-measurement.c (measurement_output): Likewise.
53289 * locale/programs/ld-messages.c (messages_output): Likewise.
53290 * locale/programs/ld-monetary.c (monetary_output): Likewise.
53291 * locale/programs/ld-name.c (name_output): Likewise.
53292 * locale/programs/ld-numeric.c (numeric_output): Likewise.
53293 * locale/programs/ld-paper.c (paper_output): Likewise.
53294 * locale/programs/ld-telephone.c (telephone_output): Likewise.
53295 * locale/programs/ld-time.c (time_output): Likewise.
53296
53297 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53298
53299 * benchtests/Makefile: Add memrchr benchmark.
53300 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53301 benchmark as memrchr.
53302 * benchtests/bench-memrchr-ifunc.c: New file.
53303 * benchtests/bench-memrchr.c: New file.
53304
53305 2013-09-06 Will Newton <will.newton@linaro.org>
53306
53307 * benchtests/Makefile (string-bench): Add memcpy.
53308
53309 2013-09-05 Carlos O'Donell <carlos@redhat.com>
53310 Cong Wang <amwang@redhat.com>
53311
53312 [BZ #15850]
53313 * sysdeps/unix/sysv/linux/bits/in.h
53314 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53315 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53316 before __USE_KERNEL_IPV6_DEFS uses.
53317 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53318 IPPROTO_BEETPH.
53319 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53320 sockaddr_in6, or ipv6_mreq.
53321
53322 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53323
53324 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53325 memory access for final bytes in some large inputs.
53326 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53327
53328 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53329
53330 * string/test-memrchr.c: New file.
53331 * string/test-memrchr-ifunc.c: New file.
53332 * string/Makefile: Add new memrchr testcase.
53333
53334 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53335
53336 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53337 fanotify_init returns EPERM.
53338
53339 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53340
53341 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53342 errors.
53343 (top level): Treat second token from macro or constant entries for
53344 allowed headers as allowed.
53345 * include/complex.h: Condition internal declarations on
53346 [!_ISOMAC].
53347 * include/fenv.h: Condition include of <stdbool.h> and internal
53348 declarations on [!_ISOMAC].
53349
53350 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53351
53352 [BZ #15923]
53353 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53354
53355 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53356
53357 * configure.in (--enable-versioning): Remove configure option.
53358 (libc_cv_asm_symver_directive): Remove configure test.
53359 (libc_cv_ld_version_script_option): Likewise.
53360 (VERSIONING): Remove variable and AC_SUBST.
53361 (DO_VERSIONING): Remove AC_DEFINE.
53362 * configure: Regenerated.
53363 * config.h.in (DO_VERSIONING): Remove macro.
53364 * Makerules [$(versioning) = yes]: Change conditionals to
53365 [$(build-shared) = yes].
53366 * config.make.in (versioning): Remove variable.
53367 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53368 [$(build-shared) = yes].
53369 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53370 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53371 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53372 [$(build-shared) = yes].
53373 * extra-lib.mk [$(versioning) = yes]: Likewise.
53374 * hurd/Makefile [$(versioning) = yes]: Likewise.
53375 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53376 [SHARED].
53377 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53378 [SHARED].
53379 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53380 [SHARED && !NO_HIDDEN].
53381 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53382 [SHARED].
53383 [SHARED && DO_VERSIONING]: Likewise..
53384 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53385 [$(build-shared) = yes].
53386 * manual/install.texi (--disable-versioning): Remove
53387 documentation.
53388 * INSTALL: Regenerated.
53389 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53390 to [SHARED].
53391 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53392 [$(build-shared) = yes].
53393 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53394 * sysdeps/i386/i686/multiarch/strstr-c.c
53395 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53396 [SHARED && !NO_HIDDEN].
53397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53398 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53399 * sysdeps/powerpc/powerpc32/dl-machine.c
53400 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53401 * sysdeps/powerpc/powerpc32/sysdep.h
53402 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53403 to [SHARED && PIC && !NO_HIDDEN].
53404 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53405 conditional to [SHARED].
53406
53407 2013-09-04 Will Newton <will.newton@linaro.org>
53408
53409 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53410 * benchtests/bench-string.h: Include bench-timing.h instead
53411 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53412 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53413 call to HP_TIMING_DIFF_INIT.
53414 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53415 instead of hp-timing.h macros.
53416 * benchtests/bench-memchr.c: Likewise.
53417 * benchtests/bench-memcmp.c: Likewise.
53418 * benchtests/bench-memcpy.c: Likewise.
53419 * benchtests/bench-memmem.c: Likewise.
53420 * benchtests/bench-memmove.c: Likewise.
53421 * benchtests/bench-memset.c: Likewise.
53422 * benchtests/bench-rawmemchr.c: Likewise.
53423 * benchtests/bench-strcasecmp.c: Likewise.
53424 * benchtests/bench-strcasestr.c: Likewise.
53425 * benchtests/bench-strcat.c: Likewise.
53426 * benchtests/bench-strchr.c: Likewise.
53427 * benchtests/bench-strcmp.c: Likewise.
53428 * benchtests/bench-strcpy.c: Likewise.
53429 * benchtests/bench-strcpy_chk.c: Likewise.
53430 * benchtests/bench-strlen.c: Likewise.
53431 * benchtests/bench-strncasecmp.c: Likewise.
53432 * benchtests/bench-strncat.c: Likewise.
53433 * benchtests/bench-strncmp.c: Likewise.
53434 * benchtests/bench-strncpy.c: Likewise.
53435 * benchtests/bench-strnlen.c: Likewise.
53436 * benchtests/bench-strpbrk.c: Likewise.
53437 * benchtests/bench-strrchr.c: Likewise.
53438 * benchtests/bench-strspn.c: Likewise.
53439 * benchtests/bench-strstr.c: Likewise.
53440
53441 2013-09-04 Will Newton <will.newton@linaro.org>
53442
53443 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53444
53445 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53446
53447 [BZ #15427]
53448 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53449 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53450 * math/libm-test.inc (lgamma_test_data): Add more tests.
53451 * sysdeps/i386/fpu/libm-test-ulps: Update.
53452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53453
53454 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
53455
53456 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53457 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53458 Add ifunc.
53459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53460 Add strcmp-sse2-unaligned
53461 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53462
53463 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53464
53465 * Versions.def (libc): Add GLIBC_2.19.
53466
53467 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53468
53469 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53470 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53471
53472 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53473
53474 [BZ #14155]
53475 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53476 intermediate calculations in recurrence.
53477 (__ieee754_ynf): Likewise.
53478 * math/libm-test.inc (jn_test_data): Do not allow spurious
53479 underflow exception. Add more tests.
53480 (yn_test_data): Add more tests.
53481 * sysdeps/i386/fpu/libm-test-ulps: Update.
53482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53483
53484 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53485
53486 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53487
53488 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53489
53490 * csu/init-first.c: Fix then/than typos.
53491 * locale/programs/ld-collate.c: Likewise.
53492 * locale/programs/linereader.h: Likewise.
53493 * manual/charset.texi: Likewise.
53494 * manual/filesys.texi: Likewise.
53495 * manual/stdio.texi: Likewise.
53496 * manual/string.texi: Likewise.
53497 * stdlib/fmtmsg.c: Likewise.
53498 * sysdeps/i386/stpncpy.S: Likewise.
53499 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53500 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53501 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53502 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53503
53504 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53505
53506 * elf/dl-open.c: Fix typos.
53507 * iconvdata/gbbig5.c: Likewise.
53508 * iconvdata/iso-2022-jp.c: Likewise.
53509 * iconv/gconv_int.h: Likewise.
53510 * iconv/loop.c: Likewise.
53511 * nis/rpcsvc/nis.h: Likewise.
53512 * resolv/ns_name.c: Likewise.
53513 * stdio-common/vfscanf.c: Likewise.
53514 * streams/stropts.h: Likewise.
53515 * sunrpc/rpc_thread.c: Likewise.
53516 * sysdeps/i386/strpbrk.S: Likewise.
53517 * sysdeps/ieee754/k_standard.c: Likewise.
53518 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53520 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53521 * sysdeps/mach/hurd/profil.c: Likewise.
53522 * sysdeps/s390/dl-procinfo.h: Likewise.
53523 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53524 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53525 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53526 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53527 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53528
53529 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53530
53531 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53533
53534 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53535
53536 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53537 aix specific files.
53538 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53540 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53541 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53542 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53543 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53544 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53545 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53546
53547 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53548 Roland McGrath <roland@hack.frob.com>
53549
53550 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53551 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53552
53553 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53554
53555 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53556 __executable_start symbol instead of _start.
53557
53558 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53559
53560 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53561 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53562 Move macros to...
53563 * sysdeps/gnu/ldsodefs.h: ... this new file.
53564
53565 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53566 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53567 instead of ELFOSABI_LINUX.
53568
53569 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53570 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53571 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53572 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53573 Likewise.
53574 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53575 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53576 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53577 Likewise.
53578 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53579 (ibm_extended_long_double): Add ieee_nan member.
53580 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53581 (do_test): New function.
53582
53583 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53584 TEST_TRUNC.
53585 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53586 functions, renamed from truncdfsf_test, trunctfsf_test,
53587 trunctfdf_test.
53588 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53589 functions.
53590 (do_test): Run all these.
53591
53592 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53593
53594 * argp/argp-help.c: Fix typos.
53595 * argp/argp-parse.c: Likewise.
53596 * debug/backtracesyms.c: Likewise.
53597 * elf/elf.h: Likewise.
53598 * malloc/malloc.c: Likewise.
53599 * nis/nis_print.c: Likewise.
53600 * resolv/res_comp.c: Likewise.
53601 * stdlib/stdlib.h: Likewise.
53602 * sunrpc/clnt_tcp.c: Likewise.
53603 * sunrpc/clnt_udp.c: Likewise.
53604 * sunrpc/clnt_unix.c: Likewise.
53605 * sysdeps/unix/bsd/ptsname.c: Likewise.
53606 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53607 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53609 Likewise.
53610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53611 Likewise.
53612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53613 Likewise.
53614 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53615
53616 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53617
53618 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53620
53621 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53622
53623 [BZ #15897]
53624 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53625 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53626 ($(objpfx)bug-dl-leaf): New rule.
53627 ($(objpfx)bug-dl-leaf.so): Likewise.
53628 ($(objpfx)bug-dl-leaf.out): Likewise.
53629 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53630 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53631 * dlfcn/bug-dl-leaf.c: New test.
53632 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53633 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53634 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53635 (dlclose): Likewise.
53636 (dlmopen): Likewise.
53637
53638 2013-08-27 Roland McGrath <roland@hack.frob.com>
53639
53640 * include/netdb.h [!_ISOMAC]:
53641 Don't include <tls.h>.
53642 (h_errno, __libc_h_errno): Move declaration and macros out of
53643 [_LIBC_REENTRANT].
53644
53645 * include/resolv.h [_RESOLV_H_]:
53646 Don't include <tls.h>.
53647 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53648 * resolv/res_libc.c: Don't include <tls.h>.
53649 (_res): Use __attribute__ ((nocommon)) in place of
53650 __attribute__ ((section (".bss"))).
53651
53652 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53653 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53654
53655 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53656
53657 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53658 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53659
53660 * resolv/res_mkquery.c: Include <sys/time.h>.
53661
53662 * inet/ifreq.c: Moved to ...
53663 * sysdeps/unix/ifreq.c: ... here.
53664 * inet/ifreq.c: New file, true stub version.
53665
53666 * socket/sa_len.c: New file.
53667 * socket/Makefile (aux): Add it.
53668 * sysdeps/unix/sysv/linux/Makefile
53669 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53670 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53671 and #include <socket/sa_len.c>.
53672 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53673 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53674
53675 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53676 * bits/socket.h: ... here.
53677
53678 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53679 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53680 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53681
53682 2013-08-27 Andreas Schwab <schwab@suse.de>
53683
53684 [BZ #15736]
53685 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53686 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53687 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53688 * string/test-strcasecmp.c (test_main): Run tests in several
53689 locales.
53690 * string/test-strncasecmp.c (test_main): Likewise.
53691
53692 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53693 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53694 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53696 (__strncasecmp_ssse3) [PIC]: Likewise.
53697
53698 2013-08-26 Roland McGrath <roland@hack.frob.com>
53699
53700 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53701
53702 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53703 instead of explicitly declaring xdecrypt.
53704 * nis/nss_nis/nis-publickey.c: Likewise.
53705
53706 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53707
53708 [BZ #15890]
53709 * nscd/aicache.c: Include res_hconf.h.
53710 (addhstaiX): Initialize res_hconf.
53711
53712 2013-08-26 Andreas Schwab <schwab@suse.de>
53713
53714 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53715 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53716
53717 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53718
53719 * nscd/aicache.c (addhstaiX): Fix indentation.
53720
53721 2013-08-25 Mike Frysinger <vapier@gentoo.org>
53722
53723 * configure.ac: Quote $build_pt_chown test.
53724 * configure: Regenerated.
53725
53726 2013-08-23 Joseph Myers <joseph@codesourcery.com>
53727
53728 [BZ #15532]
53729 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53730 * math/s_cexpf.c (__cexpf): Likewise.
53731 * math/s_cexpl.c (__cexpl): Likewise.
53732 * math/libm-test.inc (cexp_test_data): Correct expected return
53733 value for NaN + i0. Add another test.
53734
53735 2013-08-22 David S. Miller <davem@davemloft.net>
53736
53737 * po/ca.po: Update Catalan translation from translation project.
53738 * po/uk.po: Add Ukrainian translations from translation project.
53739
53740 2013-08-21 Joseph Myers <joseph@codesourcery.com>
53741
53742 [BZ #15797]
53743 * math/s_fdim.c (__fdim): Check for infinite arguments if result
53744 is infinite, not alongside NaN test.
53745 * math/s_fdimf.c (__fdimf): Likewise.
53746 * math/s_fdiml.c (__fdiml): Likewise.
53747 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
53748 errno is unchanged.
53749
53750 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53751
53752 * argp/argp-help.c: Fix typos.
53753 * crypt/speeds.c: Likewise.
53754 * csu/check_fds.c: Likewise.
53755 * elf/dl-load.c: Likewise.
53756 * elf/dl-open.c: Likewise.
53757 * elf/reldep3.c: Likewise.
53758 * elf/reldep.c: Likewise.
53759 * elf/sprof.c: Likewise.
53760 * iconv/iconv_charmap.c: Likewise.
53761 * iconv/skeleton.c: Likewise.
53762 * iconv/strtab.c: Likewise.
53763 * io/lockf64.c: Likewise.
53764 * libio/libioP.h: Likewise.
53765 * resolv/gai_notify.c: Likewise.
53766 * resolv/ns_name.c: Likewise.
53767 * resolv/ns_samedomain.c: Likewise.
53768 * resolv/res_send.c: Likewise.
53769 * stdlib/random.c: Likewise.
53770 * sunrpc/rpc/xdr.h: Likewise.
53771 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53772 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53773 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53774 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53776 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53778 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53779 * sysdeps/mach/hurd/check_fds.c: Likewise.
53780 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53781 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53783 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53784 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53785 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53786 * sysdeps/pthread/aio_notify.c: Likewise.
53787 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53788 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53789 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53790 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53791 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53792
53793 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53794
53795 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53796 version if bit_Slow_SSE4_2 is set.
53797 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53798 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53799
53800 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53801
53802 [BZ #15867]
53803 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53804 trampoline stack frame information.
53805 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53806 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53807 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53808 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53809 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53810 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53811 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53812 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53813 sa_flags value.
53814 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53815 interrupting a syscall and set with option SA_SIGINFO.
53816
53817 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53818
53819 [BZ #15531]
53820 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53821 argument is infinite.
53822 * math/s_cprojf.c (__cprojf): Likewise.
53823 * math/s_cprojl.c (__cprojl): Likewise.
53824 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53825 * math/libm-test.inc (cproj_test_data): Add more tests.
53826
53827 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53828
53829 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53830 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53831 size. Use __ffs to determine corresponding shift.
53832
53833 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53834 Roland McGrath <roland@hack.frob.com>
53835
53836 * Makefile (INSTALL): Remove trailing blank lines from output of
53837 makeinfo.
53838
53839 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53840
53841 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53842 Align 32 bit compat elf_greg to 8 bytes.
53843
53844 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53845
53846 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53847
53848 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53849
53850 * string/strcoll_l.c (coll_seq): New structure.
53851 (get_next_seq_cached): New function.
53852 (get_next_seq): New function.
53853 (do_compare): New function.
53854 (STRCOLL): Use GNU style definition. Simplify implementation
53855 by using get_next_seq, get_next_seq_cached and do_compare.
53856
53857 2013-08-16 Florian Weimer <fweimer@redhat.com>
53858
53859 [BZ #14699]
53860 CVE-2013-4237
53861 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53862 member.
53863 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53864 member.
53865 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53866 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53867 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53868 conditional.
53869 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53870 GETDENTS_64BIT_ALIGNED.
53871 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53872 * manual/filesys.texi (Reading/Closing Directory): Document
53873 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53874 strongly.
53875 * manual/conf.texi (Limits for Files): Add portability note to
53876 NAME_MAX, PATH_MAX.
53877 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53878
53879 2013-08-13 Andreas Schwab <schwab@suse.de>
53880
53881 [BZ #15749]
53882 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53883 of fabs.
53884 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53885 LDBL_MAX_EXP >= 16384]: Add tests for it.
53886
53887 2013-08-12 David S. Miller <davem@davemloft.net>
53888
53889 * version.h (RELEASE): Set to "development".
53890 (VERSION): Set to "2.18.90".
53891 * NEWS: Add 2.19 section.
53892
53893 2013-08-03 David S. Miller <davem@davemloft.net>
53894
53895 * po/ko.po: Update Korean translation from translation project.
53896
53897 2013-08-01 David S. Miller <davem@davemloft.net>
53898
53899 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53900 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53901 Bilka.
53902
53903 2013-07-30 David S. Miller <davem@davemloft.net>
53904
53905 * po/fr.po: Update French translation from translation project.
53906
53907 2013-07-28 David S. Miller <davem@davemloft.net>
53908
53909 * po/cs.po: Update Czech translation from translation project.
53910
53911 * po/sv.po: Update Swedish translation from translation project.
53912
53913 2013-07-27 David S. Miller <davem@davemloft.net>
53914
53915 * po/eo.po: Update Esperanto translation from translation project.
53916
53917 * po/vi.po: Update Vietnamese translation from translation project.
53918
53919 * po/de.po: Update German translation from translation project.
53920
53921 2013-07-26 David S. Miller <davem@davemloft.net>
53922
53923 * po/bg.po: Update Bulgarian translation from translation project.
53924
53925 * po/nl.po: Update Dutch translation from translation project.
53926 * po/pl.po: Update Polish translation from translation project.
53927 * po/ru.po: Update Russian translation from translation project.
53928
53929 2013-07-24 David S. Miller <davem@davemloft.net>
53930
53931 * po/libc.pot: Update.
53932
53933 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53934
53935 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53936 variable page size.
53937 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53938 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53939 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53940
53941 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53942
53943 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53944
53945 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53946 Andreas Schwab <schwab@suse.de>
53947 Roland McGrath <roland@hack.frob.com>
53948 Joseph Myers <joseph@codesourcery.com>
53949 Carlos O'Donell <carlos@redhat.com>
53950
53951 [BZ #15755]
53952 * config.h.in: Define HAVE_PT_CHOWN.
53953 * config.make.in (build-pt-chown): New variable.
53954 * configure.in (--enable-pt_chown): New configure option.
53955 * configure: Regenerate.
53956 * login/Makefile: Include Makeconfig. Build pt_chown only if
53957 build-pt-chown is enabled.
53958 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53959 pt_chown to fix pty ownership.
53960 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53961 CLOSE_ALL_FDS.
53962 * manual/install.texi (Configuring and compiling): Mention
53963 --enable-pt_chown. Add @findex for grantpt.
53964 * INSTALL: Regenerate.
53965
53966 2013-07-20 David S. Miller <davem@davemloft.net>
53967
53968 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53969 difference between 32-bit and 64-bit.
53970
53971 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53972
53973 [BZ #15711]
53974 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53975 Avoid system header dependency with -ffreestanding.
53976 ($(objpfx)bits/syscall%d): Likewise.
53977
53978 2013-07-13 David S. Miller <davem@davemloft.net>
53979
53980 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53981 underflows from atanl/atan2l due to bug 15319.
53982 (casinh_test_data): Likewise.
53983
53984 2013-07-07 David S. Miller <davem@davemloft.net>
53985
53986 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53987
53988 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53989
53990 * sysdeps/i386/fpu/libm-test-ulps: Update.
53991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53992
53993 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53994
53995 * configure.in (--enable-lock-elision): Fix message text.
53996 * INSTALL: Regenerate.
53997 * configure: Regenerate.
53998
53999 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54000
54001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54002
54003 2013-07-03 Andreas Jaeger <aj@suse.de>
54004
54005 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54006 define.
54007 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54008 (ptrace_peeksiginfo_args): Add.
54009 (__ptrace_peeksiginfo_flags): Add.
54010 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54013
54014 2013-07-03 Allan McRae <allan@archlinux.org>
54015
54016 * sysdeps/i386/fpu/libm-test-ulps: Update.
54017
54018 2013-07-02 David S. Miller <davem@davemloft.net>
54019
54020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54021
54022 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
54023
54024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54025
54026 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54027
54028 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54030
54031 2013-07-02 Andi Kleen <ak@linux.intel.com>
54032
54033 * config.h.in (ENABLE_LOCK_ELISION): Add.
54034 * configure.in (--enable-lock-elision): Add option.
54035 * manual/install.texi: Document --enable lock elision.
54036 * configure: Regenerate
54037 * INSTALL: Regenerate.
54038
54039 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
54040
54041 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54042 SSE4.2 strcasecmp for libc.a.
54043 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54044
54045 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54046
54047 [BZ #13304]
54048 * soft-fp/op-common.h (_FP_FMA): New macro.
54049 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54050 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
54051 (_FP_MUL_MEAT_1_imm): ... here.
54052 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
54053 (_FP_MUL_MEAT_1_wide): ... here.
54054 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
54055 (_FP_MUL_MEAT_1_hard): ... here.
54056 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54057 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
54058 (_FP_MUL_MEAT_2_wide): ... here.
54059 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
54060 (_FP_MUL_MEAT_2_wide_3mul): ... here.
54061 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
54062 (_FP_MUL_MEAT_2_gmp): ... here.
54063 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54064 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
54065 (_FP_MUL_MEAT_4_wide): ... here.
54066 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
54067 (_FP_MUL_MEAT_4_gmp): ... here.
54068 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54069 (_FP_WFRACBITS_DW_S): Likewise.
54070 (_FP_WFRACXBITS_DW_S): Likewise.
54071 (_FP_HIGHBIT_DW_S): Likewise.
54072 (FP_FMA_S): Likewise.
54073 (_FP_FRAC_HIGH_DW_S): Likewise.
54074 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54075 (_FP_WFRACBITS_DW_D): Likewise.
54076 (_FP_WFRACXBITS_DW_D): Likewise.
54077 (_FP_HIGHBIT_DW_D): Likewise.
54078 (FP_FMA_D): Likewise.
54079 (_FP_FRAC_HIGH_DW_D): Likewise.
54080 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54081 (_FP_WFRACBITS_DW_E): Likewise.
54082 (_FP_WFRACXBITS_DW_E): Likewise.
54083 (_FP_HIGHBIT_DW_E): Likewise.
54084 (FP_FMA_E): Likewise.
54085 (_FP_FRAC_HIGH_DW_E): Likewise.
54086 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54087 (_FP_WFRACBITS_DW_Q): Likewise.
54088 (_FP_WFRACXBITS_DW_Q): Likewise.
54089 (_FP_HIGHBIT_DW_Q): Likewise.
54090 (FP_FMA_Q): Likewise.
54091 (_FP_FRAC_HIGH_DW_Q): Likewise.
54092 * soft-fp/fmasf4.c: New file.
54093 * soft-fp/fmadf4.c: Likewise.
54094 * soft-fp/fmatf4.c: Likewise.
54095
54096 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54097
54098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54099 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54100 Silvermont.
54101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54102 macro.
54103 (index_Slow_SSE4_2): Likewise.
54104 (index_Prefer_PMINUB_for_stringop): Likewise.
54105 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54106 bit_Slow_SSE4_2 is set.
54107 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54108 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54109
54110 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54111
54112 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54113 rtld_global._dl_hwcap2.
54114 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54115 POWER8.
54116 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54117 POWER8 feature descriptions defined in _dl_hwcap2.
54118 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54119 string handling for POWER8 feature bits.
54120 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54121 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54122 _dl_powerpc_cap_flags.
54123 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54124 * sysdeps/powerpc/rtld-global-offsets.sym
54125 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54126 _dl_hwcap2 in the rtld_global_ro structure.
54127
54128 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54129
54130 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54131 hardware capabilities in support of AT_HWCAP2.
54132 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54133 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54134 GLRO(dl_hwcap2).
54135 (_dl_show_auxv): Add support for calling _dl_procinfo to display
54136 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
54137 explicitly the unknown a_type display mechanism is used.
54138 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54139 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54140 struct member.
54141 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54142 to macro prototype for AT_HWCAP2 support.
54143 * sysdeps/i386/dl-procinfo.h: Likewise.
54144 * sysdeps/s390/dl-procinfo.h: Likewise.
54145 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54146 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
54147 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
54148 return -1 for unknown a_type display fallback.
54149 * sysdeps/sparc/dl-procinfo.h: Likewise.
54150 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54151 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54152
54153 2013-06-28 Joseph Myers <joseph@codesourcery.com>
54154
54155 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54156 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54157
54158 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
54159
54160 [BZ #12492]
54161 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54162 mprotect making __stack_prot writable.
54163
54164 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
54165 Joseph Myers <joseph@codesourcery.com>
54166
54167 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54168 as being properly aligned.
54169
54170 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
54171
54172 * dlfcn/modstatic5.c: New file.
54173 * dlfcn/tststatic5.c: New file.
54174 * dlfcn/Makefile (tests): Add tststatic5.
54175 (tests-static): Likewise.
54176 (modules-names): Add modstatic5.
54177 (tststatic5-ENV): New variable.
54178 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54179
54180 [BZ #15022]
54181 * elf/dl-support.c (_dl_main_map): New variable.
54182 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54183 (_dl_nns, _dl_load_adds): Set to 1.
54184 (_dl_initial_searchlist): Refer to _dl_main_map.
54185 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54186 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54187 call to _dl_get_origin.
54188 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54189 around call_map.
54190 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54191 * dlfcn/modstatic3.c: New file.
54192 * dlfcn/tststatic3.c: New file.
54193 * dlfcn/tststatic4.c: New file.
54194 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54195 (tests-static): Likewise.
54196 (modules-names): Add modstatic3.
54197 (tststatic3-ENV, tststatic4-ENV): New variables.
54198 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54199 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54200
54201 2013-06-26 Joseph Myers <joseph@codesourcery.com>
54202
54203 * configure.in (CC): Require GCC version 4.4 or later.
54204 * configure: Regenerated.
54205 * manual/install.texi (Tools for Compilation): Update GCC version
54206 requirement.
54207 * INSTALL: Regenerated.
54208
54209 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54210
54211 [BZ #15674]
54212 * string/test-memcmp.c (check2): New.
54213 (main): Call check2.
54214
54215 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54216
54217 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
54218
54219 [BZ #15022]
54220 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54221 over to...
54222 (dl_open_worker) [!SHARED]: ... here.
54223
54224 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54225
54226 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54227
54228 2013-06-25 Richard Henderson <rth@redhat.com>
54229
54230 * locale/programs/locarchive.c: Include <libc-internal.h>
54231
54232 2013-06-25 Joseph Myers <joseph@codesourcery.com>
54233
54234 * manual/texinfo.tex: Update to version 2013-06-21.17, with
54235 trailing whitespace removed.
54236
54237 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54238
54239 [BZ #10283]
54240 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54241 * locale/programs/locarchive.c: Include libc-mmap.h.
54242 (prepare_address_space): Take two new outputs (the mmap base and len).
54243 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
54244 values.
54245 (create_archive): Declare new mmap base and len values for
54246 prepare_address_space, and store the result in ah.
54247 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54248 (enlarge_archive): If ah->mmap_base is not NULL, use that and
54249 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54250 Declare new mmap base and len values for
54251 prepare_address_space, and store the result in new_ah.
54252 (open_archive): Declare new mmap base and len values for
54253 prepare_address_space, and store the result in ah.
54254 (close_archive): If ah->mmap_base is not NULL, use that and
54255 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54256 * sysdeps/generic/libc-mmap.h: New file.
54257
54258 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54259
54260 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54261 (ALIGN_UP): Likewise.
54262 (PTR_ALIGN_DOWN): Likewise.
54263 (PTR_ALIGN_UP): Likewise.
54264
54265 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54266
54267 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54268 entry mapped to PPC_PLATFORM_POWER8.
54269 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54270 POWER8.
54271 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54272 (_dl_string_platform): Add case for exporting platform position for
54273 POWER8.
54274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54275 search path to sysdeps/powerpc/powerpc32/power8 directory.
54276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54277 search path to sysdeps/powerpc/powerpc64/power8 directory.
54278 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54279 power7 directories.
54280 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54281 power7 directories.
54282
54283 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54284
54285 * INSTALL: Regenerate.
54286
54287 * nscd/connections.c (nscd_init): Fix comment.
54288
54289 2013-06-22 Joseph Myers <joseph@codesourcery.com>
54290
54291 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54292
54293 [BZ #15667]
54294 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54295 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54296
54297 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54298
54299 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54300 DL_DST_REQ_STATIC.
54301 (DL_DST_REQ_STATIC): Remove macro.
54302
54303 2013-06-21 Joseph Myers <joseph@codesourcery.com>
54304
54305 [BZ #7006]
54306 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54307 with a shift of 0 bits.
54308
54309 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54310
54311 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54312 $(tststatic-ENV).
54313
54314 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54315
54316 [BZ #15655]
54317 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54318
54319 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54320
54321 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54322 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54323 accepts -fno-tree-loop-distribute-patterns.
54324 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54325 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54326 recursive call.
54327 * string/memset.c (memset): Likewise.
54328 * string/test-memmove.c (simple_memmove): Disable loop transformation
54329 to library calls.
54330 * string/test-memset.c (simple_memset): Likewise.
54331 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54332 * benchtests/bench-memset.c (simple_memset): Likewise.
54333 * configure: Regenerated.
54334
54335 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54336
54337 * math/test-misc.c (main): Ignore fesetround failure when failures
54338 of subsequent rounding tests would be ignored.
54339
54340 [BZ #15654]
54341 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54342 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54343 * math/fegetenv.c (__fegetenv): Return 0.
54344 * math/fegetexcept.c (fegetexcept): Return 0.
54345 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54346 FE_TONEAREST.
54347 * math/feholdexcpt.c (feholdexcept): Return 0.
54348 * math/fesetenv.c (__fesetenv): Return 0.
54349 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54350 argument FE_TONEAREST.
54351 * math/feupdateenv.c (__feupdateenv): Return 0.
54352 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54353
54354 2013-06-18 Roland McGrath <roland@hack.frob.com>
54355
54356 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54357 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54358 ($(objpfx)rtld-%.os rules): Use them.
54359
54360 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54361
54362 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54363 fields.
54364
54365 2013-06-17 Roland McGrath <roland@hack.frob.com>
54366
54367 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54368 length of target pattern, then descending length of dependency pattern.
54369 * configure.in (AWK): Require gawk 3.1.2 or newer.
54370 * manual/install.texi (Tools for Compilation): Say that we do.
54371 * configure: Regenerated.
54372
54373 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54374 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54375 * scripts/sysd-rules.awk: ... this new script.
54376 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54377 than a glob-style pattern.
54378
54379 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54380
54381 * math/test-misc.c (main): Do not treat incorrectly rounded
54382 conversions as failure unless ROUNDING_TESTS passes.
54383
54384 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54385
54386 [BZ #15631]
54387 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54388 restore exception state around main square root computation, then
54389 check for inexactness explicitly.
54390
54391 * math/libm-test.inc (fma_test_data): Add another test.
54392
54393 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54394
54395 * manual/threads.texi (Non-POSIX Extensions): New document
54396 node. Document pthread_getattr_default_np and
54397 pthread_setattr_default_np.
54398
54399 * Versions.def (libpthread): Add GLIBC_2.18.
54400 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54402 Likewise.
54403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54404 Likewise.
54405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54406 Likewise.
54407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54408 Likewise.
54409 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54410 Likewise.
54411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54412 Likewise.
54413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54414 Likewise.
54415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54416 Likewise.
54417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54418 Likewise.
54419
54420 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54421
54422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54423 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54424
54425 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54426 H.J. Lu <hjl.tools@gmail.com>
54427
54428 [BZ #15627]
54429 * sysdeps/x86_64/rtld-memset.c: Remove file.
54430 * sysdeps/x86_64/rtld-memset.S: New file.
54431
54432 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54433
54434 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54435 (test_in_one_mode): Take arguments for whether the rounding mode
54436 is supported for each floating-point type.
54437 (do_test): Pass new arguments to test_in_one_mode using
54438 ROUNDING_TESTS.
54439
54440 2013-06-13 Roland McGrath <roland@hack.frob.com>
54441
54442 * posix/tst-waitid.c (do_test): Distinguish different instances of
54443 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54444 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54445 before entering the kernel for waitpid.
54446
54447 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54448
54449 * NEWS: Fix note on clock function precision. Text by Roland
54450 McGrath.
54451
54452 2013-06-13 Roland McGrath <roland@hack.frob.com>
54453
54454 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54455 it into place only when and if the sanity check passes.
54456
54457 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54458
54459 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54460 output for whether conversion result is exact. Take argument
54461 indicating whether type is IBM long double.
54462 (round_for_all): Change need_exact field to ibm_ld.
54463 * stdlib/tst-strtod-round.c (struct exactness): New type.
54464 (struct test): Change bool ld_ok field to struct exactness exact.
54465 (TEST): Update all definitions for change to field.
54466 (tests): Regenerate array contents.
54467 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54468 field value. Check for IBM long double here.
54469 (do_test): Update calls to test_in_one_mode.
54470
54471 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54472
54473 [BZ #12515]
54474 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54475 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54476
54477 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54478
54479 [BZ #15605]
54480 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54481 generated by the compiler on loop optimizations.
54482 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54483 general definitions.
54484
54485 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54486
54487 * math/bug-nextafter.c: Include <math-tests.h>.
54488 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54489 the relevant type.
54490 * math/bug-nexttoward.c: Include <math-tests.h>.
54491 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54492 the relevant type.
54493 * math/test-misc.c: Include <math-tests.h>.
54494 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54495 the relevant type.
54496
54497 2013-06-12 Andreas Jaeger <aj@suse.de>
54498
54499 * po/ia.po: Update Interlingua translation from translation
54500 project.
54501
54502 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54503
54504 * include/fenv.h: Include stdbool.h.
54505 (struct rm_ctx): New structure.
54506 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54507 Define macro.
54508 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54509 (SET_RESTORE_ROUNDF): Likewise.
54510 (SET_RESTORE_ROUNDL): Likewise.
54511 (SET_RESTORE_ROUND_NOEX): Likewise.
54512 (SET_RESTORE_ROUND_NOEXF): Likewise.
54513 (SET_RESTORE_ROUND_NOEXL): Likewise.
54514 (SET_RESTORE_ROUND_53BIT): Likewise.
54515 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54516 (libc_feresetround_noexf_ctx): Likewise.
54517 (libc_feresetround_noexl_ctx): Likewise.
54518 (libc_feholdsetround_53bit_ctx): Likewise.
54519 (libc_feresetround_53bit_ctx): Likewise.
54520 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54521 (libc_feholdexcept_setround_sse_ctx): New function.
54522 (libc_fesetenv_sse_ctx): Likewise.
54523 (libc_feupdateenv_sse_ctx): Likewise.
54524 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54525 (libc_feholdexcept_setround_387_ctx): Likewise.
54526 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54527 (libc_feholdsetround_387_prec_ctx): Likewise.
54528 (libc_feholdsetround_387_ctx): Likewise.
54529 (libc_feholdsetround_387_53bit_ctx): Likewise.
54530 (libc_feholdsetround_sse_ctx): Likewise.
54531 (libc_feresetround_sse_ctx): Likewise.
54532 (libc_feresetround_387_ctx): Likewise.
54533 (libc_feupdateenv_387_ctx): Likewise.
54534 (libc_feholdexcept_setroundf_ctx): Define macro.
54535 (libc_fesetenvf_ctx): Likewise.
54536 (libc_feupdateenvf_ctx): Likewise.
54537 (libc_feholdsetroundf_ctx): Likewise.
54538 (libc_feresetroundf_ctx): Likewise.
54539 (libc_feholdexcept_setround_ctx): Likewise.
54540 (libc_fesetenv_ctx): Likewise.
54541 (libc_feupdateenv_ctx): Likewise.
54542 (libc_feholdsetround_ctx): Likewise.
54543 (libc_feresetround_ctx): Likewise.
54544 (libc_feholdexcept_setroundl_ctx): Likewise.
54545 (libc_feupdateenvl_ctx): Likewise.
54546 (libc_feholdsetroundl_ctx): Likewise.
54547 (libc_feresetroundl_ctx): Likewise.
54548 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54549 (libc_feresetround_53bit_ctx): Likewise.
54550
54551 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54552
54553 * locale/iso-639.def: Convert to UTF-8.
54554
54555 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54556
54557 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54558 (EXCEPTION_TESTS_double): Likewise.
54559 (EXCEPTION_TESTS_long_double): Likewise.
54560 (EXCEPTION_TESTS): Likewise.
54561 * math/libm-test.inc (test_exceptions): Only test exceptions if
54562 EXCEPTION_TESTS (FLOAT).
54563
54564 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54565
54566 * benchtests/Makefile (string-bench): Add strcpy_chk and
54567 stpcpy_chk.
54568 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54569 * benchtests/bench-stpcpy_chk.c: New file.
54570 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54571 * benchtests/bench-strcpy_chk.c: New file.
54572 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54573 code.
54574 (do_test): Likewise.
54575
54576 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54577
54578 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54579 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54580 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54581 with tabs where appropriate.
54582 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54583 dl-procinfo.h.
54584 [PPC_PLATFORM_PPC440]: Likewise.
54585 [PPC_PLATFORM_PPC464]: Likewise.
54586 [PPC_PLATFORM_PPC476]: Likewise.
54587 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54588 ppc464, and ppc476 platform strings merging from ports/
54589 dl-procinfo.h.
54590
54591 2013-06-11 Andreas Schwab <schwab@suse.de>
54592
54593 [BZ #14991]
54594 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54595 (from_ucs4_idx): Regenerate.
54596 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54597 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54598 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54599 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54600 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54601 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54602 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54603 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54604 from FROM_LOOP and TO_LOOP specific macros.
54605 (BODY): Handle combining characters.
54606 * iconvdata/BIG5HKSCS.irreversible: Update.
54607 * iconvdata/BIG5HKSCS.precomposed: New file.
54608 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54609 characters.
54610 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54611
54612 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54613
54614 * include/sys/time.h: Fix indentation and add copyright header.
54615
54616 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54617 (do_test): Likewise.
54618 * string/test-memchr.c (do_one_test): Likewise.
54619 (do_test): Likewise.
54620 * string/test-memcmp.c (do_one_test): Likewise.
54621 (do_test): Likewise.
54622 * string/test-memcpy.c (do_one_test): Likewise.
54623 (do_test): Likewise.
54624 * string/test-memmem.c (do_one_test): Likewise.
54625 (do_test): Likewise.
54626 (do_random_tests): Likewise.
54627 * string/test-memmove.c (do_one_test): Likewise.
54628 (do_test): Likewise.
54629 * string/test-memset.c (do_one_test): Likewise.
54630 (do_test): Likewise.
54631 * string/test-rawmemchr.c (do_one_test): Likewise.
54632 (do_test): Likewise.
54633 * string/test-strcasecmp.c (do_one_test): Likewise.
54634 (do_test): Likewise.
54635 * string/test-strcasestr.c (do_one_test): Likewise.
54636 (do_test): Likewise.
54637 * string/test-strcat.c (do_one_test): Likewise.
54638 (do_test): Likewise.
54639 * string/test-strchr.c (do_one_test): Likewise.
54640 (do_test): Likewise.
54641 * string/test-strcmp.c (do_one_test): Likewise.
54642 (do_test): Likewise.
54643 * string/test-strcpy.c (do_one_test): Likewise.
54644 (do_test): Likewise.
54645 * string/test-string.h: Likewise.
54646 (test_init): Likewise.
54647 * string/test-strlen.c (do_one_test): Likewise.
54648 (do_test): Likewise.
54649 * string/test-strncasecmp.c (do_one_test): Likewise.
54650 (do_test): Likewise.
54651 * string/test-strncat.c (do_one_test): Likewise.
54652 (do_test): Likewise.
54653 * string/test-strncmp.c (do_one_test): Likewise.
54654 (do_test_limit): Likewise.
54655 (do_test): Likewise.
54656 * string/test-strncpy.c (do_one_test): Likewise.
54657 (do_test): Likewise.
54658 * string/test-strnlen.c (do_one_test): Likewise.
54659 (do_test): Likewise.
54660 * string/test-strpbrk.c (do_one_test): Likewise.
54661 (do_test): Likewise.
54662 * string/test-strrchr.c (do_one_test): Likewise.
54663 (do_test): Likewise.
54664 * string/test-strspn.c (do_one_test): Likewise.
54665 (do_test): Likewise.
54666 * string/test-strstr.c (do_one_test): Likewise.
54667 (do_test): Likewise.
54668
54669 * benchtests/Makefile (string-bench): Add string benchmarks.
54670 * benchtests/bench-bcopy-ifunc.c: New file.
54671 * benchtests/bench-bcopy.c: New file.
54672 * benchtests/bench-bzero-ifunc.c: New file.
54673 * benchtests/bench-bzero.c: New file.
54674 * benchtests/bench-memccpy-ifunc.c: New file.
54675 * benchtests/bench-memccpy.c: New file.
54676 * benchtests/bench-memchr-ifunc.c: New file.
54677 * benchtests/bench-memchr.c: New file.
54678 * benchtests/bench-memcmp-ifunc.c: New file.
54679 * benchtests/bench-memcmp.c: New file.
54680 * benchtests/bench-memmem-ifunc.c: New file.
54681 * benchtests/bench-memmem.c: New file.
54682 * benchtests/bench-memmove-ifunc.c: New file.
54683 * benchtests/bench-memmove.c: New file.
54684 * benchtests/bench-mempcpy-ifunc.c: New file.
54685 * benchtests/bench-mempcpy.c: New file.
54686 * benchtests/bench-memset-ifunc.c: New file.
54687 * benchtests/bench-memset.c: New file.
54688 * benchtests/bench-rawmemchr-ifunc.c: New file.
54689 * benchtests/bench-rawmemchr.c: New file.
54690 * benchtests/bench-stpcpy-ifunc.c: New file.
54691 * benchtests/bench-stpcpy.c: New file.
54692 * benchtests/bench-stpncpy-ifunc.c: New file.
54693 * benchtests/bench-stpncpy.c: New file.
54694 * benchtests/bench-strcasecmp-ifunc.c: New file.
54695 * benchtests/bench-strcasecmp.c: New file.
54696 * benchtests/bench-strcasestr-ifunc.c: New file.
54697 * benchtests/bench-strcasestr.c: New file.
54698 * benchtests/bench-strcat-ifunc.c: New file.
54699 * benchtests/bench-strcat.c: New file.
54700 * benchtests/bench-strchr-ifunc.c: New file.
54701 * benchtests/bench-strchr.c: New file.
54702 * benchtests/bench-strchrnul-ifunc.c: New file.
54703 * benchtests/bench-strchrnul.c: New file.
54704 * benchtests/bench-strcmp-ifunc.c: New file.
54705 * benchtests/bench-strcmp.c: New file.
54706 * benchtests/bench-strcpy-ifunc.c: New file.
54707 * benchtests/bench-strcpy.c: New file.
54708 * benchtests/bench-strcspn-ifunc.c: New file.
54709 * benchtests/bench-strcspn.c: New file.
54710 * benchtests/bench-strlen-ifunc.c: New file.
54711 * benchtests/bench-strlen.c: New file.
54712 * benchtests/bench-strncasecmp-ifunc.c: New file.
54713 * benchtests/bench-strncasecmp.c: New file.
54714 * benchtests/bench-strncat-ifunc.c: New file.
54715 * benchtests/bench-strncat.c: New file.
54716 * benchtests/bench-strncmp-ifunc.c: New file.
54717 * benchtests/bench-strncmp.c: New file.
54718 * benchtests/bench-strncpy-ifunc.c: New file.
54719 * benchtests/bench-strncpy.c: New file.
54720 * benchtests/bench-strnlen-ifunc.c: New file.
54721 * benchtests/bench-strnlen.c: New file.
54722 * benchtests/bench-strpbrk-ifunc.c: New file.
54723 * benchtests/bench-strpbrk.c: New file.
54724 * benchtests/bench-strrchr-ifunc.c: New file.
54725 * benchtests/bench-strrchr.c: New file.
54726 * benchtests/bench-strspn-ifunc.c: New file.
54727 * benchtests/bench-strspn.c: New file.
54728 * benchtests/bench-strstr-ifunc.c: New file.
54729 * benchtests/bench-strstr.c: New file.
54730
54731 * benchtests/Makefile: Disable parallel execution of targets.
54732 (string-bench): Add memcpy.
54733 (benchset): New variable to store a list of benchmark sets.
54734 (bench-func): Renamed from bench.
54735 (bench-set): New target.
54736 (bench): Depend on bench-func and bench-set.
54737 * benchtests/README: Add section on benchmark sets.
54738 * benchtests/bench-memcpy-ifunc.c: New file.
54739 * benchtests/bench-memcpy.c: New file.
54740 * benchtests/bench-string.h: New file.
54741
54742 2013-06-11 Andreas Schwab <schwab@suse.de>
54743
54744 [BZ #15577]
54745 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54746 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54747 values in the triple.
54748 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54749 terminator in the group key.
54750
54751 2013-06-11 Andreas Jaeger <aj@suse.de>
54752
54753 * po/zh_TW.po: Update Chinese (traditional) translation from
54754 translation project.
54755
54756 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54757
54758 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54759 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54760 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54761 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54762 (clock_getcpuclockid): Likewise.
54763 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54764 Add weak_alias and libc_hidden_def.
54765 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54766 * rt/clock_gettime.c (clock_gettime): Rename to
54767 __clock_gettime. Add weak_alias and libc_hidden_def.
54768 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54769 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54770 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54771 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54772 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54773 Likewise.
54774 * rt/clock_settime.c (clock_settime): Rename to
54775 __clock_settime. Add weak_alias and libc_hidden_def.
54776 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54777
54778 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54779
54780 * mach/err_boot.sub: Remove trailing whitespace.
54781 * mach/err_ipc.sub: Likewise.
54782 * mach/err_mach.sub: Likewise.
54783
54784 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54785 (ROUNDING_TESTS_double): Likewise.
54786 (ROUNDING_TESTS_long_double): Likewise.
54787 (ROUNDING_TESTS): Likewise.
54788 * math/libm-test.inc: Include <math-tests.h>.
54789 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54790 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54791 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54792 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54793
54794 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54795
54796 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54797 of assigning.
54798
54799 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54800
54801 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54802 otherwise empty TRANS lines.
54803 * sysdeps/gnu/errlist.c: Regenerated.
54804
54805 * catgets/gencat.c (error_print): Use (void) in function
54806 definition.
54807 * crypt/crypt_util.c (__init_des): Likewise.
54808 * crypt/speeds.c (Stop): Likewise.
54809 (main): Likewise.
54810 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54811 * inet/ruserpass.c (token): Likewise.
54812 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54813 * intl/localealias.c (extend_alias_table): Likewise.
54814 * intl/plural-exp.c (init_germanic_plural): Likewise.
54815 * libio/fcloseall.c (__fcloseall): Likewise.
54816 * libio/genops.c (_IO_flush_all): Likewise.
54817 (_IO_flush_all_linebuffered): Likewise.
54818 (_IO_cleanup): Likewise.
54819 (_IO_iter_begin): Likewise.
54820 (_IO_iter_end): Likewise.
54821 (_IO_list_lock): Likewise.
54822 (_IO_list_unlock): Likewise.
54823 (_IO_list_resetlock): Likewise.
54824 * libio/getchar.c (getchar): Likewise.
54825 * libio/getchar_u.c (getchar_unlocked): Likewise.
54826 * libio/getwchar.c (getwchar): Likewise.
54827 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54828 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54829 * login/getpt.c (__getpt): Likewise.
54830 * login/tst-utmp.c (main): Likewise.
54831 * malloc/hooks.c (__malloc_check_init): Likewise.
54832 * malloc/malloc.c (__malloc_stats): Likewise.
54833 * malloc/mtrace.c (tr_break): Likewise.
54834 (mtrace): Likewise.
54835 (muntrace): Likewise.
54836 * misc/fstab.c (endfsent): Likewise.
54837 * misc/getclktck.c (__getclktck): Likewise.
54838 * misc/getdtsz.c (__getdtablesize): Likewise.
54839 * misc/gethostid.c (gethostid): Likewise.
54840 * misc/getpagesize.c (__getpagesize): Likewise.
54841 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54842 (__get_nprocs): Likewise.
54843 (__get_phys_pages): Likewise.
54844 (__get_avphys_pages): Likewise.
54845 * misc/getttyent.c (getttyent): Likewise.
54846 (setttyent): Likewise.
54847 (endttyent): Likewise.
54848 * misc/getusershell.c (getusershell): Likewise.
54849 (endusershell): Likewise.
54850 (setusershell): Likewise.
54851 (initshells): Likewise.
54852 * misc/hsearch.c (__hdestroy): Likewise.
54853 * misc/sync.c (sync): Likewise.
54854 * misc/syslog.c (closelog_internal): Likewise.
54855 (closelog): Likewise.
54856 * misc/ttyslot.c (ttyslot): Likewise.
54857 * misc/vhangup.c (vhangup): Likewise.
54858 * posix/fork.c (__fork): Likewise.
54859 * posix/getegid.c (__getegid): Likewise.
54860 * posix/geteuid.c (__geteuid): Likewise.
54861 * posix/getgid.c (__getgid): Likewise.
54862 * posix/getpid.c (__getpid): Likewise.
54863 * posix/getppid.c (__getppid): Likewise.
54864 * posix/getuid.c (__getuid): Likewise.
54865 * posix/pause.c (pause): Likewise.
54866 * posix/setpgrp.c (setpgrp): Likewise.
54867 * posix/setsid.c (__setsid): Likewise.
54868 * posix/test-vfork.c (noop): Likewise.
54869 * resolv/gethnamaddr.c (_endhtent): Likewise.
54870 (_gethtent): Likewise.
54871 (ht_endhostent): Likewise.
54872 (gethostent): Likewise.
54873 (dns_service): Likewise.
54874 * stdlib/drand48.c (drand48): Likewise.
54875 * stdlib/lrand48.c (lrand48): Likewise.
54876 * stdlib/mrand48.c (mrand48): Likewise.
54877 * stdlib/rand.c (rand): Likewise.
54878 * stdlib/random.c (__random): Likewise.
54879 * stdlib/setenv.c (clearenv): Likewise.
54880 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54881 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54882 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54883 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54884 (__get_nprocs): Likewise.
54885 (__get_phys_pages): Likewise.
54886 (__get_avphys_pages): Likewise.
54887 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54888 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54889 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54890 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54891 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54892 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54893 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54894 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54895 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54896 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54897 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54898 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54899 * sysdeps/posix/clock.c (clock): Likewise.
54900 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54901 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54902 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54903 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54904 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54906 (__get_nprocs_conf): Likewise.
54907 (__get_phys_pages): Likewise.
54908 (__get_avphys_pages): Likewise.
54909 * time/clock.c (clock): Likewise.
54910 * time/tzset.c (__tzname_max): Likewise.
54911
54912 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54913
54914 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54915 (__bswap_32): Do not use "register".
54916 * crypt/crypt.c (_ufc_doit_r): Likewise.
54917 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54918 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54919 * gmon/gmon.c (__monstartup): Likewise.
54920 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54921 * hurd/hurdmalloc.c (more_memory): Likewise.
54922 (malloc): Likewise.
54923 (free): Likewise.
54924 (realloc): Likewise.
54925 (malloc_fork_prepare): Likewise.
54926 (malloc_fork_parent): Likewise.
54927 (malloc_fork_child): Likewise.
54928 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54929 (_svcauth_des): Likewise.
54930 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54931 * inet/inet_net.c (inet_network): Likewise.
54932 * inet/inet_netof.c (inet_netof): Likewise.
54933 * inet/rcmd.c (__validuser2_sa): Likewise.
54934 * io/fts.c (fts_open): Likewise.
54935 (fts_load): Likewise.
54936 (fts_close): Likewise.
54937 (fts_read): Likewise.
54938 (fts_children): Likewise.
54939 (fts_build): Likewise.
54940 (fts_stat): Likewise.
54941 (fts_sort): Likewise.
54942 (fts_alloc): Likewise.
54943 (fts_lfree): Likewise.
54944 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54945 (_IO_file_xsgetn): Likewise.
54946 (_IO_file_xsgetn_mmap): Likewise.
54947 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54948 (_IO_cookie_write): Likewise.
54949 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54950 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54951 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54952 * malloc/obstack.c (_obstack_begin): Likewise.
54953 (_obstack_begin_1): Likewise.
54954 (_obstack_newchunk): Likewise.
54955 (_obstack_allocated_p): Likewise.
54956 (obstack_free): Likewise.
54957 (_obstack_memory_used): Likewise.
54958 * misc/getttyent.c (getttynam): Likewise.
54959 (getttyent): Likewise.
54960 (skip): Likewise.
54961 (value): Likewise.
54962 * misc/getusershell.c (initshells): Likewise.
54963 * misc/syslog.c (__vsyslog_chk): Likewise.
54964 * misc/ttyslot.c (ttyslot): Likewise.
54965 * nis/nis_hash.c (__nis_hash): Likewise.
54966 * posix/fnmatch_loop.c (FCT): Likewise.
54967 * posix/getconf.c (print_all): Likewise.
54968 (main): Likewise.
54969 * posix/getopt.c (exchange): Likewise.
54970 * posix/glob.c (globfree): Likewise.
54971 (prefix_array): Likewise.
54972 (__glob_pattern_type): Likewise.
54973 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54974 (NS_GET32): Likewise.
54975 (NS_PUT16): Likewise.
54976 (NS_PUT32): Likewise.
54977 * resolv/gethnamaddr.c (getanswer): Likewise.
54978 (gethostbyname2): Likewise.
54979 (gethostbyaddr): Likewise.
54980 (_gethtent): Likewise.
54981 (_gethtbyname2): Likewise.
54982 (_gethtbyaddr): Likewise.
54983 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54984 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54985 * resolv/res_init.c (__res_vinit): Likewise.
54986 (net_mask): Likewise.
54987 * resolv/res_mkquery.c (outchar): Likewise.
54988 (PRINT): Likewise.
54989 * stdio-common/printf_fp.c (outchar): Likewise.
54990 (PRINT): Likewise.
54991 * stdio-common/printf_fphex.c (outchar): Likewise.
54992 (PRINT): Likewise.
54993 * stdio-common/printf_size.c (outchar): Likewise.
54994 (PRINT): Likewise.
54995 * stdio-common/test_rdwr.c (main): Likewise.
54996 * stdio-common/tfformat.c (matches): Likewise.
54997 * stdio-common/vfprintf.c (outchar): Likewise.
54998 (printf_unknown): Likewise.
54999 (buffered_vfprintf): Likewise.
55000 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55001 * stdio-common/xbug.c (AppendToBuffer): Likewise.
55002 (ReadFile): Likewise.
55003 * stdlib/qsort.c (SWAP): Likewise.
55004 (_quicksort): Likewise.
55005 * stdlib/setenv.c (__add_to_environ): Likewise.
55006 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55007 * stdlib/strtol_l.c (__strtol_l): Likewise.
55008 * stdlib/tst-strtod.c (main): Likewise.
55009 * stdlib/tst-strtol.c (main): Likewise.
55010 * stdlib/tst-strtoll.c (main): Likewise.
55011 * string/bits/string2.h (__strcmp_cc): Likewise.
55012 (__strcmp_cg): Likewise.
55013 (__strcspn_c1): Likewise.
55014 (__strcspn_c2): Likewise.
55015 (__strcspn_c3): Likewise.
55016 (__strspn_c1): Likewise.
55017 (__strspn_c2): Likewise.
55018 (__strspn_c3): Likewise.
55019 (__strsep_1c): Likewise.
55020 (__strsep_2c): Likewise.
55021 (__strsep_3c): Likewise.
55022 * string/memccpy.c (__memccpy): Likewise.
55023 * string/stpcpy.c (__stpcpy): Likewise.
55024 * string/strcmp.c (strcmp): Likewise.
55025 * string/strrchr.c (strrchr): Likewise.
55026 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55027 Likewise.
55028 * sysdeps/mach/hurd/getcwd.c
55029 (_hurd_canonicalize_directory_name_internal): Likewise.
55030 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55031 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55032 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55033 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55034 Likewise, in both definitions.
55035 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55036 definitions.
55037 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55038 64] (__bswap_64): Likewise.
55039 * time/test_time.c (main): Likewise.
55040 * time/tzfile.c (__tzfile_read): Likewise.
55041 (__tzfile_compute): Likewise.
55042 * time/tzset.c (__tzset_parse_tz): Likewise.
55043 (tzset_internal): Likewise.
55044 (compute_change): Likewise.
55045 * wcsmbs/wcscat.c (__wcscat): Likewise.
55046 * wcsmbs/wcschr.c (wcschr): Likewise.
55047 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55048 * wcsmbs/wcscspn.c (wcscspn): Likewise.
55049 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55050 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55051 * wcsmbs/wcsspn.c (wcsspn): Likewise.
55052 * wcsmbs/wcsstr.c (wcsstr): Likewise.
55053 * wcsmbs/wmemchr.c (wmemchr): Likewise.
55054 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55055 * wcsmbs/wmemset.c (wmemset): Likewise.
55056
55057 2013-06-06 Joseph Myers <joseph@codesourcery.com>
55058
55059 * scripts/config.guess: Update to version 2013-05-16.
55060 * scripts/config.sub: Update to version 2013-04-24.
55061 * scripts/install-sh: Update to version 2011-11-20.07.
55062 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55063 * scripts/move-if-change: Update to version 2012-01-06 07:23.
55064
55065 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
55066
55067 * debug/fgetws_u_chk.c: Fix leading whitespaces.
55068 * elf/sln.c: Likewise.
55069 * hurd/hurd/ioctl.h: Likewise.
55070 * hurd/hurdmalloc.c: Likewise.
55071 * hurd/xattr.c: Likewise.
55072 * include/shlib-compat.h: Likewise.
55073 * inet/ruserpass.c: Likewise.
55074 * libio/iofgets_u.c: Likewise.
55075 * libio/iofgetws_u.c: Likewise.
55076 * locale/programs/ld-identification.c: Likewise.
55077 * locale/programs/ld-time.c: Likewise.
55078 * mach/msg-destroy.c: Likewise.
55079 * nss/nss_files/files-netgrp.c: Likewise.
55080 * resolv/res_data.c: Likewise.
55081 * soft-fp/op-1.h: Likewise.
55082 * soft-fp/op-2.h: Likewise.
55083 * soft-fp/op-4.h: Likewise.
55084 * soft-fp/op-common.h: Likewise.
55085 * stdio-common/printf_fphex.c: Likewise.
55086 * stdlib/strtod_l.c: Likewise.
55087 * sunrpc/rpc/clnt.h: Likewise.
55088 * sysdeps/generic/framestate.c: Likewise.
55089 * sysdeps/i386/bsd-_setjmp.S: Likewise.
55090 * sysdeps/i386/bsd-setjmp.S: Likewise.
55091 * sysdeps/i386/__longjmp.S: Likewise.
55092 * sysdeps/i386/setjmp.S: Likewise.
55093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55094 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55095 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55096 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55098 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55099 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55100 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55101 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55102 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55103 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55104 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55105 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55106 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55107 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55108 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55109 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55110 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55111 * sysdeps/ieee754/support.c: Likewise.
55112 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55113 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55114 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55115 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55116 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55117 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55118 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55119 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55120 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55121 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55122 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55123 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55124 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55125 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55126 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55127 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55128 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55130
55131 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
55132
55133 * posix/transbug.c: Remove executable mode.
55134
55135 2013-06-05 Joseph Myers <joseph@codesourcery.com>
55136
55137 * crypt/speeds.c: Remove trailing whitespace.
55138 * dlfcn/default.c: Likewise.
55139 * elf/ifuncdep2.c: Likewise.
55140 * elf/ifuncmain1.c: Likewise.
55141 * elf/ifuncmain1vis.c: Likewise.
55142 * elf/testobj.h: Likewise.
55143 * elf/tst-stackguard1.c: Likewise.
55144 * gmon/sys/gmon.h: Likewise.
55145 * hurd/hurdmsg.c: Likewise.
55146 * hurd/new-fd.c: Likewise.
55147 * hurd/ports-get.c: Likewise.
55148 * iconvdata/ibm1008_420.c: Likewise.
55149 * inet/tst-getni1.c: Likewise.
55150 * inet/tst-getni2.c: Likewise.
55151 * libio/ioungetc.c: Likewise.
55152 * libio/wfiledoalloc.c: Likewise.
55153 * manual/libm-err-tab.pl: Likewise.
55154 * math/w_dremf.c: Likewise.
55155 * misc/ftruncate.c: Likewise.
55156 * posix/bug-glob2.c: Likewise.
55157 * posix/tst-pcre.c: Likewise.
55158 * posix/wait4.c: Likewise.
55159 * resolv/README: Likewise.
55160 * resolv/res_debug.h: Likewise.
55161 * resolv/tst-inet_ntop.c: Likewise.
55162 * setjmp/bug269-setjmp.c: Likewise.
55163 * soft-fp/extended.h: Likewise.
55164 * soft-fp/op-1.h: Likewise.
55165 * soft-fp/op-2.h: Likewise.
55166 * soft-fp/op-4.h: Likewise.
55167 * soft-fp/op-8.h: Likewise.
55168 * soft-fp/testit.c: Likewise.
55169 * stdio-common/bug16.c: Likewise.
55170 * stdlib/random.c: Likewise.
55171 * sunrpc/rpcsvc/rquota.x: Likewise.
55172 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55173 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55175 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55176 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55177 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55178 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55179 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55180 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55181 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55182 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55183 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55185 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55186 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55187 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55188 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55189 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55190 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55191 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55192 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55193 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55194 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55199 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55201 * sysdeps/ieee754/s_lib_version.c: Likewise.
55202 * sysdeps/mach/hurd/check_fds.c: Likewise.
55203 * sysdeps/mach/hurd/getsockname.c: Likewise.
55204 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55205 * sysdeps/mach/hurd/recvfrom.c: Likewise.
55206 * sysdeps/powerpc/bits/link.h: Likewise.
55207 * sysdeps/powerpc/dl-procinfo.c: Likewise.
55208 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55209 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55210 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55211 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55212 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55213 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55214 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55215 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55216 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55217 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55218 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55219 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55220 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55221 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55222 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55223 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55226 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55227 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55228 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55229 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55230 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55231 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55232 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55233 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55234 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55235 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55236 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55237 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55238 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55239 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55240 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55241 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55242 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55243 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55244 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55245 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55246 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55247 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55248 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55249 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55250 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55251 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55252 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55253 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55254 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55255 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55256 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55259 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55260 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55261 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55262 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55263 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55264 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55265 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55266 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55267 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55268 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55269 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55270 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55271 * sysdeps/powerpc/sysdep.h: Likewise.
55272 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55273 * sysdeps/s390/s390-64/sub_n.S: Likewise.
55274 * sysdeps/sh/dl-trampoline.S: Likewise.
55275 * sysdeps/sh/memset.S: Likewise.
55276 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55277 * sysdeps/sh/strlen.S: Likewise.
55278 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55279 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55280 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55281 * sysdeps/sparc/sparc32/rem.S: Likewise.
55282 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55283 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55284 * sysdeps/sparc/sparc32/strchr.S: Likewise.
55285 * sysdeps/sparc/sparc32/udiv.S: Likewise.
55286 * sysdeps/sparc/sparc32/urem.S: Likewise.
55287 * sysdeps/sparc/sparc64/add_n.S: Likewise.
55288 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55289 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55290 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55291 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55292 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55293 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55294 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55295 * sysdeps/unix/bsd/times.c: Likewise.
55296 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55297 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55301 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55302 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55303 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55304 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55305 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55306 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55307 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55308 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55309 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55310 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55311 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55312 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55313 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55314 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55315 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55316 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55317 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55318 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55319 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55320 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55321 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55322 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55323 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55324 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55325 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55326 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55327 * sysdeps/x86_64/strcspn.S: Likewise.
55328
55329 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55330
55331 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55332 generated file. Regenerate properly from gen-translit.pl.
55333 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55334 locale/C-translit.h.
55335
55336 2013-06-05 Andreas Schwab <schwab@suse.de>
55337
55338 [BZ #15100]
55339 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55340 week as 6 instead of -1.
55341 * time/tst-strptime.c (day_tests): Add test case.
55342
55343 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55344
55345 * sysdeps/generic/math_private.h
55346 (libc_feholdexcept_setround_53bit): Replace with
55347 libc_feholdsetround_53bit.
55348 (libc_feupdateenv_53bit): Replace with
55349 libc_feresetround_53bit.
55350 (SET_RESTORE_ROUND_53BIT): Adjust.
55351
55352 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55353
55354 * string/test-strchrnul.c: Add copyright header.
55355
55356 * posix/tst-getaddrinfo4.c: Increase test timeout.
55357
55358 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55359
55360 [BZ #15536]
55361 * math/libm-test.inc (MAX_EXP): Remove
55362 (MIN_EXP): Define.
55363 (ulp): Use MIN_EXP - MANT_DIG.
55364 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55365
55366 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55367
55368 * po/be.po: Revert last change.
55369 * po/zh_CN.po: Likewise.
55370 * po/header.pot: Likewise.
55371
55372 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55373
55374 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55375 link-libc-deps to empty as target-specific variable.
55376 * Makerules (link-libc-args): New variable.
55377 (libc-for-link): Likewise.
55378 (link-libc-deps): Likewise.
55379 (lib%.so): Depend on $(link-libc-deps). Link with
55380 $(link-libc-args).
55381 (build-module): Link with $(link-libc-args).
55382 (build-module-asneeded): Likewise.
55383 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55384 list of objects.
55385 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55386 target-specific variable.
55387 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55388 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55389 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55390 libc.
55391 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55392 libc and ld.so.
55393 ($(objpfx)libpcprofile.so): Likewise.
55394 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55395 libc_nonshared.a.
55396 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55397 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55398 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55399 $(link-libc-deps).
55400 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55401 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55402 * login/Makefile ($(objpfx)libutil.so): Likewise.
55403 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55404 * math/Makefile ($(objpfx)libm.so): Likewise.
55405 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55406 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55407 variable instead of depending directly on libc.
55408 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55409 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55410 $(link-libc-deps).
55411 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55412 libc.
55413 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55414 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55415 ($(objpfx)libanl.so): Likewise.
55416 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55417 ld.so.
55418 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55419 $(link-libc-deps).
55420 * sysdeps/i386/fpu/Makefile: Remove file.
55421 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55422 ($(objpfx)libm.so): Remove dependency on ld.so.
55423
55424 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55425
55426 [BZ # 15553]
55427 * nis/yp_xdr.c (XDRMAXNAME): Define.
55428 (XDRMAXRECORD): Define.
55429 (xdr_domainname): Use XDRMAXNAME.
55430 (xdr_mapname): Likewise.
55431 (xdr_peername): Likewise.
55432 (xdr_keydat): Use XDRMAXRECORD.
55433 (xdr_valdat): Likewise.
55434
55435 2013-05-30 Jeff Law <law@redhat.com>
55436
55437 [BZ #14256]
55438 * manual/errno.texi (ESTALE): Update to account for more than
55439 just NFS file systems.
55440 * sysdeps/gnu/errlist.c: Regenerated.
55441
55442 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55443
55444 [BZ #15465]
55445 * elf/Makefile (tests): Add tst-null-argv.
55446 (modules-names): Add tst-null-argv-lib.
55447 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55448 (tst-null-argv-ENV): Set environment for tst-null-argv.
55449 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55450 (RTLD_PROGNAME): New macro.
55451 * elf/tst-null-argv.c: New test case.
55452 * elf/tst-null-argv-lib.c: Library for test case.
55453 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55454 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55455 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55456 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55457 * elf/dl-init.c (call_init): Likewise.
55458 (_dl_init): Likewise.
55459 * elf/dl-load.c (print_search_path): Likewise.
55460 (_dl_map_object): Likewise.
55461 * elf/dl-lookup.c (do_lookup_x): Likewise.
55462 (add_dependency): Likewise.
55463 (_dl_lookup_symbol_x): Likewise.
55464 (_dl_debug_bindings): Likewise.
55465 * elf/dl-open.c (_dl_show_scope): Likewise.
55466 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55467 * elf/dl-version.c (match_symbol): Likewise.
55468 (_dl_check_map_versions): Likewise.
55469 * elf/rtld.c (dl_main): Likewise.
55470 (print_unresolved): Use RTLD_PROGNAME.
55471 (print_missing_version): Likewise.
55472 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55473 (elf_machine_rela): Likewise.
55474 * sysdeps/powerpc/powerpc32/dl-machine.c
55475 (__process_machine_rela): Likewise.
55476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55477 Likewise.
55478 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55479 Likewise.
55480 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55481 Likewise.
55482 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55484 Likewise.
55485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55486 Likewise.
55487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55488
55489 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55490
55491 * po/be.po: Add descriptive title.
55492 * po/zh_CN.po: Likewise.
55493 * po/header.pot: Likewise.
55494
55495 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55496
55497 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55498 error message.
55499 (enlarge_archive): Likewise.
55500
55501 2013-05-28 Ben North <ben@redfrontdoor.org>
55502
55503 * manual/arith.texi (frexp): It is the magnitude of the return
55504 value which lies in [0.5, 1), not the return value itself.
55505
55506 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55507
55508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55509
55510 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55511
55512 * stdio-common/bug26.c (main): Correct fscanf template.
55513
55514 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55515 declare _dl_skip_args.
55516
55517 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55518 Don't declare.
55519
55520 * manual/platform.texi: Add missing @end deftypefun.
55521
55522 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55523
55524 [BZ #15529]
55525 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55526 bit of mantissa of 2^16382.
55527 * math/libm-test.inc (hypot_test_data): Add more tests.
55528
55529 * math/libm-test.inc: Add drem and pow10 to list of tested
55530 functions.
55531 (pow10_test): New function.
55532 (drem_test): Likewise.
55533 (drem_test_tonearest): Likewise.
55534 (drem_test_towardzero): Likewise.
55535 (drem_test_downward): Likewise.
55536 (drem_test_upward): Likewise.
55537 (main): Call the new functions.
55538
55539 * math/libm-test.inc (finite_test_data): Remove.
55540 (finite_test): Run tests from isfinite_test_data.
55541 (gamma_test_data): Remove.
55542 (gamma_test): Run tests from lgamma_test_data.
55543 * sysdeps/i386/fpu/libm-test-ulps: Update.
55544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55545
55546 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55547
55548 * manual/platform.texi: Add PowerPC PPR function set documentation.
55549 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55550 implementation.
55551
55552 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55553
55554 * math/libm-test.inc (MAX_EXP): Define.
55555 (ULPDIFF): Define.
55556 (ulp): New function.
55557 (check_float_internal): Use ULPDIFF.
55558 (cpow_test): Disable failing test.
55559 (check_ulp): Test ulp() implementation.
55560 (main): Call check_ulp before starting tests.
55561
55562 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55563
55564 * math/gen-libm-test.pl (generate_testfile): Do not handle
55565 START_DATA and END_DATA.
55566 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55567 END_DATA.
55568 (acos_tonearest_test_data): Likewise.
55569 (acos_towardzero_test_data): Likewise.
55570 (acos_downward_test_data): Likewise.
55571 (acos_upward_test_data): Likewise.
55572 (acosh_test_data): Likewise.
55573 (asin_test_data): Likewise.
55574 (asin_tonearest_test_data): Likewise.
55575 (asin_towardzero_test_data): Likewise.
55576 (asin_downward_test_data): Likewise.
55577 (asin_upward_test_data): Likewise.
55578 (asinh_test_data): Likewise.
55579 (atan_test_data): Likewise.
55580 (atanh_test_data): Likewise.
55581 (atan2_test_data): Likewise.
55582 (cabs_test_data): Likewise.
55583 (cacos_test_data): Likewise.
55584 (cacosh_test_data): Likewise.
55585 (carg_test_data): Likewise.
55586 (casin_test_data): Likewise.
55587 (casinh_test_data): Likewise.
55588 (catan_test_data): Likewise.
55589 (catanh_test_data): Likewise.
55590 (cbrt_test_data): Likewise.
55591 (ccos_test_data): Likewise.
55592 (ccosh_test_data): Likewise.
55593 (ceil_test_data): Likewise.
55594 (cexp_test_data): Likewise.
55595 (cimag_test_data): Likewise.
55596 (clog_test_data): Likewise.
55597 (clog10_test_data): Likewise.
55598 (conj_test_data): Likewise.
55599 (copysign_test_data): Likewise.
55600 (cos_test_data): Likewise.
55601 (cos_tonearest_test_data): Likewise.
55602 (cos_towardzero_test_data): Likewise.
55603 (cos_downward_test_data): Likewise.
55604 (cos_upward_test_data): Likewise.
55605 (cosh_test_data): Likewise.
55606 (cosh_tonearest_test_data): Likewise.
55607 (cosh_towardzero_test_data): Likewise.
55608 (cosh_downward_test_data): Likewise.
55609 (cosh_upward_test_data): Likewise.
55610 (cpow_test_data): Likewise.
55611 (cproj_test_data): Likewise.
55612 (creal_test_data): Likewise.
55613 (csin_test_data): Likewise.
55614 (csinh_test_data): Likewise.
55615 (csqrt_test_data): Likewise.
55616 (ctan_test_data): Likewise.
55617 (ctan_tonearest_test_data): Likewise.
55618 (ctan_towardzero_test_data): Likewise.
55619 (ctan_downward_test_data): Likewise.
55620 (ctan_upward_test_data): Likewise.
55621 (ctanh_test_data): Likewise.
55622 (ctanh_tonearest_test_data): Likewise.
55623 (ctanh_towardzero_test_data): Likewise.
55624 (ctanh_downward_test_data): Likewise.
55625 (ctanh_upward_test_data): Likewise.
55626 (erf_test_data): Likewise.
55627 (erfc_test_data): Likewise.
55628 (exp_test_data): Likewise.
55629 (exp_tonearest_test_data): Likewise.
55630 (exp_towardzero_test_data): Likewise.
55631 (exp_downward_test_data): Likewise.
55632 (exp_upward_test_data): Likewise.
55633 (exp10_test_data): Likewise.
55634 (exp2_test_data): Likewise.
55635 (expm1_test_data): Likewise.
55636 (fabs_test_data): Likewise.
55637 (fdim_test_data): Likewise.
55638 (finite_test_data): Likewise.
55639 (floor_test_data): Likewise.
55640 (fma_test_data): Likewise.
55641 (fma_towardzero_test_data): Likewise.
55642 (fma_downward_test_data): Likewise.
55643 (fma_upward_test_data): Likewise.
55644 (fmax_test_data): Likewise.
55645 (fmin_test_data): Likewise.
55646 (fmod_test_data): Likewise.
55647 (fpclassify_test_data): Likewise.
55648 (frexp_test_data): Likewise.
55649 (gamma_test_data): Likewise.
55650 (hypot_test_data): Likewise.
55651 (ilogb_test_data): Likewise.
55652 (isfinite_test_data): Likewise.
55653 (isgreater_test_data): Likewise.
55654 (isgreaterequal_test_data): Likewise.
55655 (isinf_test_data): Likewise.
55656 (isless_test_data): Likewise.
55657 (islessequal_test_data): Likewise.
55658 (islessgreater_test_data): Likewise.
55659 (isnan_test_data): Likewise.
55660 (isnormal_test_data): Likewise.
55661 (issignaling_test_data): Likewise.
55662 (isunordered_test_data): Likewise.
55663 (j0_test_data): Likewise.
55664 (j1_test_data): Likewise.
55665 (jn_test_data): Likewise.
55666 (ldexp_test_data): Likewise.
55667 (lgamma_test_data): Likewise.
55668 (lrint_test_data): Likewise.
55669 (lrint_tonearest_test_data): Likewise.
55670 (lrint_towardzero_test_data): Likewise.
55671 (lrint_downward_test_data): Likewise.
55672 (lrint_upward_test_data): Likewise.
55673 (llrint_test_data): Likewise.
55674 (llrint_tonearest_test_data): Likewise.
55675 (llrint_towardzero_test_data): Likewise.
55676 (llrint_downward_test_data): Likewise.
55677 (llrint_upward_test_data): Likewise.
55678 (log_test_data): Likewise.
55679 (log10_test_data): Likewise.
55680 (log1p_test_data): Likewise.
55681 (log2_test_data): Likewise.
55682 (logb_test_data): Likewise.
55683 (logb_downward_test_data): Likewise.
55684 (lround_test_data): Likewise.
55685 (llround_test_data): Likewise.
55686 (modf_test_data): Likewise.
55687 (nearbyint_test_data): Likewise.
55688 (nextafter_test_data): Likewise.
55689 (nexttoward_test_data): Likewise.
55690 (pow_test_data): Likewise.
55691 (pow_tonearest_test_data): Likewise.
55692 (pow_towardzero_test_data): Likewise.
55693 (pow_downward_test_data): Likewise.
55694 (pow_upward_test_data): Likewise.
55695 (remainder_test_data): Likewise.
55696 (remainder_tonearest_test_data): Likewise.
55697 (remainder_towardzero_test_data): Likewise.
55698 (remainder_downward_test_data): Likewise.
55699 (remainder_upward_test_data): Likewise.
55700 (remquo_test_data): Likewise.
55701 (rint_test_data): Likewise.
55702 (rint_tonearest_test_data): Likewise.
55703 (rint_towardzero_test_data): Likewise.
55704 (rint_downward_test_data): Likewise.
55705 (rint_upward_test_data): Likewise.
55706 (round_test_data): Likewise.
55707 (scalb_test_data): Likewise.
55708 (scalbn_test_data): Likewise.
55709 (scalbln_test_data): Likewise.
55710 (signbit_test_data): Likewise.
55711 (sin_test_data): Likewise.
55712 (sin_tonearest_test_data): Likewise.
55713 (sin_towardzero_test_data): Likewise.
55714 (sin_downward_test_data): Likewise.
55715 (sin_upward_test_data): Likewise.
55716 (sincos_test_data): Likewise.
55717 (sinh_test_data): Likewise.
55718 (sinh_tonearest_test_data): Likewise.
55719 (sinh_towardzero_test_data): Likewise.
55720 (sinh_downward_test_data): Likewise.
55721 (sinh_upward_test_data): Likewise.
55722 (sqrt_test_data): Likewise.
55723 (tan_test_data): Likewise.
55724 (tan_tonearest_test_data): Likewise.
55725 (tan_towardzero_test_data): Likewise.
55726 (tan_downward_test_data): Likewise.
55727 (tan_upward_test_data): Likewise.
55728 (tanh_test_data): Likewise.
55729 (tgamma_test_data): Likewise.
55730 (trunc_test_data): Likewise.
55731 (y0_test_data): Likewise.
55732 (y1_test_data): Likewise.
55733 (yn_test_data): Likewise.
55734 (significand_test_data): Likewise.
55735
55736 * math/gen-libm-test.pl (@functions): Remove variable.
55737 (generate_testfile): Don't handle START and END lines.
55738 * math/libm-test.inc (START): New macro.
55739 (END): Likewise.
55740 (END_COMPLEX): Likewise.
55741 (acos_test): Use END macro without arguments.
55742 (acos_test_tonearest): Likewise.
55743 (acos_test_towardzero): Likewise.
55744 (acos_test_downward): Likewise.
55745 (acos_test_upward): Likewise.
55746 (acosh_test): Likewise.
55747 (asin_test): Likewise.
55748 (asin_test_tonearest): Likewise.
55749 (asin_test_towardzero): Likewise.
55750 (asin_test_downward): Likewise.
55751 (asin_test_upward): Likewise.
55752 (asinh_test): Likewise.
55753 (atan_test): Likewise.
55754 (atanh_test): Likewise.
55755 (atan2_test): Likewise.
55756 (cabs_test): Likewise.
55757 (cacos_test): Use END_COMPLEX macro without arguments.
55758 (cacosh_test): Likewise.
55759 (carg_test): Use END macro without arguments.
55760 (casin_test): Use END_COMPLEX macro without arguments.
55761 (casinh_test): Likewise.
55762 (catan_test): Likewise.
55763 (catanh_test): Likewise.
55764 (cbrt_test): Use END macro without arguments.
55765 (ccos_test): Use END_COMPLEX macro without arguments.
55766 (ccosh_test): Likewise.
55767 (ceil_test): Use END macro without arguments.
55768 (cexp_test): Use END_COMPLEX macro without arguments.
55769 (cimag_test): Use END macro without arguments.
55770 (clog_test): Use END_COMPLEX macro without arguments.
55771 (clog10_test): Likewise.
55772 (conj_test): Likewise.
55773 (copysign_test): Use END macro without arguments.
55774 (cos_test): Likewise.
55775 (cos_test_tonearest): Likewise.
55776 (cos_test_towardzero): Likewise.
55777 (cos_test_downward): Likewise.
55778 (cos_test_upward): Likewise.
55779 (cosh_test): Likewise.
55780 (cosh_test_tonearest): Likewise.
55781 (cosh_test_towardzero): Likewise.
55782 (cosh_test_downward): Likewise.
55783 (cosh_test_upward): Likewise.
55784 (cpow_test): Use END_COMPLEX macro without arguments.
55785 (cproj_test): Likewise.
55786 (creal_test): Use END macro without arguments.
55787 (csin_test): Use END_COMPLEX macro without arguments.
55788 (csinh_test): Likewise.
55789 (csqrt_test): Likewise.
55790 (ctan_test): Likewise.
55791 (ctan_test_tonearest): Likewise.
55792 (ctan_test_towardzero): Likewise.
55793 (ctan_test_downward): Likewise.
55794 (ctan_test_upward): Likewise.
55795 (ctanh_test): Likewise.
55796 (ctanh_test_tonearest): Likewise.
55797 (ctanh_test_towardzero): Likewise.
55798 (ctanh_test_downward): Likewise.
55799 (ctanh_test_upward): Likewise.
55800 (erf_test): Use END macro without arguments.
55801 (erfc_test): Likewise.
55802 (exp_test): Likewise.
55803 (exp_test_tonearest): Likewise.
55804 (exp_test_towardzero): Likewise.
55805 (exp_test_downward): Likewise.
55806 (exp_test_upward): Likewise.
55807 (exp10_test): Likewise.
55808 (exp2_test): Likewise.
55809 (expm1_test): Likewise.
55810 (fabs_test): Likewise.
55811 (fdim_test): Likewise.
55812 (finite_test): Likewise.
55813 (floor_test): Likewise.
55814 (fma_test): Likewise.
55815 (fma_test_towardzero): Likewise.
55816 (fma_test_downward): Likewise.
55817 (fma_test_upward): Likewise.
55818 (fmax_test): Likewise.
55819 (fmin_test): Likewise.
55820 (fmod_test): Likewise.
55821 (fpclassify_test): Likewise.
55822 (frexp_test): Likewise.
55823 (gamma_test): Likewise.
55824 (hypot_test): Likewise.
55825 (ilogb_test): Likewise.
55826 (isfinite_test): Likewise.
55827 (isgreater_test): Likewise.
55828 (isgreaterequal_test): Likewise.
55829 (isinf_test): Likewise.
55830 (isless_test): Likewise.
55831 (islessequal_test): Likewise.
55832 (islessgreater_test): Likewise.
55833 (isnan_test): Likewise.
55834 (isnormal_test): Likewise.
55835 (issignaling_test): Likewise.
55836 (isunordered_test): Likewise.
55837 (j0_test): Likewise.
55838 (j1_test): Likewise.
55839 (jn_test): Likewise.
55840 (ldexp_test): Likewise.
55841 (lgamma_test): Likewise.
55842 (lrint_test): Likewise.
55843 (lrint_test_tonearest): Likewise.
55844 (lrint_test_towardzero): Likewise.
55845 (lrint_test_downward): Likewise.
55846 (lrint_test_upward): Likewise.
55847 (llrint_test): Likewise.
55848 (llrint_test_tonearest): Likewise.
55849 (llrint_test_towardzero): Likewise.
55850 (llrint_test_downward): Likewise.
55851 (llrint_test_upward): Likewise.
55852 (log_test): Likewise.
55853 (log10_test): Likewise.
55854 (log1p_test): Likewise.
55855 (log2_test): Likewise.
55856 (logb_test): Likewise.
55857 (logb_test_downward): Likewise.
55858 (lround_test): Likewise.
55859 (llround_test): Likewise.
55860 (modf_test): Likewise.
55861 (nearbyint_test): Likewise.
55862 (nextafter_test): Likewise.
55863 (nexttoward_test): Likewise.
55864 (pow_test): Likewise.
55865 (pow_test_tonearest): Likewise.
55866 (pow_test_towardzero): Likewise.
55867 (pow_test_downward): Likewise.
55868 (pow_test_upward): Likewise.
55869 (remainder_test): Likewise.
55870 (remainder_test_tonearest): Likewise.
55871 (remainder_test_towardzero): Likewise.
55872 (remainder_test_downward): Likewise.
55873 (remainder_test_upward): Likewise.
55874 (remquo_test): Likewise.
55875 (rint_test): Likewise.
55876 (rint_test_tonearest): Likewise.
55877 (rint_test_towardzero): Likewise.
55878 (rint_test_downward): Likewise.
55879 (rint_test_upward): Likewise.
55880 (round_test): Likewise.
55881 (scalb_test): Likewise.
55882 (scalbn_test): Likewise.
55883 (scalbln_test): Likewise.
55884 (signbit_test): Likewise.
55885 (sin_test): Likewise.
55886 (sin_test_tonearest): Likewise.
55887 (sin_test_towardzero): Likewise.
55888 (sin_test_downward): Likewise.
55889 (sin_test_upward): Likewise.
55890 (sincos_test): Likewise.
55891 (sinh_test): Likewise.
55892 (sinh_test_tonearest): Likewise.
55893 (sinh_test_towardzero): Likewise.
55894 (sinh_test_downward): Likewise.
55895 (sinh_test_upward): Likewise.
55896 (sqrt_test): Likewise.
55897 (tan_test): Likewise.
55898 (tan_test_tonearest): Likewise.
55899 (tan_test_towardzero): Likewise.
55900 (tan_test_downward): Likewise.
55901 (tan_test_upward): Likewise.
55902 (tanh_test): Likewise.
55903 (tgamma_test): Likewise.
55904 (trunc_test): Likewise.
55905 (y0_test): Likewise.
55906 (y1_test): Likewise.
55907 (yn_test): Likewise.
55908 (significand_test): Likewise.
55909
55910 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55911
55912 [BZ #15381]
55913 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55914
55915 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55916
55917 [BZ #14894]
55918 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55919 __ppc_mdoio and __ppc_mdoom.
55920 * manual/platform.texi: Document new functions __ppc_yield,
55921 __ppc_mdoio and __ppc_mdoom.
55922
55923 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55924
55925 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55926 (main): Mention "tls" pseudo-hwcap is legacy.
55927 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55928
55929 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55930
55931 * math/gen-libm-test.pl (parse_args): Output only string of
55932 arguments as text for test name, not full call or descriptions of
55933 tests for extra outputs.
55934 (generate_testfile): Do not pass function name to parse_args.
55935 Generate this_func variable from START.
55936 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55937 field to arg_str.
55938 (struct test_ff_f_data): Likewise.
55939 (test_ff_f_data_nexttoward): Likewise.
55940 (struct test_fi_f_data): Likewise.
55941 (struct test_fl_f_data): Likewise.
55942 (struct test_if_f_data): Likewise.
55943 (struct test_fff_f_data): Likewise.
55944 (struct test_c_f_data): Likewise.
55945 (struct test_f_f1_data): Likewise. Remove field extra_name.
55946 (struct test_fF_f1_data): Likewise.
55947 (struct test_ffI_f1_data): Likewise.
55948 (struct test_c_c_data): Rename test_name field to arg_str.
55949 (struct test_cc_c_data): Likewise.
55950 (struct test_f_i_data): Likewise.
55951 (struct test_ff_i_data): Likewise.
55952 (struct test_f_l_data): Likewise.
55953 (struct test_f_L_data): Likewise.
55954 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55955 and extra2_name.
55956 (COMMON_TEST_SETUP): New macro.
55957 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55958 (COMMON_TEST_CLEANUP): Likewise.
55959 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55960 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55961 macros.
55962 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55963 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55964 macros.
55965 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55966 (RUN_TEST_fff_f): Take argument string. Call new setup and
55967 cleanup macros.
55968 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55969 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55970 macros.
55971 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55972 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55973 macros.
55974 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55975 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55976 cleanup macros.
55977 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55978 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55979 cleanup macros.
55980 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55981 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55982 cleanup macros.
55983 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55984 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55985 macros.
55986 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55987 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55988 macros.
55989 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55990 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55991 macros.
55992 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55993 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55994 cleanup macros.
55995 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55996 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55997 cleanup macros.
55998 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55999 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
56000 macros.
56001 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56002 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
56003 cleanup macros.
56004 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56005 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
56006 macros.
56007 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56008 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
56009 macros.
56010 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56011 (RUN_TEST_fFF_11): Take argument string. Call new setup and
56012 cleanup macros.
56013 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56014
56015 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
56016
56017 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56018 to _sifields.sigfault.
56019 (si_addr_lsb): Define new macro.
56020 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56022 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56023
56024 2013-05-03 Carlos O'Donell <carlos at redhat.com>
56025
56026 [BZ #15441]
56027 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56028 returns -1.
56029 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56030 null return -1.
56031 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56032 loading the domain.
56033
56034 2013-05-22 Joseph Myers <joseph@codesourcery.com>
56035
56036 * math/gen-libm-test.pl (parse_args): Do not include expected
56037 result in test name.
56038 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56040 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56041 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56042 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56044
56045 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
56046
56047 * benchtests/Makefile: Sort function entries.
56048
56049 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56050 tanh, asinh, acosh, atanh.
56051 * benchtests/acos-inputs: New file.
56052 * benchtests/acosh-inputs: New file.
56053 * benchtests/asin-inputs: New file.
56054 * benchtests/asinh-inputs: New file.
56055 * benchtests/atanh-inputs: New file.
56056 * benchtests/cosh-inputs: New file.
56057 * benchtests/log-inputs: New file.
56058 * benchtests/sinh-inputs: New file.
56059 * benchtests/tanh-inputs: New file.
56060
56061 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
56062
56063 [BZ #15339]
56064 * posix/tst-getaddrinfo4.c: New test.
56065 * posix/Makefile (tests): Add it.
56066
56067 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56068
56069 [BZ #15339]
56070 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56071 when no services were used.
56072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56073 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56074
56075 2013-05-21 Andreas Schwab <schwab@suse.de>
56076
56077 [BZ #15014]
56078 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56079 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56080 successful.
56081 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56082 redundant variable declarations and reallocation of buffer when
56083 parsing as IPv6 address. Always set NSS status when called from
56084 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
56085 buffer too small. Correct computation of needed size.
56086 * nss/Makefile (tests): Add test-digits-dots.
56087 * nss/test-digits-dots.c: New test.
56088
56089 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56090
56091 * benchtests/Makefile: Remove instructions for adding
56092 benchmark tests.
56093 * benchtests/README: New file to explain how to execute and
56094 enhance the benchmark tests.
56095
56096 2013-05-21 Andreas Schwab <schwab@suse.de>
56097
56098 [BZ #15493]
56099 * setjmp/Makefile (tests): Add tst-sigsetjmp.
56100 * setjmp/tst-sigsetjmp.c: New test.
56101
56102 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56103
56104 * sysdeps/x86_64/memset.S (memset): New implementation.
56105 (__bzero): Likewise.
56106 (__memset_tail): New function.
56107
56108 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56109
56110 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56111 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56112 __memcpy_sse2_unaligned ifunc selection.
56113 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56114 Add memcpy-sse2-unaligned.S.
56115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56116 Add: __memcpy_sse2_unaligned.
56117
56118 2013-05-19 Joseph Myers <joseph@codesourcery.com>
56119
56120 [BZ #15490]
56121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56122 math_force_eval before restoring floating-point envrionment.
56123 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56124 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56125 Likewise.
56126 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56127 <math_private.h>.
56128 (__nearbyintl): Use math_force_eval before restoring
56129 floating-point environment.
56130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56131
56132 * math/gen-libm-test.pl (special_functions): Remove.
56133 (parse_args): Don't handle TEST_extra. Handle functions with no
56134 return value.
56135 * math/libm-test.inc (struct test_sincos_data): Replace with
56136 struct test_fFF_11_data.
56137 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56138 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56139 (sincos_test_data): Change element type to struct
56140 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
56141 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56142 RUN_TEST_LOOP_sincos.
56143 * math/README.libm-test: Don't mention special handling of
56144 individual functions.
56145 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56146 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56147 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56148 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56149 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56151
56152 * math/gen-libm-test.pl (get_variable): Remove function.
56153 (parse_args): Don't show pointer parameters to call in test
56154 names. Use "extra output N" in test names for extra outputs
56155 rather than naming variables.
56156
56157 2013-05-18 Joseph Myers <joseph@codesourcery.com>
56158
56159 [BZ #15488]
56160 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56161 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56162 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56163 double tests.
56164 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56165 disable.
56166 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56167 check_long_double.
56168
56169 * math/gen-libm-test.pl (@tests): Remove variable.
56170 ($count): Likewise.
56171 (new_test): Remove function.
56172 (show_exceptions): New function.
56173 (special_functions): Use show_exceptions instead of new_test.
56174 (parse_args): Likewise.
56175 (generate_testfile): Pass only function name in generated call to
56176 print_max_error or print_complex_max_error.
56177 (get_ulps): Do not handle complex tests specially.
56178 (output_test): Rename to ...
56179 (get_all_ulps_for_test): ... this. Return a string rather than
56180 printing to a file. Require ulps to be present.
56181 (output_ulps): Generate arrays rather than #defines.
56182 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56183 (struct ulp_data): New type.
56184 (BUILD_COMPLEX_ULP): Remove macro.
56185 (compare_ulp_data): New function.
56186 (find_ulps): Likewise.
56187 (find_test_ulps): Likewise.
56188 (find_function_ulps): Likewise.
56189 (find_complex_function_ulps): Likewise.
56190 (print_max_error): Determine allowed ulps using
56191 find_function_ulps.
56192 (print_complex_max_error): Determine allowed ulps using
56193 find_complex_function_ulps.
56194 (check_float_internal): Determine max ulps using find_test_ulps.
56195 (check_float): Do not take max_ulp parameter. Update call to
56196 check_float_internal.
56197 (check_complex): Likewise.
56198 (check_int): Do not take max_ulp parameter.
56199 (check_long): Likewise.
56200 (check_bool): Likewise.
56201 (check_longlong): Likewise.
56202 (struct test_f_f_data): Remove max_ulp field.
56203 (struct test_ff_f_data): Likewise.
56204 (struct test_ff_f_data_nexttoward): Likewise.
56205 (struct test_fi_f_data): Likewise.
56206 (struct test_fl_f_data): Likewise.
56207 (struct test_if_f_data): Likewise.
56208 (struct test_fff_f_data): Likewise.
56209 (struct test_c_f_data): Likewise.
56210 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56211 (struct test_fF_f1_data): Likewise.
56212 (struct test_ffI_f1_data): Likewise.
56213 (struct test_c_c_data): Remove max_ulp field.
56214 (struct test_cc_c_data): Likewise.
56215 (struct test_f_i_data): Likewise.
56216 (struct test_ff_i_data): Likewise.
56217 (struct test_f_l_data): Likewise.
56218 (struct test_f_L_data): Likewise.
56219 (struct test_sincos_data): Likewise.
56220 (RUN_TEST_f_f): Do not handle ulps.
56221 (RUN_TEST_LOOP_f_f): Likewise.
56222 (RUN_TEST_2_f): Likewise.
56223 (RUN_TEST_LOOP_2_f): Likewise.
56224 (RUN_TEST_fff_f): Likewise.
56225 (RUN_TEST_LOOP_fff_f): Likewise.
56226 (RUN_TEST_c_f): Likewise.
56227 (RUN_TEST_LOOP_c_f): Likewise.
56228 (RUN_TEST_f_f1): Likewise.
56229 (RUN_TEST_LOOP_f_f1): Likewise.
56230 (RUN_TEST_fF_f1): Likewise.
56231 (RUN_TEST_LOOP_fF_f1): Likewise.
56232 (RUN_TEST_fI_f1): Likewise.
56233 (RUN_TEST_LOOP_fI_f1): Likewise.
56234 (RUN_TEST_ffI_f1): Likewise.
56235 (RUN_TEST_LOOP_ffI_f1): Likewise.
56236 (RUN_TEST_c_c): Likewise.
56237 (RUN_TEST_LOOP_c_c): Likewise.
56238 (RUN_TEST_cc_c): Likewise.
56239 (RUN_TEST_LOOP_cc_c): Likewise.
56240 (RUN_TEST_f_i): Likewise.
56241 (RUN_TEST_LOOP_f_i): Likewise.
56242 (RUN_TEST_f_i_tg): Likewise.
56243 (RUN_TEST_LOOP_f_i_tg): Likewise.
56244 (RUN_TEST_ff_i_tg): Likewise.
56245 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56246 (RUN_TEST_f_b): Likewise.
56247 (RUN_TEST_LOOP_f_b): Likewise.
56248 (RUN_TEST_f_b_tg): Likewise.
56249 (RUN_TEST_LOOP_f_b_tg): Likewise.
56250 (RUN_TEST_f_l): Likewise.
56251 (RUN_TEST_LOOP_f_l): Likewise.
56252 (RUN_TEST_f_L): Likewise.
56253 (RUN_TEST_LOOP_f_L): Likewise.
56254 (RUN_TEST_sincos): Likewise.
56255 (RUN_TEST_LOOP_sincos): Likewise.
56256
56257 2013-05-17 Joseph Myers <joseph@codesourcery.com>
56258
56259 [BZ #15480]
56260 [BZ #15485]
56261 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56262 main case of finite arguments, set rounding mode to FE_TONEAREST
56263 and discard exceptions.
56264 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56265 exceptions.
56266 (remainder_tonearest_test_data): New variable.
56267 (remainder_test_tonearest): New function.
56268 (remainder_towardzero_test_data): New variable.
56269 (remainder_test_towardzero): New function.
56270 (remainder_downward_test_data): New variable.
56271 (remainder_test_downward): New function.
56272 (remainder_upward_test_data): New variable.
56273 (remainder_test_upward): New function.
56274 (main): Call the new test functions.
56275
56276 * math/libm-test.inc (struct test_f_f1_data): Remove field
56277 extra_init.
56278 (struct test_fF_f1_data): Likewise.
56279 (struct test_ffI_f1_data): Likewise.
56280 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
56281 based on value of EXTRA_EXPECTED.
56282 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56283 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
56284 EXTRA_VAR based on value of EXTRA_EXPECTED.
56285 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56286 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
56287 EXTRA_VAR based on value of EXTRA_EXPECTED.
56288 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56289 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
56290 EXTRA_VAR based on value of EXTRA_EXPECTED.
56291 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56292 * math/gen-libm-test.pl (parse_args): Don't output initializers
56293 for extra output values.
56294
56295 * math/libm-test.inc (check_int): Expect result to be exactly
56296 equal to expected value and do not handle ulps.
56297 (check_long): Likewise.
56298 (check_longlong): Likewise.
56299
56300 * math/libm-test.inc (ceil_test_data): Test for "inexact"
56301 exceptions.
56302 (cimag_test_data): Likewise.
56303 (conj_test_data): Likewise.
56304 (copysign_test_data): Likewise.
56305 (cproj_test_data): Likewise.
56306 (creal_test_data): Likewise.
56307 (fabs_test_data): Likewise.
56308 (fdim_test_data): Likewise.
56309 (finite_test_data): Likewise.
56310 (floor_test_data): Likewise.
56311 (fmax_test_data): Likewise.
56312 (fmin_test_data): Likewise.
56313 (fmod_test_data): Likewise.
56314 (fpclassify_test_data): Likewise.
56315 (frexp_test_data): Likewise.
56316 (ilogb_test_data): Likewise.
56317 (isfinite_test_data): Likewise.
56318 (isgreater_test_data): Likewise.
56319 (isgreaterequal_test_data): Likewise.
56320 (isinf_test_data): Likewise.
56321 (isless_test_data): Likewise.
56322 (islessequal_test_data): Likewise.
56323 (islessgreater_test_data): Likewise.
56324 (isnan_test_data): Likewise.
56325 (isnormal_test_data): Likewise.
56326 (issignaling_test_data): Likewise.
56327 (isunordered_test_data): Likewise.
56328 (ldexp_test_data): Likewise.
56329 (lrint_test_data): Likewise.
56330 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56331 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56332 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56333 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56334 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56335 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56336 test input.
56337 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56338 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56339 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56340 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56341 that test input.
56342 (lrint_downward_test_data): Test for "inexact" exceptions.
56343 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56344 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56345 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56346 test input.
56347 (lrint_upward_test_data): Test for "inexact" exceptions.
56348 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56349 test input.
56350 (llrint_test_data): Test for "inexact" exceptions.
56351 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56352 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56353 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56354 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56355 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56356 (llrint_downward_test_data): Test for "inexact" exceptions.
56357 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56358 (llrint_upward_test_data): Test for "inexact" exceptions.
56359 (logb_test_data): Likewise.
56360 (logb_downward_test_data): Likewise.
56361 (nextafter_test_data): Likewise.
56362 (nexttoward_test_data): Likewise.
56363 (remainder_test_data): Likewise.
56364 (remquo_test_data): Likewise.
56365 (scalbn_test_data): Likewise.
56366 (scalbln_test_data): Likewise.
56367 (signbit_test_data): Likewise.
56368 (sqrt_test_data): Likewise.
56369 (significand_test_data): Likewise.
56370
56371 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56372
56373 [BZ #15424]
56374 * benchtests/bench-modf.c (struct args): Mark arg0 as
56375 volatile.
56376 * scripts/bench.pl: Mark members of struct args as volatile.
56377
56378 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56379
56380 [BZ # 15497]
56381 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56382 negative infinity on POWER6 or lower.
56383 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56384
56385 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56386
56387 [BZ #15442]
56388 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56389 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56390 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56391 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56392 (_FP_SETQNAN): New macro.
56393 (_FP_SETQNAN_SEMIRAW): Likewise.
56394 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56395 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56396 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56397 (FP_EXTEND): Use _FP_FRAC_SNANP.
56398 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56399 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56400 into account.
56401 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56402 New macro.
56403 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56404 Likewise.
56405
56406 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56407
56408 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56409 with DIVIDE_BY_ZERO_EXCEPTION.
56410 (gamma_test_data): Likewise.
56411 (lgamma_test_data): Likewise.
56412 (log_test_data): Likewise.
56413 (log10_test_data): Likewise.
56414 (log2_test_data): Likewise.
56415 (tgamma_test_data): Likewise.
56416
56417 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56418 (acos_test_tonearest): Likewise.
56419 (acos_test_towardzero): Likewise.
56420 (acos_test_downward): Likewise.
56421 (acos_test_upward): Likewise.
56422 (acosh_test): Likewise.
56423 (asin_test): Likewise.
56424 (asin_test_tonearest): Likewise.
56425 (asin_test_towardzero): Likewise.
56426 (asin_test_downward): Likewise.
56427 (asin_test_upward): Likewise.
56428 (asinh_test): Likewise.
56429 (atan_test): Likewise.
56430 (atanh_test): Likewise.
56431 (atan2_test): Likewise.
56432 (cabs_test): Likewise.
56433 (cacos_test): Likewise.
56434 (cacosh_test): Likewise.
56435 (casin_test): Likewise.
56436 (casinh_test): Likewise.
56437 (catan_test): Likewise.
56438 (catanh_test): Likewise.
56439 (cbrt_test): Likewise.
56440 (ccos_test): Likewise.
56441 (ccosh_test): Likewise.
56442 (cexp_test): Likewise.
56443 (clog_test): Likewise.
56444 (clog10_test): Likewise.
56445 (cos_test): Likewise.
56446 (cos_test_tonearest): Likewise.
56447 (cos_test_towardzero): Likewise.
56448 (cos_test_downward): Likewise.
56449 (cos_test_upward): Likewise.
56450 (cosh_test): Likewise.
56451 (cosh_test_tonearest): Likewise.
56452 (cosh_test_towardzero): Likewise.
56453 (cosh_test_downward): Likewise.
56454 (cosh_test_upward): Likewise.
56455 (cpow_test): Likewise.
56456 (csin_test): Likewise.
56457 (csinh_test): Likewise.
56458 (csqrt_test): Likewise.
56459 (ctan_test): Likewise.
56460 (ctan_test_tonearest): Likewise.
56461 (ctan_test_towardzero): Likewise.
56462 (ctan_test_downward): Likewise.
56463 (ctan_test_upward): Likewise.
56464 (ctanh_test): Likewise.
56465 (ctanh_test_tonearest): Likewise.
56466 (ctanh_test_towardzero): Likewise.
56467 (ctanh_test_downward): Likewise.
56468 (ctanh_test_upward): Likewise.
56469 (erf_test): Likewise.
56470 (erfc_test): Likewise.
56471 (exp_test): Likewise.
56472 (exp_test_tonearest): Likewise.
56473 (exp_test_towardzero): Likewise.
56474 (exp_test_downward): Likewise.
56475 (exp_test_upward): Likewise.
56476 (exp10_test): Likewise.
56477 (exp2_test): Likewise.
56478 (expm1_test): Likewise.
56479 (fmod_test): Likewise.
56480 (gamma_test): Likewise.
56481 (hypot_test): Likewise.
56482 (j0_test): Likewise.
56483 (j1_test): Likewise.
56484 (jn_test): Likewise.
56485 (lgamma_test): Likewise.
56486 (log_test): Likewise.
56487 (log10_test): Likewise.
56488 (log1p_test): Likewise.
56489 (log2_test): Likewise.
56490 (logb_test_downward): Likewise.
56491 (pow_test): Likewise.
56492 (pow_test_tonearest): Likewise.
56493 (pow_test_towardzero): Likewise.
56494 (pow_test_downward): Likewise.
56495 (pow_test_upward): Likewise.
56496 (remainder_test): Likewise.
56497 (remquo_test): Likewise.
56498 (sin_test): Likewise.
56499 (sin_test_tonearest): Likewise.
56500 (sin_test_towardzero): Likewise.
56501 (sin_test_downward): Likewise.
56502 (sin_test_upward): Likewise.
56503 (sincos_test): Likewise.
56504 (sinh_test): Likewise.
56505 (sinh_test_tonearest): Likewise.
56506 (sinh_test_towardzero): Likewise.
56507 (sinh_test_downward): Likewise.
56508 (sinh_test_upward): Likewise.
56509 (sqrt_test): Likewise.
56510 (tan_test): Likewise.
56511 (tan_test_tonearest): Likewise.
56512 (tan_test_towardzero): Likewise.
56513 (tan_test_downward): Likewise.
56514 (tan_test_upward): Likewise.
56515 (tanh_test): Likewise.
56516 (tgamma_test): Likewise.
56517 (y0_test): Likewise.
56518 (y1_test): Likewise.
56519 (yn_test): Likewise.
56520
56521 * math/gen-libm-test.pl (adjust_arg): Remove function.
56522 (special_function): Remove argument $in_func. Only handle
56523 generating output for tables of tests, not inside functions.
56524 (parse_args): Likewise.
56525 (generate_testfile): Remove variable $in_func. Update call to
56526 parse_args.
56527 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56528 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56529 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56530 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56531 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56532 (MAX_VALUE_INIT): Rename macro to max_value.
56533 (MIN_VALUE_INIT): Rename macro to min_value.
56534 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56535 (plus_zero): Remove variable.
56536 (minus_zero): Likewise.
56537 (plus_infty): Likewise.
56538 (minus_infty): Likewise.
56539 (qnan_value): Likewise.
56540 (max_value): Likewise.
56541 (min_value): Likewise.
56542 (min_subnorm_value): Likewise.
56543
56544 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56545
56546 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56547 uint64_t or uint32_t usage.
56548 * crypt/sha256-block.c: Likewise.
56549 * crypt/sha256-crypt.c: Likewise.
56550 * crypt/sha256.c: Likewise.
56551 * crypt/sha512-block.c: Likewise.
56552 * crypt/sha512-crypt.c: Likewise.
56553 * crypt/sha512.c: Likewise.
56554 * debug/backtrace-tst.c: Likewise.
56555 * debug/pcprofiledump.c: Likewise.
56556 * elf/cache.c: Likewise.
56557 * elf/dl-cache.c: Likewise.
56558 * elf/dl-misc.c: Likewise.
56559 * elf/dl-profile.c: Likewise.
56560 * elf/dl-support.c: Likewise.
56561 * elf/ldconfig.c: Likewise.
56562 * elf/sprof.c: Likewise.
56563 * iconv/dummy-repertoire.c: Likewise.
56564 * iconv/iconv_charmap.c: Likewise.
56565 * iconv/skeleton.c: Likewise.
56566 * iconvdata/8bit-generic.c: Likewise.
56567 * iconvdata/cp737.h: Likewise.
56568 * iconvdata/cp775.h: Likewise.
56569 * iconvdata/ibm1008.h: Likewise.
56570 * iconvdata/ibm1025.h: Likewise.
56571 * iconvdata/ibm1046.h: Likewise.
56572 * iconvdata/ibm1097.h: Likewise.
56573 * iconvdata/ibm1112.h: Likewise.
56574 * iconvdata/ibm1122.h: Likewise.
56575 * iconvdata/ibm1123.h: Likewise.
56576 * iconvdata/ibm1124.h: Likewise.
56577 * iconvdata/ibm1129.h: Likewise.
56578 * iconvdata/ibm1130.h: Likewise.
56579 * iconvdata/ibm1132.h: Likewise.
56580 * iconvdata/ibm1133.h: Likewise.
56581 * iconvdata/ibm1137.h: Likewise.
56582 * iconvdata/ibm1140.h: Likewise.
56583 * iconvdata/ibm1141.h: Likewise.
56584 * iconvdata/ibm1142.h: Likewise.
56585 * iconvdata/ibm1143.h: Likewise.
56586 * iconvdata/ibm1144.h: Likewise.
56587 * iconvdata/ibm1145.h: Likewise.
56588 * iconvdata/ibm1146.h: Likewise.
56589 * iconvdata/ibm1147.h: Likewise.
56590 * iconvdata/ibm1148.h: Likewise.
56591 * iconvdata/ibm1149.h: Likewise.
56592 * iconvdata/ibm1153.h: Likewise.
56593 * iconvdata/ibm1154.h: Likewise.
56594 * iconvdata/ibm1155.h: Likewise.
56595 * iconvdata/ibm1156.h: Likewise.
56596 * iconvdata/ibm1157.h: Likewise.
56597 * iconvdata/ibm1158.h: Likewise.
56598 * iconvdata/ibm1160.h: Likewise.
56599 * iconvdata/ibm1161.h: Likewise.
56600 * iconvdata/ibm1162.h: Likewise.
56601 * iconvdata/ibm1163.h: Likewise.
56602 * iconvdata/ibm1164.h: Likewise.
56603 * iconvdata/ibm1166.h: Likewise.
56604 * iconvdata/ibm1167.h: Likewise.
56605 * iconvdata/ibm12712.h: Likewise.
56606 * iconvdata/ibm1390.h: Likewise.
56607 * iconvdata/ibm1399.h: Likewise.
56608 * iconvdata/ibm16804.h: Likewise.
56609 * iconvdata/ibm4517.h: Likewise.
56610 * iconvdata/ibm4899.h: Likewise.
56611 * iconvdata/ibm4909.h: Likewise.
56612 * iconvdata/ibm4971.h: Likewise.
56613 * iconvdata/ibm5347.h: Likewise.
56614 * iconvdata/ibm803.h: Likewise.
56615 * iconvdata/ibm856.h: Likewise.
56616 * iconvdata/ibm901.h: Likewise.
56617 * iconvdata/ibm902.h: Likewise.
56618 * iconvdata/ibm9030.h: Likewise.
56619 * iconvdata/ibm9066.h: Likewise.
56620 * iconvdata/ibm921.h: Likewise.
56621 * iconvdata/ibm922.h: Likewise.
56622 * iconvdata/ibm9448.h: Likewise.
56623 * iconvdata/isiri-3342.h: Likewise.
56624 * iconvdata/jis0201.h: Likewise.
56625 * include/link.h: Likewise.
56626 * include/netdb.h: Likewise.
56627 * inet/check_native.c: Likewise.
56628 * inet/check_pf.c: Likewise.
56629 * inet/getipv4sourcefilter.c: Likewise.
56630 * inet/getnameinfo.c: Likewise.
56631 * inet/getsourcefilter.c: Likewise.
56632 * inet/htonl.c: Likewise.
56633 * inet/setipv4sourcefilter.c: Likewise.
56634 * inet/setsourcefilter.c: Likewise.
56635 * inet/test-inet6_opt.c: Likewise.
56636 * inet/tst-network.c: Likewise.
56637 * locale/C-collate.c: Likewise.
56638 * locale/C-ctype.c: Likewise.
56639 * locale/C-time.c: Likewise.
56640 * locale/C-translit.h: Likewise.
56641 * locale/loadarchive.c: Likewise.
56642 * locale/programs/3level.h: Likewise.
56643 * locale/programs/charmap.c: Likewise.
56644 * locale/programs/charmap.h: Likewise.
56645 * locale/programs/ld-address.c: Likewise.
56646 * locale/programs/ld-collate.c: Likewise.
56647 * locale/programs/ld-ctype.c: Likewise.
56648 * locale/programs/ld-identification.c: Likewise.
56649 * locale/programs/ld-measurement.c: Likewise.
56650 * locale/programs/ld-messages.c: Likewise.
56651 * locale/programs/ld-monetary.c: Likewise.
56652 * locale/programs/ld-name.c: Likewise.
56653 * locale/programs/ld-numeric.c: Likewise.
56654 * locale/programs/ld-paper.c: Likewise.
56655 * locale/programs/ld-telephone.c: Likewise.
56656 * locale/programs/ld-time.c: Likewise.
56657 * locale/programs/linereader.c: Likewise.
56658 * locale/programs/locale.c: Likewise.
56659 * locale/programs/locarchive.c: Likewise.
56660 * locale/programs/locfile.h: Likewise.
56661 * locale/programs/repertoire.c: Likewise.
56662 * locale/programs/simple-hash.c: Likewise.
56663 * locale/programs/simple-hash.h: Likewise.
56664 * malloc/memusage.c: Likewise.
56665 * malloc/memusagestat.c: Likewise.
56666 * nis/nis_defaults.c: Likewise.
56667 * nis/nis_hash.c: Likewise.
56668 * nis/nis_print.c: Likewise.
56669 * nis/nis_xdr.c: Likewise.
56670 * nscd/connections.c: Likewise.
56671 * nscd/hstcache.c: Likewise.
56672 * nscd/nscd_gethst_r.c: Likewise.
56673 * nscd/nscd_getserv_r.c: Likewise.
56674 * nscd/nscd_helper.c: Likewise.
56675 * nscd/servicescache.c: Likewise.
56676 * nss/makedb.c: Likewise.
56677 * nss/nss_db/db-XXX.c: Likewise.
56678 * nss/nss_db/db-initgroups.c: Likewise.
56679 * nss/nss_db/db-netgrp.c: Likewise.
56680 * nss/nss_files/files-network.c: Likewise.
56681 * nss/nss_files/files-parse.c: Likewise.
56682 * posix/bug-regex5.c: Likewise.
56683 * posix/fnmatch_loop.c: Likewise.
56684 * posix/regcomp.c: Likewise.
56685 * posix/regexec.c: Likewise.
56686 * posix/tst-rfc3484-2.c: Likewise.
56687 * posix/tst-rfc3484-3.c: Likewise.
56688 * posix/tst-rfc3484.c: Likewise.
56689 * resolv/nss_dns/dns-canon.c: Likewise.
56690 * resolv/nss_dns/dns-network.c: Likewise.
56691 * resolv/res_init.c: Likewise.
56692 * resolv/res_mkquery.c: Likewise.
56693 * resolv/tst-aton.c: Likewise.
56694 * stdlib/cxa_atexit.c: Likewise.
56695 * stdlib/cxa_finalize.c: Likewise.
56696 * stdlib/gen-fpioconst.c: Likewise.
56697 * stdlib/strtol_l.c: Likewise.
56698 * string/tst-endian.c: Likewise.
56699 * sunrpc/auth_des.c: Likewise.
56700 * sunrpc/clnt_udp.c: Likewise.
56701 * sunrpc/rtime.c: Likewise.
56702 * sunrpc/svcauth_des.c: Likewise.
56703 * sunrpc/xdr.c: Likewise.
56704 * sunrpc/xdr_intXX_t.c: Likewise.
56705 * sunrpc/xdr_rec.c: Likewise.
56706 * sysdeps/generic/ldconfig.h: Likewise.
56707 * sysdeps/generic/ldsodefs.h: Likewise.
56708 * sysdeps/generic/memusage.h: Likewise.
56709 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56710 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56711 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56712 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56713 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56715 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56717 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56719 * sysdeps/posix/getaddrinfo.c: Likewise.
56720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56722 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56723 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56724 * sysdeps/powerpc/test-gettimebase.c: Likewise.
56725 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56726 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56727 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56728 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56729 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56730 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56731 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56732 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56733 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56734 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56735 * sysdeps/x86_64/dl-tls.h: Likewise.
56736 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56737 * time/alt_digit.c: Likewise.
56738 * time/era.c: Likewise.
56739 * wcsmbs/tst-c16c32-1.c: Likewise.
56740
56741 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56742
56743 * math/libm-test.inc (struct test_sincos_data): New type.
56744 (RUN_TEST_LOOP_sincos): New macro.
56745 (sincos_test_data): New variable.
56746 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56747
56748 2013-05-16 Richard Henderson <rth@redhat.com>
56749
56750 * math/atest-exp2.c (LIMB64): New macro.
56751 (CONSTSZ): New macro.
56752 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56753 (hexdig): Move ...
56754 (print_mpn_fp): ... to function scope.
56755 (read_mpn_hex): Remove.
56756 (get_log2): Remove.
56757 (exp2_mpn): Use mp_log2.
56758 (main): Use mp_exp1.
56759
56760 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56761
56762 * math/libm-test.inc: Remove comment about not testing "inexact"
56763 exceptions.
56764 (INEXACT_EXCEPTION): New macro.
56765 (NO_INEXACT_EXCEPTION): Likewise.
56766 (INVALID_EXCEPTION_OK): Update value.
56767 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56768 (OVERFLOW_EXCEPTION_OK): Likewise.
56769 (UNDERFLOW_EXCEPTION_OK): Likewise.
56770 (IGNORE_ZERO_INF_SIGN): Likewise.
56771 (ERRNO_UNCHANGED): Likewise.
56772 (ERRNO_EDOM): Likewise.
56773 (ERRNO_ERANGE): Likewise.
56774 (test_exceptions): Handle testing "inexact" exceptions.
56775 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56776 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56777 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56778 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56779 INEXACT_EXCEPTION.
56780 (rint_towardzero_test_data): Likewise.
56781 (rint_downward_test_data): Likewise.
56782 (rint_upward_test_data): Likewise.
56783
56784 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56785 with OVERFLOW_EXCEPTION.
56786 (exp10_test_data): Likewise.
56787 (exp2_test_data): Likewise.
56788 (expm1_test_data): Likewise.
56789 (lgamma_test_data): Likewise.
56790 (pow_test_data): Likewise.
56791 (tgamma_test_data): Likewise.
56792 (yn_test_data): Remove duplicate test of overflow.
56793
56794 * math/libm-test.inc (struct test_cc_c_data): New type.
56795 (RUN_TEST_LOOP_cc_c): New macro.
56796 (cpow_test_data): New variable.
56797 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56798
56799 * math/libm-test.inc (struct test_f_L_data): New type.
56800 (RUN_TEST_LOOP_f_L): New macro.
56801 (llrint_test_data): New variable.
56802 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56803 (llrint_tonearest_test_data): New variable.
56804 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56805 (llrint_towardzero_test_data): New variable.
56806 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56807 (llrint_downward_test_data): New variable.
56808 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56809 (llrint_upward_test_data): New variable.
56810 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56811 (llround_test_data): New variable.
56812 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56813
56814 2013-05-13 Peter Collingbourne <pcc@google.com>
56815
56816 * math/atest-exp2.c (get_log2): Remove const attribute.
56817
56818 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56819
56820 * math/libm-test.inc (struct test_f_l_data): New type.
56821 (RUN_TEST_LOOP_f_l): New macro.
56822 (lrint_test_data): New variable.
56823 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56824 (lrint_tonearest_test_data): New variable.
56825 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56826 (lrint_towardzero_test_data): New variable.
56827 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56828 (lrint_downward_test_data): New variable.
56829 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56830 (lrint_upward_test_data): New variable.
56831 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56832 (lround_test_data): New variable.
56833 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56834
56835 2013-05-15 Peter Collingbourne <pcc@google.com>
56836
56837 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56838 (EXTRACT_WORDS64) Use where appropriate.
56839 (INSERT_WORDS64) Likewise.
56840
56841 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56842 constraints with x constraints.
56843 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56844
56845 * malloc/obstack.c (_obstack_compat): Add initializer.
56846
56847 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56848
56849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56850 si_trapno and add si_addr_lsb to _sifields.sigfault.
56851 (si_trapno): Remove macro.
56852 (si_addr_lsb): Define new macro.
56853 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56854
56855 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56856
56857 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56858 instead of TEST_f_l.
56859 (llrint_test_tonearest): Likewise.
56860 (llrint_test_towardzero): Likewise.
56861 (llrint_test_downward): Likewise.
56862 (llrint_test_upward): Likewise.
56863 (llround_test): Likewise.
56864
56865 * math/libm-test.inc (struct test_f_i_data): Add comment.
56866 (RUN_TEST_LOOP_f_b): New macro.
56867 (RUN_TEST_LOOP_f_b_tg): Likewise.
56868 (finite_test_data): New variable.
56869 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56870 (isfinite_test_data): New variable.
56871 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56872 (isinf_test_data): New variable.
56873 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56874 (isnan_test_data): New variable.
56875 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56876 (isnormal_test_data): New variable.
56877 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56878 (issignaling_test_data): New variable.
56879 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56880 (signbit_test_data): New variable.
56881 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56882
56883 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56884 with INVALID_EXCEPTION.
56885 (acosh_test_data): Likewise.
56886 (asin_test_data): Likewise.
56887 (atanh_test_data): Likewise.
56888 (fmod_test_data): Likewise.
56889 (log_test_data): Likewise.
56890 (log10_test_data): Likewise.
56891 (log2_test_data): Likewise.
56892 (pow_test_data): Likewise.
56893 (sqrt_test_data): Likewise.
56894 (y0_test_data): Likewise.
56895 (y1_test_data): Likewise.
56896 (yn_test_data): Likewise.
56897
56898 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56899 function contents.
56900
56901 * math/libm-test.inc (struct test_ff_i_data): New type.
56902 (RUN_TEST_LOOP_ff_i_tg): New macro.
56903 (isgreater_test_data): New variable.
56904 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56905 (isgreaterequal_test_data): New variable.
56906 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56907 (isless_test_data): New variable.
56908 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56909 (islessequal_test_data): New variable.
56910 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56911 (islessgreater_test_data): New variable.
56912 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56913 (isunordered_test_data): New variable.
56914 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56915
56916 2013-05-14 David S. Miller <davem@davemloft.net>
56917
56918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56919
56920 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56921
56922 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56923
56924 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56925 extra_test to int.
56926 (struct test_f_i_data): Change type of max_ulp to int.
56927
56928 * math/libm-test.inc (test_ffI_f1_data): New type.
56929 (RUN_TEST_LOOP_ffI_f1): New macro.
56930 (remquo_test_data): New variable.
56931 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56932
56933 * setjmp/tst-setjmp-fp.c: New file.
56934 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56935 (link-libm): New variable.
56936 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56937
56938 * math/libm-test.inc (struct test_f_i_data): New type.
56939 (RUN_TEST_LOOP_f_i): New macro.
56940 (RUN_TEST_LOOP_f_i_tg): Likewise.
56941 (fpclassify_test_data): New variable.
56942 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56943 (ilogb_test_data): New variable.
56944 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56945
56946 * math/libm-test.inc (scalbln_test): Correct function name in END
56947 call.
56948
56949 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56950 (RUN_TEST_LOOP_fI_f1): New macro.
56951 (frexp_test_data): New variable.
56952 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56953
56954 * math/libm-test.inc (struct test_fF_f1_data): New type.
56955 (RUN_TEST_LOOP_fF_f1): New macro.
56956 (modf_test_data): New variable.
56957 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56958
56959 * math/libm-test.inc (struct test_f_f1_data): New type.
56960 (RUN_TEST_LOOP_f_f1): New macro.
56961 (gamma_test_data): New variable.
56962 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56963 (lgamma_test_data): New variable.
56964 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56965
56966 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56967
56968 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56969 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56970 (main): Comment "tls" pseudo-hwcap.
56971
56972 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56973
56974 * math/libm-test.inc (struct test_fl_f_data): New type.
56975 (RUN_TEST_LOOP_fl_f): New variable.
56976 (scalbln_test_data): New variable.
56977 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56978
56979 * math/libm-test.inc (struct test_fi_f_data): New type.
56980 (RUN_TEST_LOOP_fi_f): New macro.
56981 (ldexp_test_data): New variable.
56982 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56983 (scalbn_test_data): New variable.
56984 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56985
56986 * math/libm-test.inc (struct test_c_f_data): New type.
56987 (RUN_TEST_LOOP_c_f): New macro.
56988 (cabs_test_data): New variable.
56989 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56990 (carg_test_data): New variable.
56991 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56992 (cimag_test_data): New variable.
56993 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56994 (creal_test_data): New variable.
56995 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56996
56997 * math/libm-test.inc (struct test_if_f_data): New type.
56998 (RUN_TEST_LOOP_if_f): New macro.
56999 (jn_test_data): New variable.
57000 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57001 (yn_test_data): New variable.
57002 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57003
57004 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57005
57006 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57007
57008 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57009 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57010
57011 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57012
57013 * benchtests/Makefile (CPPFLAGS-nonlib): Add
57014 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57015 (bench-deps): Add bench-timing.h.
57016 * benchtests-bench-skeleton.c: Include bench-timing.h.
57017 (main): Use TIMING_* macros instead of clock_gettime.
57018 * benchtests/bench-timing.h: New file.
57019
57020 [BZ #14582]
57021 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57022 Renamed from _LIB_VERSION.
57023 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57024
57025 2013-05-12 Joseph Myers <joseph@codesourcery.com>
57026
57027 * math/libm-test.inc (struct test_fff_f_data): New type.
57028 (RUN_TEST_LOOP_fff_f): New macro.
57029 (fma_test_data): New variable.
57030 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57031 (fma_towardzero_test_data): New variable.
57032 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57033 (fma_downward_test_data): New variable.
57034 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57035 (fma_upward_test_data): New variable.
57036 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57037
57038 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57039 (struct test_c_c_data): New type.
57040 (RUN_TEST_LOOP_c_c): New macro.
57041 (cacos_test_data): New variable.
57042 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57043 (cacosh_test_data): New variable.
57044 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57045 (casin_test_data): New variable.
57046 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57047 (casinh_test_data): New variable.
57048 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57049 (catan_test_data): New variable.
57050 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57051 (catanh_test_data): New variable.
57052 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57053 (ccos_test_data): New variable.
57054 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57055 (ccosh_test_data): New variable.
57056 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57057 (cexp_test_data): New variable.
57058 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57059 (clog_test_data): New variable.
57060 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57061 (clog10_test_data): New variable.
57062 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57063 (conj_test_data): New variable.
57064 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57065 (cproj_test_data): New variable.
57066 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57067 (csin_test_data): New variable.
57068 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57069 (csinh_test_data): New variable.
57070 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57071 (csqrt_test_data): New variable.
57072 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57073 (ctan_test_data): New variable.
57074 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57075 (ctan_tonearest_test_data): New variable.
57076 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57077 (ctan_towardzero_test_data): New variable.
57078 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57079 (ctan_downward_test_data): New variable.
57080 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57081 (ctan_upward_test_data): New variable.
57082 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57083 (ctanh_test_data): New variable.
57084 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57085 (ctanh_tonearest_test_data): New variable.
57086 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57087 (ctanh_towardzero_test_data): New variable.
57088 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57089 (ctanh_downward_test_data): New variable.
57090 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57091 (ctanh_upward_test_data): New variable.
57092 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57093 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57094 of BUILD_COMPLEX.
57095
57096 * math/libm-test.inc (struct test_ff_f_data): New type.
57097 (struct test_ff_f_data_nexttoward): Likewise.
57098 (RUN_TEST_LOOP_2_f): New macro.
57099 (RUN_TEST_LOOP_ff_f): Likewise.
57100 (atan2_test_data): New variable.
57101 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57102 (copysign_test_data): New variable.
57103 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57104 (fdim_test_data): New variable.
57105 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57106 (fmax_test_data): New variable.
57107 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57108 (fmin_test_data): New variable.
57109 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57110 (fmod_test_data): New variable.
57111 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57112 (hypot_test_data): New variable.
57113 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57114 (nextafter_test_data): New variable.
57115 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57116 (nexttoward_test_data): New variable.
57117 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57118 (pow_test_data): New variable.
57119 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57120 (pow_tonearest_test_data): New variable.
57121 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57122 (pow_towardzero_test_data): New variable.
57123 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57124 (pow_downward_test_data): New variable.
57125 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57126 (pow_upward_test_data): New variable.
57127 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57128 (remainder_test_data): New variable.
57129 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57130 (scalb_test_data): New variable.
57131 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57132 * sysdeps/i386/fpu/libm-test-ulps: Update.
57133
57134 2013-05-11 Joseph Myers <joseph@codesourcery.com>
57135
57136 * math/libm-test.inc (fma_test): Use max_value instead of local
57137 variable fltmax.
57138 (nextafter_test): Likewise.
57139
57140 * math/libm-test.inc (acos_towardzero_test_data): New variable.
57141 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57142 (acos_downward_test_data): New variable.
57143 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57144 (acos_upward_test_data): New variable.
57145 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57146 (acosh_test_data): New variable.
57147 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57148 (asin_test_data): New variable.
57149 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57150 (asin_tonearest_test_data): New variable.
57151 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57152 (asin_towardzero_test_data): New variable.
57153 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57154 (asin_downward_test_data): New variable.
57155 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57156 (asin_upward_test_data): New variable.
57157 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57158 (asinh_test_data): New variable.
57159 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57160 (atan_test_data): New variable.
57161 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57162 (atanh_test_data): New variable.
57163 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57164 (cbrt_test_data): New variable.
57165 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57166 (ceil_test_data): New variable.
57167 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57168 (cos_test_data): New variable.
57169 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57170 (cos_tonearest_test_data): New variable.
57171 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57172 (cos_towardzero_test_data): New variable.
57173 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57174 (cos_downward_test_data): New variable.
57175 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57176 (cos_upward_test_data): New variable.
57177 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57178 (cosh_test_data): New variable.
57179 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57180 (cosh_tonearest_test_data): New variable.
57181 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57182 (cosh_towardzero_test_data): New variable.
57183 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57184 (cosh_downward_test_data): New variable.
57185 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57186 (cosh_upward_test_data): New variable.
57187 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57188 (erf_test_data): New variable.
57189 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57190 (erfc_test_data): New variable.
57191 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57192 (exp_test_data): New variable.
57193 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57194 (exp_tonearest_test_data): New variable.
57195 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57196 (exp_towardzero_test_data): New variable.
57197 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57198 (exp_downward_test_data): New variable.
57199 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57200 (exp_upward_test_data): New variable.
57201 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57202 (exp10_test_data): New variable.
57203 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57204 (exp2_test_data): New variable.
57205 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57206 (expm1_test_data): New variable.
57207 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57208 (fabs_test_data): New variable.
57209 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57210 (floor_test_data): New variable.
57211 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57212 (j0_test_data): New variable.
57213 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57214 (j1_test_data): New variable.
57215 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57216 (log_test_data): New variable.
57217 (log_test): Run tests with RUN_TEST_LOOP_f_f.
57218 (log10_test_data): New variable.
57219 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57220 (log1p_test_data): New variable.
57221 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57222 (log2_test_data): New variable.
57223 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57224 (logb_test_data): New variable.
57225 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57226 (logb_downward_test_data): New variable.
57227 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57228 (nearbyint_test_data): New variable.
57229 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57230 (rint_test_data): New variable.
57231 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57232 (rint_tonearest_test_data): New variable.
57233 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57234 (rint_towardzero_test_data): New variable.
57235 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57236 (rint_downward_test_data): New variable.
57237 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57238 (rint_upward_test_data): New variable.
57239 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57240 (round_test_data): New variable.
57241 (round_test): Run tests with RUN_TEST_LOOP_f_f.
57242 (sin_test_data): New variable.
57243 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57244 (sin_tonearest_test_data): New variable.
57245 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57246 (sin_towardzero_test_data): New variable.
57247 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57248 (sin_downward_test_data): New variable.
57249 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57250 (sin_upward_test_data): New variable.
57251 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57252 (sinh_test_data): New variable.
57253 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57254 (sinh_tonearest_test_data): New variable.
57255 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57256 (sinh_towardzero_test_data): New variable.
57257 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57258 (sinh_downward_test_data): New variable.
57259 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57260 (sinh_upward_test_data): New variable.
57261 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57262 (sqrt_test_data): New variable.
57263 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57264 (tan_test_data): New variable.
57265 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57266 (tan_tonearest_test_data): New variable.
57267 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57268 (tan_towardzero_test_data): New variable.
57269 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57270 (tan_downward_test_data): New variable.
57271 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57272 (tan_upward_test_data): New variable.
57273 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57274 (tanh_test_data): New variable.
57275 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57276 (tgamma_test_data): New variable.
57277 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57278 (trunc_test_data): New variable.
57279 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57280 (y0_test_data): New variable.
57281 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57282 (y1_test_data): New variable.
57283 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57284 (significand_test_data): New variable.
57285 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57286
57287 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
57288
57289 [BZ #12387]
57290 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57291
57292 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
57293
57294 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57295
57296 2013-05-10 Andreas Jaeger <aj@suse.de>
57297
57298 [BZ #15448]
57299 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57300 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57301
57302 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57303
57304 * math/gen-libm-test.pl (adjust_arg): New function.
57305 (special_functions): Handle generating output in both functions
57306 and arrays.
57307 (parse_args): Likewise.
57308 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
57309 $in_func argument to parse_args.
57310 * math/libm-test.inc (struct test_f_f_data): New type.
57311 (IF_ROUND_INIT_): New macro.
57312 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57313 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57314 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57315 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57316 (ROUND_RESTORE_): Likewise.
57317 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57318 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57319 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57320 (ROUND_RESTORE_FE_UPWARD): Likewise.
57321 (RUN_TEST_LOOP_f_f): New macro.
57322 (acos_test_data): New variable.
57323 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57324 (acos_tonearest_test_data): New variable.
57325 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57326
57327 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57328
57329 * benchtests/bench-skeleton.c (startup): Fix coding style.
57330
57331 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57332
57333 [BZ #6809]
57334 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57335 negative infinity argument.
57336 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57337 negative infinity argument.
57338 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57339 negative infinity argument.
57340 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57341 domain errors.
57342
57343 2013-05-10 Florian Weimer <fweimer@redhat.com>
57344
57345 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57346 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57347 * iconv/iconv_prog.c (main): Likewise.
57348 * locale/programs/charmap-dir.c (charmap_readdir)
57349 (fopen_uncompressed): Likewise.
57350 * locale/programs/locfile.c (siblings_uncached)
57351 (write_locale_data): Use lstat64 instead of lstat.
57352 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57353 stat.
57354
57355 2013-05-10 Andreas Jaeger <aj@suse.de>
57356
57357 [BZ #15395]
57358 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57359 localization.
57360 Include <locale.h>.
57361
57362 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57363
57364 * elf/dl-close.c (_dl_close_worker): Add comments.
57365
57366 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57367
57368 [BZ #15359]
57369 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57370 high part of pi/2.
57371 (__ieee754_rem_pio2l): Update comments.
57372
57373 [BZ #15429]
57374 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57375 high part of pi/2.
57376 (__ieee754_rem_pio2l): Update comments.
57377
57378 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57379 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57380
57381 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57382 M_PI_4l.
57383
57384 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57385 (M_PI_34_LOG10El): Likewise.
57386 (M_PI2_LOG10El): Likewise.
57387 (M_PI4_LOG10El): Likewise.
57388 (M_PI_LOG10El): Likewise.
57389
57390 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57391
57392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57393
57394 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57395
57396 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57397 (MINUS_ZERO_INIT): Likewise.
57398 (PLUS_INFTY_INIT): Likewise.
57399 (MINUS_INFTY_INIT): Likewise.
57400 (QNAN_VALUE_INIT): Likewise.
57401 (MAX_VALUE_INIT): Likewise.
57402 (MIN_VALUE_INIT): Likewise.
57403 (MIN_SUBNORM_VALUE_INIT): Likewise.
57404 (plus_zero): Initialize with PLUS_ZERO_INIT.
57405 (minus_zero): Initialize with MINUS_ZERO_INIT.
57406 (plus_infty): Initialize with PLUS_INFTY_INIT.
57407 (minus_infty): Initialize with MINUS_INFTY_INIT.
57408 (qnan_value): Initialize with QNAN_VALUE_INIT.
57409 (max_value): Initialize with MAX_VALUE_INIT.
57410 (min_value): Initialize with MIN_VALUE_INIT.
57411 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57412
57413 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57414 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57415 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57416 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57417
57418 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57419 (RUN_TEST_2_f): Likewise.
57420 (RUN_TEST_ff_f): Likewise.
57421 (RUN_TEST_fi_f): Likewise.
57422 (RUN_TEST_fl_f): Likewise.
57423 (RUN_TEST_fff_f): Likewise.
57424 (RUN_TEST_c_f): Likewise.
57425 (RUN_TEST_f_f1): Likewise.
57426 (RUN_TEST_fF_f1): Likewise.
57427 (RUN_TEST_fI_f1): Likewise.
57428 (RUN_TEST_ffI_f1): Likewise.
57429 (RUN_TEST_c_c): Likewise.
57430 (RUN_TEST_cc_c): Likewise.
57431 (RUN_TEST_f_i): Likewise.
57432 (RUN_TEST_f_i_tg): Likewise.
57433 (RUN_TEST_ff_i_tg): Likewise.
57434 (RUN_TEST_f_b): Likewise.
57435 (RUN_TEST_f_b_tg): Likewise.
57436 (RUN_TEST_f_l): Likewise.
57437 (RUN_TEST_f_L): Likewise.
57438 (RUN_TEST_sincos): Likewise.
57439 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57440 whether to show exceptions. Do not include ");\n" in return
57441 value.
57442 (special_functions): Output call to RUN_TEST_sincos instead of
57443 check_float calls. Update calls to new_test.
57444 (parse_args): Output call to single RUN_TEST_* macro instead of
57445 check_* calls and other assignments. Update calls to new_test.
57446
57447 [BZ #2546]
57448 [BZ #2560]
57449 [BZ #5159]
57450 [BZ #15426]
57451 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57452 input to result for tgamma overflow.
57453 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57454 (gamma_coeff): New variable.
57455 (NCOEFF): New macro.
57456 (gamma_positive): New function.
57457 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57458 underflow here. Use gamma_positive instead of exp (lgamma) for
57459 other arguments.
57460 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57461 (gamma_coeff): New variable.
57462 (NCOEFF): New macro.
57463 (gammaf_positive): New function.
57464 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57465 underflow here. Use gamma_positive instead of exp (lgamma) for
57466 other arguments.
57467 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57468 (gamma_coeff): New variable.
57469 (NCOEFF): New macro.
57470 (gammal_positive): New function.
57471 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57472 underflow here. Use gamma_positive instead of exp (lgamma) for
57473 other arguments.
57474 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57475 (gamma_coeff): New variable.
57476 (NCOEFF): New macro.
57477 (gammal_positive): New function.
57478 (__ieee754_gammal_r): Handle positive infinity, overflow and
57479 underflow here. Handle NaN the same as positive infinity. Remove
57480 check x < 0xffffffff for negative integers. Use gamma_positive
57481 instead of exp (lgamma) for other arguments.
57482 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57483 (gamma_coeff): New variable.
57484 (NCOEFF): New macro.
57485 (gammal_positive): New function.
57486 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57487 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57488 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57489 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57490 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57491 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57492 * sysdeps/generic/math_private.h (__gamma_productf): New
57493 prototype.
57494 (__gamma_product): Likewise.
57495 (__gamma_productl): Likewise.
57496 * math/Makefile (libm-calls): Add gamma_product.
57497 * math/libm-test.inc (tgamma_test): Add more tests.
57498 * sysdeps/i386/fpu/libm-test-ulps: Update.
57499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57500
57501 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57502
57503 * benchtests/bench-skeleton.c (main): Preheat CPU.
57504
57505 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57506
57507 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57508
57509 2013-05-07 Roland McGrath <roland@hack.frob.com>
57510
57511 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57512 and _dl_skip_args_internal.
57513
57514 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57515
57516 * manual/message.texi (Message Translation): Talk about users.
57517 Message to key mapping impacts design.
57518
57519 2013-05-06 Roland McGrath <roland@hack.frob.com>
57520
57521 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57522
57523 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57524
57525 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57526 * sysdeps/wordsize-64/glob64.c: ... here.
57527
57528 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57529 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57530 New macros.
57531
57532 * debug/getlogin_r_chk.c: Moved to ...
57533 * login/getlogin_r_chk.c: ... here.
57534 * debug/Makefile (routines): Move getlogin_r_chk to ...
57535 * login/Makefile (routines): ... here.
57536 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57537 * login/Versions (libc: GLIBC_2.4): ... here.
57538
57539 * io/poll.c (__poll): Renamed from poll.
57540 Add libc_hidden_def.
57541 (poll): Define as weak alias.
57542
57543 * debug/ptsname_r_chk.c: Moved to ...
57544 * login/ptsname_r_chk.c: ... here.
57545 * debug/Makefile (routines): Move ptsname_r_chk to ...
57546 * login/Makefile (routines): ... here.
57547 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57548 * login/Versions (libc: GLIBC_2.4): ... here.
57549
57550 * posix/getlogin.c: Moved to ...
57551 * login/getlogin.c: ... here.
57552 * posix/getlogin_r.c: Moved to ...
57553 * login/getlogin_r.c: ... here.
57554 * posix/getlogin_r.c: Moved to ...
57555 * login/getlogin_r.c: ... here.
57556 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57557 * login/Makefile (routines): ... here.
57558 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57559 * login/Versions (libc: GLIBC_2.0): ... here.
57560
57561 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57562 (setrlimit): Define as weak alias.
57563
57564 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57565 Call __ names for open, ftruncate, and close.
57566 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57567 (truncate): Define as weak alias.
57568
57569 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57570
57571 * math/gen-libm-test.pl (parse_args): Initialize x before each
57572 test of frexp, modf and remquo.
57573
57574 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57575 test signgam value.
57576
57577 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57578
57579 [BZ #15418]
57580 [BZ #15419]
57581 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57582 internal tests.
57583 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57584
57585 2013-05-06 Roland McGrath <roland@hack.frob.com>
57586
57587 * elf/dl-writev.h: New file.
57588 * elf/dl-misc.c: Include it.
57589 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57590 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57591
57592 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57593
57594 * math/libm-test.inc (noXFails): Remove variable.
57595 (noXPasses): Likewise.
57596 (BUILD_COMPLEX_INT): Remove macro.
57597 (print_screen): Remove xfail argument.
57598 (print_screen_max_error): Likewise.
57599 (update_stats): Likewise.
57600 (print_max_error): Likewise. Update calls to other affected
57601 functions.
57602 (print_complex_max_error): Likewise.
57603 (test_single_exception): Update calls to print_screen.
57604 (test_single_errno): Likewise.
57605 (check_float_internal): Remove xfail argument. Update calls to
57606 other affected functions.
57607 (check_float): Likewise.
57608 (check_complex): Likewise.
57609 (check_int): Likewise.
57610 (check_long): Likewise.
57611 (check_bool): Likewise.
57612 (check_longlong): Likewise.
57613 (main): Don't print noXFails and noXPasses.
57614 * math/gen-libm-test.pl (top level): Don't mention expected
57615 failure handling in comment.
57616 (new_test): Don't handle expected failures.
57617 (parse_args): Don't mention expected failure handling in comment.
57618 (generate_testfile): Don't handle expected failures.
57619 (parse_ulps): Likewise.
57620 (print_ulps_file): Likewise.
57621 (get_failure): Remove function.
57622 (output_test): Don't handle expected failures.
57623 * make/README.libm-test: Don't mention expected failure handling.
57624
57625 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57626 (minus_zero): Likewise.
57627 (plus_infty): Likewise.
57628 (minus_infty): Likewise.
57629 (qnan_value): Likewise.
57630 (max_value): Likewise.
57631 (min_value): Likewise.
57632 (min_subnorm_value): Likewise.
57633 (initialize): Do not initialize those variables dynamically.
57634
57635 2013-05-03 Roland McGrath <roland@hack.frob.com>
57636
57637 * io/open.c (__open_2): Moved to ...
57638 * io/open_2.c: ... this new file.
57639 * io/open64.c (__open64_2): Moved to ...
57640 * io/open64_2.c: ... this new file.
57641 * io/openat.c (__openat_2): Moved to ...
57642 * io/openat_2.c: ... this new file.
57643 * io/openat64.c (__openat64_2): Moved to ...
57644 * io/openat64_2.c: ... this new file.
57645 * io/Makefile (routines): Add them.
57646 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57647 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57648 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57649 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57650 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57651 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57652 (__openat64): Add hidden_ver.
57653 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57654 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57655
57656 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57657 Separately conditionalize setting of GLRO(dl_sysinfo) so
57658 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57659 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57660
57661 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57662
57663 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57665 definition.
57666 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57667 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57668 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57669 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57670 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57671
57672 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57673
57674 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57675 test signgam value.
57676
57677 * math/libm-test.inc (hypot_test): Do not use
57678 IGNORE_ZERO_INF_SIGN.
57679
57680 2013-05-03 Andreas Jaeger <aj@suse.de>
57681
57682 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57683 Linux 3.9.
57684 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57685 (PF_MAX): Adjust for VSOCK change.
57686
57687 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57688
57689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57690
57691 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57692
57693 [BZ #15264]
57694 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57695 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57696 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57697
57698 2013-05-02 David S. Miller <davem@davemloft.net>
57699
57700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57701
57702 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
57703
57704 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57705
57706 2013-05-01 Roland McGrath <roland@hack.frob.com>
57707
57708 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57709
57710 2013-05-01 Richard Smith <richard@metafoo.co.uk>
57711
57712 [BZ #14952]
57713 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57714 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57715 Use __attribute__ ((__gnu_inline__)).
57716 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57717 Don't use __attribute__ ((__gnu_inline__)).
57718
57719 2013-05-01 Joseph Myers <joseph@codesourcery.com>
57720
57721 [BZ #15423]
57722 * math/s_catan.c (__catan): Handle small real or imaginary part of
57723 input specially to avoid spurious underflow.
57724 * math/s_catanf.c (__catanf): Likewise.
57725 * math/s_catanh.c (__catanh): Likewise.
57726 * math/s_catanhf.c (__catanhf): Likewise.
57727 * math/s_catanhl.c (__catanhl): Likewise.
57728 * math/s_catanl.c (__catanl): Likewise.
57729 * math/libm-test.inc (catan_test): Add more tests.
57730 (catanh_test): Likewise.
57731 * sysdeps/i386/fpu/libm-test-ulps: Update.
57732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57733
57734 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57735
57736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57737
57738 2013-04-30 Joseph Myers <joseph@codesourcery.com>
57739
57740 [BZ #15416]
57741 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57742 accurately for denominator in atan2.
57743 * math/s_catanf.c (__catanf): Likewise.
57744 * math/s_catanh.c (__catanh): Likewise.
57745 * math/s_catanhf.c (__catanhf): Likewise.
57746 * math/s_catanhl.c (__catanhl): Likewise.
57747 * math/s_catanl.c (__catanl): Likewise.
57748 * math/libm-test.inc (catan_test): Add more tests.
57749 (catanh_test): Likewise.
57750 * sysdeps/i386/fpu/libm-test-ulps: Update.
57751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57752
57753 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57754
57755 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57756
57757 * benchtests/Makefile (bench): Remove slow benchmarks.
57758 * benchtests/atan-inputs: Add slow benchmark inputs.
57759 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57760 (BENCH_FUNC): Accept variant offset.
57761 (VARIANT): Define.
57762 * benchtests/bench-skeleton.c (main): Run benchmark for each
57763 variant.
57764 * benchtests/cos-inputs: Add slow benchmark inputs.
57765 * benchtests/exp-inputs: Likewise.
57766 * benchtests/pow-inputs: Likewise.
57767 * benchtests/sin-inputs: Likewise.
57768 * benchtests/slowatan-inputs: Remove.
57769 * benchtests/slowatan.c: Remove.
57770 * benchtests/slowcos-inputs: Remove.
57771 * benchtests/slowcos.c: Remove.
57772 * benchtests/slowexp-inputs: Remove.
57773 * benchtests/slowexp.c: Remove.
57774 * benchtests/slowpow-inputs: Remove.
57775 * benchtests/slowpow.c: Remove.
57776 * benchtests/slowsin-inputs: Remove.
57777 * benchtests/slowsin.c: Remove.
57778 * benchtests/slowtan-inputs: Remove.
57779 * benchtests/slowtan.c: Remove.
57780 * benchtests/tan-inputs: Add slow benchmark inputs.
57781 * scripts/bench.pl: Parse comments and directives.
57782
57783 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57784 in CPPFLAGS.
57785 ($(objpfx)bench-%.c): Remove *-ITER.
57786 * benchtests/bench-modf.c: Remove definition of ITER.
57787 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57788 (main): Loop for DURATION seconds instead of fixed number of
57789 iterations.
57790 * scripts/bench.pl: Don't expect iterations in parameters.
57791
57792 2013-04-29 Roland McGrath <roland@hack.frob.com>
57793
57794 * io/fchdir.c (__fchdir): Renamed from fchdir.
57795 (fchdir): Define as weak alias.
57796
57797 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57798
57799 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57800 (ERRNO_EDOM): Likewise.
57801 (ERRNO_ERANGE): Likewise.
57802 (noErrnoTests): New variable.
57803 (init_max_error): Set errno to 0.
57804 (test_single_errno): New function.
57805 (test_errno): Likewise.
57806 (check_float_internal): Call test_errno. Set errno to 0.
57807 (check_complex): Refer to errno tests in comment.
57808 (check_int): Call test_errno. Set errno to 0.
57809 (check_long): Likewise.
57810 (check_bool): Likewise.
57811 (check_longlong): Likewise.
57812 (cos_test): Use ERRNO_* flags for errno tests instead of
57813 check_int.
57814 (expm1_test): Likewise.
57815 (fmod_test): Likewise.
57816 (ilogb_test): Likewise.
57817 (lgamma_test): Likewise.
57818 (pow_test): Likewise.
57819 (remainder_test): Likewise.
57820 (sin_test): Likewise.
57821 (tan_test): Likewise.
57822 (yn_test): Likewise.
57823 (initialize): Set errno to 0.
57824 (main): Print number of errno tests.
57825 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57826
57827 2013-04-29 Andreas Jaeger <aj@suse.de>
57828
57829 [BZ #15084]
57830 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57831 and RES_USEVC.
57832
57833 [BZ #15085]
57834 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57835 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57836 unimplemented.
57837
57838 [BZ #15380]
57839 * stdlib/random.c (__initstate): Return NULL if
57840 __initstate fails.
57841
57842 [BZ #15086]
57843 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57844 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57845 RES_SNGLKUPREOP.
57846
57847 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57848
57849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57850
57851 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57852
57853 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57854 of individual tests.
57855 (casin_test): Likewise.
57856 (casinh_test): Likewise.
57857
57858 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57859
57860 [BZ #15409]
57861 * math/s_catan.c (__catan): Handle arguments with large real or
57862 imaginary part separately without squaring.
57863 * math/s_catanf.c (__catanf): Likewise.
57864 * math/s_catanh.c (__catanh): Likewise.
57865 * math/s_catanhf.c (__catanhf): Likewise.
57866 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57867 and redefine.
57868 (__catanhl): Handle arguments with large real or imaginary part
57869 separately without squaring.
57870 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57871 and redefine.
57872 (__catanl): Handle arguments with large real or imaginary part
57873 separately without squaring.
57874 * math/libm-test.inc (catan_test): Add more tests.
57875 (catanh_test): Likewise.
57876 * sysdeps/i386/fpu/libm-test-ulps: Update.
57877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57878
57879 2013-04-27 Andreas Jaeger <aj@suse.de>
57880
57881 [BZ #15007]
57882 * stdlib/stdlib.h: Update guards for qecvt.
57883 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57884 <stdlib.h>.
57885
57886 2013-04-27 Allan McRae <allan@archlinux.org>
57887
57888 * sysdeps/i386/fpu/libm-test-ulps: Update.
57889
57890 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57891
57892 [BZ #15406]
57893 * math/s_catan.c: Include <float.h>.
57894 (__catan): Ensure underflow exception occurs for underflowed
57895 result.
57896 * math/s_catanf.c: Include <float.h>.
57897 (__catanf): Ensure underflow exception occurs for underflowed
57898 result.
57899 * math/s_catanh.c: Include <float.h>.
57900 (__catanh): Ensure underflow exception occurs for underflowed
57901 result.
57902 * math/s_catanhf.c: Include <float.h>.
57903 (__catanhf): Ensure underflow exception occurs for underflowed
57904 result.
57905 * math/s_catanhl.c: Include <float.h>.
57906 (__catanhl): Ensure underflow exception occurs for underflowed
57907 result.
57908 * math/s_catanl.c: Include <float.h>.
57909 (__catanl): Ensure underflow exception occurs for underflowed
57910 result.
57911 * math/libm-test.inc (catan_test): Add more tests.
57912 (catanh_test): Likewise.
57913
57914 [BZ #15405]
57915 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57916 underflowed result.
57917 * math/s_ccoshf.c (__ccoshf): Likewise.
57918 * math/s_ccoshl.c (__ccoshl): Likewise.
57919 * math/s_csin.c (__csin): Likewise.
57920 * math/s_csinf.c (__csinf): Likewise.
57921 * math/s_csinh.c (__csinh): Likewise.
57922 * math/s_csinhf.c (__csinhf): Likewise.
57923 * math/s_csinhl.c (__csinhl): Likewise.
57924 * math/s_csinl.c (__csinl): Likewise.
57925 * math/libm-test.inc (ccos_test): Add more tests.
57926 (ccosh_test): Likewise.
57927 (csin_test): Likewise.
57928 (csinh_test): Likewise.
57929
57930 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57931
57932 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57933 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57934 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57935 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57936 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57937 powerpc/power5+/fpu folders.
57938 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57939
57940
57941 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57942
57943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57944
57945 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57946
57947 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57948 additions to variable.
57949 [$(config-machine) = x86_64] (modules-names): Likewise.
57950 ($(objpfx)tst-audit3): Remove dependency.
57951 ($(objpfx)tst-audit3.out): Likewise.
57952 ($(objpfx)tst-audit4): Likewise.
57953 ($(objpfx)tst-audit4.out): Likewise.
57954 ($(objpfx)tst-audit5): Likewise.
57955 ($(objpfx)tst-audit5.out): Likewise.
57956 ($(objpfx)tst-audit6): Likewise.
57957 ($(objpfx)tst-audit6.out): Likewise.
57958 ($(objpfx)tst-audit7): Likewise.
57959 ($(objpfx)tst-audit7.out): Likewise.
57960 (tst-audit3-ENV): Remove variable.
57961 (tst-audit4-ENV): Likewise.
57962 (tst-audit5-ENV): Likewise.
57963 (tst-audit6-ENV): Likewise.
57964 (tst-audit7-ENV): Likewise.
57965 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57966 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57967 addition to variable.
57968 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57969 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57970 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57973 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57974 tst-audit3, tst-audit4 and tst-audit5.
57975 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57976 tst-audit6 and tst-audit7.
57977 [$(subdir) = elf] (modules-names): Add audit modules for those
57978 tests.
57979 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57980 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57981 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57982 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57983 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57984 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57985 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57986 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57987 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57988 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57989 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57990 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57991 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57992 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57993 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57994 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57995 Likewise.
57996 [$(subdir) = elf && $(config-cflags-avx) = yes]
57997 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57998 [$(subdir) = elf && $(config-cflags-avx) = yes]
57999 (CFLAGS-tst-auditmod4a.c): Likewise.
58000 [$(subdir) = elf && $(config-cflags-avx) = yes]
58001 (CFLAGS-tst-auditmod4b.c): Likewise.
58002 [$(subdir) = elf && $(config-cflags-avx) = yes]
58003 (CFLAGS-tst-auditmod6b.c): Likewise.
58004 [$(subdir) = elf && $(config-cflags-avx) = yes]
58005 (CFLAGS-tst-auditmod6c.c): Likewise.
58006 [$(subdir) = elf && $(config-cflags-avx) = yes]
58007 (CFLAGS-tst-auditmod7b.c): Likewise.
58008 * elf/tst-audit3.c: Move to ...
58009 * sysdeps/x86_64/tst-audit3.c: ... here.
58010 * elf/tst-audit4.c: Move to ...
58011 * sysdeps/x86_64/tst-audit4.c: ... here.
58012 * elf/tst-audit5.c: Move to ...
58013 * sysdeps/x86_64/tst-audit5.c: ... here.
58014 * elf/tst-audit6.c: Move to ...
58015 * sysdeps/x86_64/tst-audit6.c: ... here.
58016 * elf/tst-audit7.c: Move to ...
58017 * sysdeps/x86_64/tst-audit7.c: ... here.
58018 * elf/tst-auditmod3a.c: Move to ...
58019 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58020 * elf/tst-auditmod3b.c: Move to ...
58021 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58022 * elf/tst-auditmod4a.c: Move to ...
58023 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58024 * elf/tst-auditmod4b.c: Move to ...
58025 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58026 * elf/tst-auditmod5a.c: Move to ...
58027 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58028 * elf/tst-auditmod5b.c: Move to ...
58029 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58030 * elf/tst-auditmod6a.c: Move to ...
58031 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58032 * elf/tst-auditmod6b.c: Move to ...
58033 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58034 * elf/tst-auditmod6c.c: Move to ...
58035 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58036 * elf/tst-auditmod7a.c: Move to ...
58037 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58038 * elf/tst-auditmod7b.c: Move to ...
58039 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58040
58041 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
58042
58043 [BZ #15366]
58044 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58045 define unconditionally.
58046 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58047 define unconditionally.
58048 (INT8_C, INT16_C, etc.): Likewise.
58049
58050 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
58051
58052 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58053 __ehdr_start with hidden visibility.
58054
58055 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58056
58057 2013-04-24 Carlos O'Donell <carlos@redhat.com>
58058
58059 * math/libm-test.inc (cos_test): Use accurate hex constants.
58060 (sincost_test): Likewise.
58061
58062 2013-04-24 Joseph Myers <joseph@codesourcery.com>
58063
58064 * math/libm-test.inc (catan_test): Add more tests.
58065 (catanh_test): Likewise.
58066
58067 * math/s_catanf.c (__catanf): Use suffixed floating-point
58068 constants.
58069 * math/s_catanhf.c (__catanhf): Likewise.
58070 * math/s_catanhl.c (__catanhl): Likewise.
58071 * math/s_catanl.c (__catanl): Likewise.
58072
58073 [BZ #15394]
58074 * math/s_catan.c (__catan): Calculate imaginary part of result
58075 with log1p not log unless computing log of number close to 0.
58076 * math/s_catanf.c (__catanf): Likewise.
58077 * math/s_catanl.c (__catanl): Likewise.
58078 * math/s_catanh.c (__catanh): Calculate real part of result with
58079 log1p not log unless computing log of number close to 0.
58080 * math/s_catanhf.c (__catanhf): Likewise.
58081 * math/s_catanhl.c (__catanhl): Likewise.
58082 * math/libm-test.inc (catan_test): Add more tests.
58083 (catanh_test): Likewise.
58084 * sysdeps/i386/fpu/libm-test-ulps: Update.
58085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58086
58087 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58088
58089 * benchtests/Makefile: Mention files in which fast and slow
58090 paths of math functions are implemented.
58091
58092 2013-04-23 Roland McGrath <roland@hack.frob.com>
58093
58094 * sysdeps/posix/timespec_get.c: New file.
58095
58096 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58097
58098 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58099 POWER.
58100 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58101 for POWER.
58102 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58103 powerpc/power5/fpu folders.
58104 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58105 * benchtests/Makefile: Add modf testcase.
58106 * benchtests/bench-modf.c: New file: Benchmark test for mo
58107
58108 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
58109
58110 [BZ #14888]
58111 * time/Makefile (tests): Add tst-strptime-whitespace.
58112 * time/strptime_l.c (get_number): Use ISSPACE.
58113 (__strptime_internal): Likewise.
58114 * time/tst-strptime-whitespace.c: New test case.
58115
58116 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
58117
58118 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58119 member.
58120 (_nss_files_init): Set it here.
58121
58122 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
58123
58124 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58125 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58126 unsigned.
58127
58128 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
58129
58130 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58131
58132 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
58133
58134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58135 size just once.
58136
58137 2013-04-21 David S. Miller <davem@davemloft.net>
58138
58139 * po/ru.po: Update Russion translation from translation project.
58140
58141 2013-04-17 Adam Conrad <adconrad@0c3.net>
58142
58143 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58144 and setfsgid.
58145
58146 2013-04-17 Carlos O'Donell <carlos@redhat.com>
58147
58148 * configure.in: Remove i386 configure warning. Remove i386 case.
58149 * configure: Regenerate.
58150 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58151 Add example to error message.
58152 * sysdeps/i386/configure: Regenerate.
58153
58154 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
58155
58156 * benchtests/Makefile (bench): Add cos, tan, slowcos and
58157 slowtan.
58158 * benchtests/cos-inputs: New file.
58159 * benchtests/slowcos-inputs: New file.
58160 * benchtests/slowcos.c: New file.
58161 * benchtests/slowtan-inputs: New file.
58162 * benchtests/slowtan.c: New file.
58163 * benchtests/tan-inputs: New file.
58164
58165 2013-04-16 Roland McGrath <roland@hack.frob.com>
58166
58167 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58168 considered kosher.
58169
58170 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58171
58172 * benchtests/Makefile: Include cppflags-iterator.mk to add
58173 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58174
58175 * Makefile.in (bench-clean): New target.
58176 * benchtests/Makefile (bench-clean): Likewise.
58177
58178 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
58179
58180 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58181
58182 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
58183
58184 * stdio-common/tstdiomisc.c: Fix coding-style violation.
58185
58186 2013-04-15 Andreas Schwab <schwab@suse.de>
58187
58188 * nscd/grpcache.c (cache_addgr): Properly check for short write.
58189 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58190 * nscd/pwdcache.c (cache_addpw): Likewise.
58191 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
58192 more than recsize.
58193
58194 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58195
58196 * benchtests/Makefile (bench): Write all output to
58197 bench-out.tmp together.
58198
58199 2013-04-15 Andreas Schwab <schwab@suse.de>
58200
58201 * nscd/nscd.c (main): Don't fork again after closing files.
58202
58203 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58204
58205 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58206
58207 * benchtests/Rules (bench-deps): Collect dependencies into a
58208 single variable. Add Makefile to dependencies.
58209 ($(objpfx)bench-%.c): Depend on bench-deps.
58210
58211 2013-04-12 Roland McGrath <roland@hack.frob.com>
58212 Xavier Roche <roche+kml2@exalead.com>
58213
58214 [BZ #15361]
58215 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58216 just that it's a file descriptor.
58217 * manual/llio.texi (Synchronizing AIO Operations): Update description
58218 for EBADF error from aio_fsync.
58219
58220 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58221
58222 * Rules (bench): Move target definition...
58223 * benchtests/Makefile: ... here.
58224
58225 2013-04-11 Carlos O'Donell <carlos@redhat.com>
58226
58227 * math/libm-test.inc (cos_test): Fix PI/2 test.
58228 (sincos_test): Likewise.
58229 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58230 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58231
58232 2013-04-11 Andreas Schwab <schwab@suse.de>
58233
58234 [BZ #13988]
58235 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58236 accept exponent character only when digits were seen.
58237 * stdio-common/Makefile (tests): Add bug26.
58238 * stdio-common/bug26.c: New file.
58239
58240 [BZ #14293]
58241 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58242 non-freeable.
58243
58244 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58245
58246 * Makeconfig (rtld-prefix): Define built linker prefix.
58247 * Rules (run-bench): Use it.
58248 * math/Makefile (run-regen-ulps): Likewise.
58249
58250 * Rules (bench): Remove eval.
58251
58252 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58253 Roland McGrath <roland@hack.frob.com>
58254 Ondrej Bilka <neleai@seznam.cz>
58255
58256 [BZ #15346]
58257 * time/getdate.c: Include ctype.h and alloca.h.
58258 (__getdate_r): Trim leading and trailing spaces of input.
58259 * time/tst-getdate.c (tests): Add tests with leading and
58260 trailing spaces.
58261
58262 2013-04-08 Roland McGrath <roland@hack.frob.com>
58263
58264 [BZ #14280]
58265 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58266 when computing value.
58267
58268 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58269
58270 * math/README.libm-test (How can I generate "libm-test-ulps"?):
58271 Use testrun.sh to run libm tests.
58272
58273 [BZ #15309]
58274 * elf/dl-open.c (dl_open_worker): memset all of seen array.
58275
58276 2013-04-06 Marko Myllynen <myllynen@redhat.com>
58277
58278 [BZ #15264]
58279 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58280
58281 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58282
58283 * Makefile.in (regen-ulps): New target.
58284 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58285 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58286 [ifneq (no,$(PERL)] (regen-ulps): New target.
58287 [ifeq (no,$(PERL)] (regen-ulps): New target.
58288 * math/libm-test.inc (ulps_file_name): Define.
58289 (output_dir): New variable.
58290 (options): Add "output-dir" option.
58291 (parse_opt): Handle 'o' case.
58292 (main): If output_dir is non-NULL use it as a prefix
58293 otherwise use "".
58294 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58295
58296 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58297
58298 [BZ #10060, #10062]
58299 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58300 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58301 fail configure if __sync_val_compare_and_swap is not inlined.
58302 * sysdeps/i386/configure: Regenerate.
58303 * configure.in: Build for i686 when configured for i386.
58304 * configure: Regenerate.
58305 * README: Remove i386 reference.
58306
58307 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58308
58309 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58311
58312 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58313
58314 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58315 (lmsnanval): New variables.
58316 (F): Add conversion tests.
58317 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58318 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58319
58320 * stdio-common/tstdiomisc.c (F): Properly collect individual
58321 tests' results.
58322
58323 [BZ #14686, #15336]
58324 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58325 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58326 Instead, use input NaN values or generate a qNaN by arithmetic
58327 operation. Also fix bugs to comply with the standard.
58328 * math/libm-test.inc (remainder_test): Add more tests.
58329
58330 [BZ #15335, #15342]
58331 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58333 input NaN values or generate a qNaN by arithmetic operation.
58334
58335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58336 unreachable code.
58337
58338 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58339 definitions.
58340
58341 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58342
58343 [BZ #14478]
58344 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58345 underflowed result.
58346 * math/s_cexpf.c (__cexpf): Likewise.
58347 * math/s_cexpl.c (__cexpl): Likewise.
58348 * math/libm-test.inc (cexp_test): Add more tests.
58349
58350 2013-04-03 Andreas Schwab <schwab@suse.de>
58351
58352 [BZ #15330]
58353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58354 order arrays from heap if bigger than alloca cutoff.
58355
58356 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58357
58358 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58359 (SNAN_TESTS_double): Refer to GCC PR56831.
58360 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58361 GCC PR56828.
58362
58363 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58364
58365 * Rules (bench): Move bench.out after the run is complete.
58366
58367 * Rules (bench): Echo currently running benchmark.
58368
58369 * benchtests/Makefile (bench): Add atan and slowatan.
58370 * benchtests/atan-inputs: New file.
58371 * benchtests/slowatan-inputs: New file.
58372 * benchtests/slowatan.c: New file.
58373
58374 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58375 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58376 its value.
58377
58378 [BZ #15305]
58379 * sysdeps/unix/sysv/linux/kernel-features.h
58380 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58381 __ASSUME_XFS_RESTRICTED_CHOWN.
58382 * sysdeps/unix/sysv/linux/pathconf.c
58383 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58384 Save and restore errno.
58385
58386 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58387
58388 [BZ #15327]
58389 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58390 arguments using __kernel_casinh.
58391 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58392 arguments using __kernel_casinhf.
58393 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58394 arguments using __kernel_casinhl.
58395 * math/libm-test.inc (cacosh_test): Add more tests.
58396 * sysdeps/i386/fpu/libm-test-ulps: Update.
58397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58398
58399 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58400
58401 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58403
58404 * bench/Makefile (bench): Add sin and slowsin.
58405 * benchtests/sin-inputs: New file.
58406 * benchtests/slowsin-inputs: New file.
58407 * benchtests/slowsin.c: New file.
58408
58409 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58410 (bench): Add slowexp and slowpow.
58411 (exp-ITER): Increase iterations.
58412 (pow-ITER): Likewise.
58413 * benchtests/exp-inputs: Change input.
58414 * benchtests/pow-inputs: Likewise.
58415 * benchtests/slowexp-inputs: New file.
58416 * benchtests/slowexp.c: New file.
58417 * benchtests/slowpow-inputs: New file.
58418 * benchtests/slowpow.c: New file.
58419
58420 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58421
58422 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58423 instructions.
58424 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58425 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58426 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58427 * benchtests/Makefile: Add rint benchtest.
58428 * benchtests/rint-inputs: Input for rint benchtest.
58429
58430 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58431
58432 * Versions.def (libm): Add GLIBC_2.18.
58433 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58434 hidden libm prototypes.
58435 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58436 * math/Makefile (libm-calls): Add s_issignaling.
58437 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58438 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58439 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58440 declaration.
58441 * math/math.h [__USE_GNU] (issignaling): New macro.
58442 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58443 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58444 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58445 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58446 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58447 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58448 * manual/arith.texi (issignaling): New section.
58449 * manual/libm-err-tab.pl (@all_functions): Update comment.
58450 * math/gen-libm-test.pl (parse_args): Apply special handling for
58451 issignaling.
58452 * math/libm-test.inc (print_float, issignaling_test): New
58453 functions.
58454 (check_float_internal): Add issignaling checks.
58455 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58456 default definition.
58457 * sysdeps/powerpc/math-tests.h: New file.
58458 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58459 tests.
58460 * math/test-snan.c (TEST_FUNC): Likewise.
58461
58462 2013-03-30 David S. Miller <davem@davemloft.net>
58463
58464 * po/de.po: Update from translation team.
58465
58466 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58467
58468 [BZ #10357]
58469 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58470 imaginary part less than 1.0 and real part less than 0.5
58471 specially.
58472 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58473 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58474 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58475 (cacos_test): Add more tests.
58476 (casin_test): Likewise.
58477 (casinh_test): Likewise.
58478 * sysdeps/i386/fpu/libm-test-ulps: Update.
58479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58480
58481 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58482
58483 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58484 ONE with its value.
58485
58486 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58487 (__pow_mp): Replace ONE and MONE with their values.
58488 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58491 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58492 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58493 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58494
58495 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58496
58497 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58498 (__pow_mp): Replace ZERO and MZERO with their values.
58499 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58501 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58503 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58504 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58505 (__sqr): Likewise.
58506
58507 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58508
58509 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58510
58511 2013-03-28 Roland McGrath <roland@hack.frob.com>
58512
58513 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58514 Declare with __attribute__ ((weak)).
58515 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58516 Call __call_tls_dtors only if it's not NULL.
58517
58518 2013-03-28 Roland McGrath <roland@hack.frob.com>
58519
58520 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58521 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58522 magic __ehdr_start linker symbol if it's defined.
58523 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58524 them up here if it was already done.
58525
58526 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58527 (_dl_aux_init): Use const in cast when setting it.
58528 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58529 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58530 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58531
58532 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58533 Declare them here.
58534 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58535 * csu/libc-tls.c: Nor here.
58536 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58537
58538 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58539 (__libc_message): Never call vsyslog.
58540
58541 2013-03-28 Alan Modra <amodra@gmail.com>
58542
58543 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58544 Define as empty.
58545 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58546 Likewise.
58547
58548 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58549
58550 [BZ #15214]
58551 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58552 underflow.
58553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58554
58555 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58556
58557 [BZ #15304]
58558 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58559 Don't add gid passed as argument.
58560
58561 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58562
58563 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58564
58565 [BZ #15307]
58566 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58567 imaginary part between 1.0 and 1.5 and real part less than 0.5
58568 specially.
58569 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58570 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58571 * math/libm-test.inc (cacos_test): Add more tests.
58572 (casin_test): Likewise.
58573 (casinh_test): Likewise.
58574 * sysdeps/i386/fpu/libm-test-ulps: Update.
58575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58576
58577 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58578
58579 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58580 constants.
58581 (norm): Likewise.
58582 (denorm): Likewise.
58583 (__dbl_mp): Likewise.
58584 (add_magnitudes): Likewise.
58585 (sub_magnitudes): Likewise.
58586 (__add): Likewise.
58587 (__sub): Likewise.
58588 (__mul): Likewise.
58589 (__sqr): Likewise.
58590 (__inv): Likewise.
58591 (__dvd): Likewise.
58592
58593 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58594 commented code.
58595 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58596 (__dubcos): Likewise.
58597 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58598 (__ieee754_acos): Likewise.
58599 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58600 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58601 (__exp1): Likewise.
58602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58603 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58604 (log1): Likewise.
58605 (my_log2): Likewise.
58606 (checkint): Likewise.
58607 * sysdeps/ieee754/dbl-64/e_remainder.c
58608 (__ieee754_remainder): Likewise.
58609 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58611 (bsloww): Likewise.
58612 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58613
58614 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58615 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58616 MANTISSA_STORE_T to store computations on mantissa. Use
58617 macros for rounding and division.
58618 (denorm): Likewise.
58619 (__dbl_mp): Likewise.
58620 (add_magnitudes): Likewise.
58621 (sub_magnitudes): Likewise.
58622 (__mul): Likewise.
58623 (__sqr): Likewise.
58624 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58625 powers of two in terms of TWOPOW macro.
58626 (mp_no): Make type of mantissa as MANTISSA_T.
58627 [!RADIXI]: Define RADIXI.
58628 [!TWO52]: Define TWO52.
58629 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58630
58631 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58632
58633 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58634 llroundl symbol when building for PPC32.
58635
58636 2013-03-24 Mark H Weaver <mhw@netris.org>
58637
58638 * manual/arith.texi (Normalization Functions): Fix prototypes for
58639 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58640
58641 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58642
58643 [BZ #13889]
58644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58645 high value to check if expl overflow.
58646 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58647 to check for underflow and overflow.
58648 * math/libm-test.inc: Add exp test.
58649
58650 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58651
58652 [BZ #11120]
58653 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58654 with NOT_IN_libc.
58655
58656 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58657
58658 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58659 symbol.
58660
58661 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58662
58663 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58664 wrap blocks consisting of several statements.
58665
58666 * sysdeps/generic/math-tests.h: New file.
58667 * sysdeps/i386/fpu/math-tests.h: Likewise.
58668 * math/test-snan.c: Include it.
58669 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58670
58671 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58672
58673 [BZ #15285]
58674 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58675 (__ieee754_j0l): Do not improve calculations using cos of twice
58676 input for inputs above LDBL_MAX / 2.0L.
58677 (__ieee754_y0l): Likewise.
58678 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58679 (__ieee754_j1l): Do not improve calculations using cos of twice
58680 input for inputs above LDBL_MAX / 2.0L.
58681 (__ieee754_y1l): Likewise.
58682 * math/libm-test.inc (j0_test): Add another test.
58683 (j1_test): Likewise.
58684 (y0_test): Likewise.
58685 (y1_test): Likewise.
58686 * sysdeps/i386/fpu/libm-test-ulps: Update.
58687
58688 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58689
58690 * Rules ($(objpfx)bench-%.c): Include code from a C source
58691 file.
58692
58693 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58694
58695 [BZ #15287]
58696 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58697 imaginary part 1.0 and real part less than 0.5 specially.
58698 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58699 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58700 * math/libm-test.inc (cacos_test): Add more tests.
58701 (casin_test): Likewise.
58702 (casinh_test): Likewise.
58703 * sysdeps/i386/fpu/libm-test-ulps: Update.
58704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58705
58706 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58707
58708 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58709 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58710
58711 2013-03-20 Joseph Myers <joseph@codesourcery.com>
58712
58713 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58714 * config.make.in (config-cflags-sse4): Remove variable.
58715 (config-cflags-avx): Likewise.
58716 (config-cflags-sse2avx): Likewise.
58717 (config-cflags-novzeroupper): Likewise.
58718 (config-asflags-i686): Likewise.
58719 (have-mfma4): Likewise.
58720 (have-as-vis3): Likewise.
58721 (MIG): Likewise.
58722 * configure.in (MIG): Do not AC_SUBST.
58723 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58724 (libc_cv_cc_sse4): Do not AC_SUBST.
58725 (libc_cv_cc_avx): Likewise.
58726 (libc_cv_cc_sse2avx): Likewise.
58727 (libc_cv_cc_novzeroupper): Likewise.
58728 (libc_cv_cc_fma4): Likewise.
58729 (libc_cv_as_i686): Likewise.
58730 (libc_cv_sparc_as_vis3): Likewise.
58731 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58732 LIBC_CONFIG_VAR.
58733 (config-asflags-i686): Likewise.
58734 (config-cflags-avx): Likewise.
58735 (config-cflags-sse2avx): Likewise.
58736 (have-mfma4): Likewise.
58737 (config-cflags-novzeroupper): Likewise.
58738 * sysdeps/mach/configure.in (MIG): Likewise.
58739 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58740 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58741 LIBC_CONFIG_VAR.
58742 (config-cflags-avx): Likewise.
58743 (config-cflags-sse2avx): Likewise.
58744 (have-mfma4): Likewise.
58745 (config-cflags-novzeroupper): Likewise.
58746 * configure: Regenerated.
58747 * sysdeps/i386/configure: Likewise.
58748 * sysdeps/mach/configure: Likewise.
58749 * sysdeps/sparc/configure: Likewise.
58750 * sysdeps/x86_64/configure: Likewise.
58751
58752 2013-03-20 Roland McGrath <roland@hack.frob.com>
58753
58754 [BZ #14812]
58755 * locale/programs/localedef.c (options): Put N_ translation marker
58756 on argument names, not just descriptions.
58757
58758 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58759
58760 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58761
58762 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58763
58764 [BZ #14176]
58765 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58766
58767 2013-03-19 Roland McGrath <roland@hack.frob.com>
58768
58769 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58770 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58771 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58772 [!BEFORE_ABORT] (before_abort): New function.
58773 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58774 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58775 (writev_for_fatal): New function.
58776 (WRITEV_FOR_FATAL): New macro; call that.
58777 (backtrace_and_maps): New function.
58778 (BEFORE_ABORT): New macro; call that.
58779 (struct str_list): Type removed.
58780 (__libc_message, __libc_fatal): Functions removed.
58781 Include <sysdeps/posix/libc_fatal.c> instead.
58782
58783 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58784
58785 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58786 constants.
58787 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58788 double constants.
58789
58790 2013-03-19 Andreas Schwab <schwab@suse.de>
58791
58792 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58793 * sysdeps/gnu/configure: Regenerate.
58794
58795 * configure.in: Substitute libc_cv_rtlddir.
58796 * configure: Regenerate.
58797 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58798 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58799 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58800 * elf/Makefile (install-others, CFLAGS-interp.c)
58801 (ldso_install, common-ldd-rewrite): Likewise.
58802 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58803 $(inst_slibdir)/$(rtld-installed-name).
58804 * scripts/rellns-sh: Add -p option.
58805 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58806 for source.
58807
58808 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58809
58810 * manual/nptl.texi: Renamed to ...
58811 * manual/threads.texi: ... this.
58812 * manual/Makefile (chapters): Update.
58813
58814 2013-03-18 Roland McGrath <roland@hack.frob.com>
58815
58816 [BZ #14812]
58817 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58818 on argument names, not just descriptions.
58819 * malloc/memusagestat.c (options): Likewise.
58820 * nss/getent.c (options): Likewise.
58821
58822 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58823
58824 [BZ #14812]
58825 * iconv/iconv_prog.c (options): Put N_ translation marker
58826 on argument names, not just descriptions.
58827 * iconv/iconvconfig.c (options): Likewise.
58828
58829 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58830
58831 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58832 implementation which is faster on all x86_64 architectures.
58833 Tested on AMD, Intel Nehalem, SNB, IVB.
58834 * sysdeps/x86_64/strnlen.S: Likewise.
58835
58836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58837 Remove all multiarch strlen and strnlen versions.
58838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58839 Remove strlen and strnlen related parts.
58840
58841 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58842 Inline strlen part.
58843 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58844
58845 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58846 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58847 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58848 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58849 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58850 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58851
58852 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58853
58854 * manual/memory.texi (Malloc Tunable Parameters):
58855 Sort parameters alphabetically. Add comments for missing entries.
58856
58857 2013-03-17 David S. Miller <davem@davemloft.net>
58858
58859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58860
58861 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58862
58863 [BZ #15283]
58864 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58865 for arguments at most half maximum finite value.
58866 * math/libm-test.inc (j0_test): Add more tests.
58867 (j1_test): Likewise.
58868 (y0_test): Likewise.
58869 (y1_test): Likewise.
58870 * sysdeps/i386/fpu/libm-test-ulps: Update.
58871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58872
58873 [BZ #14155]
58874 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58875 1 / x and functions P and Q for arguments above 0x1p256L.
58876 (__ieee754_y0l): Likewise.
58877 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58878 (__ieee754_y1l): Likewise.
58879 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58880 (j1_test): Likewise.
58881 (y0_test): Likewise.
58882 (y1_test): Likewise.
58883
58884 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58885
58886 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58887 variable.
58888
58889 2013-03-15 Roland McGrath <roland@hack.frob.com>
58890
58891 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58892 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58893 zero since it's initialized to EXEC_PAGESIZE.
58894
58895 * sysdeps/unix/sysv/linux/ldsodefs.h
58896 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58897 * sysdeps/generic/ldsodefs.h: ... here.
58898
58899 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58900
58901 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58902
58903 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58904 math/test-snan.c.
58905 * math/test-snan.c: Renamed from
58906 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58907 * math/Makefile (tests): Add test-snan.
58908 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58909 test-powerpc-snan.
58910
58911 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58912 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58913 functions.
58914 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58915 __builtin_nan family of functions.
58916 * math/libm-test.inc (initialize): Initialize qnan_value with
58917 __builtin_nan family of functions.
58918 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58919 Remove variables.
58920 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58921 Remove functions.
58922 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58923 storage class. Initialize qNaN_var and sNaN_var with
58924 __builtin_nan and __builtin_nans families of functions,
58925 respectively.
58926
58927 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58928 (sqrt_test): Remove duplicate test with qNaN input.
58929 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58930 (round_test, signbit_test, significand_test): Note missing +/-Inf
58931 as well as qNaN tests.
58932
58933 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58934 qNaN_var. Fix a few strings, too.
58935 * math/libm-test.inc (nan_value): Rename to qnan_value.
58936 * math/gen-libm-test.pl (%beautify): Adjust to that.
58937 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58938 * math/test-misc.c (main): Likewise.
58939 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58940 to __qnan_bytes, and __qnan_union, respectively.
58941 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58942 Likewise.
58943 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58944 and lqnanval, respectively.
58945 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58946 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58947 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58948 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58949
58950 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58951 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58952 doubles.
58953
58954 * math/test-misc.c (main): Fix copy'n'pastos.
58955 * misc/tst-efgcvt.c (special): Likewise.
58956
58957 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58958 Remove declarations.
58959
58960 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58961
58962 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58963 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58964 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58965 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58966
58967 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58968
58969 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58970 macro to return vdso values correctly in IFUNC implementations.
58971 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58972 Optimization by using IFUNC.
58973
58974 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58975 Richard Henderson <rth@redhat.com>
58976 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58977
58978 * Makefile.in (bench): New target.
58979 * NEWS: Mention the benchmark framework.
58980 * Rules (bench): Likewise.
58981 (binaries-bench): Generate binaries for functions to
58982 benchmark.
58983 * benchtests/Makefile: New makefile for benchmark tests.
58984 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58985 programs.
58986 * benchtests/exp-inputs: New input file for EXP function.
58987 * benchtests/pow-inputs: New input file for POW function.
58988 * scripts/bench.pl: New script to generate source files for
58989 benchmark programs.
58990
58991 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58992
58993 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58994 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58995 computations on mantissa. Use macros for rounding and
58996 division.
58997 (denorm): Likewise.
58998 (__dbl_mp): Likewise.
58999 (add_magnitudes): Likewise.
59000 (sub_magnitudes): Likewise.
59001 (__mul): Likewise.
59002 (__sqr): Likewise.
59003 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
59004 powers of two in terms of TWOPOW macro.
59005 (mp_no): Make type of mantissa as MANTISSA_T.
59006 [!RADIXI]: Define RADIXI.
59007 [!TWO52]: Define TWO52.
59008 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59009
59010 * manual/nptl.texi (cindex): Modify threads to pthreads.
59011
59012 2013-03-15 Joseph Myers <joseph@codesourcery.com>
59013
59014 * sysdeps/x86_64/preconfigure: Regenerated.
59015
59016 2013-03-14 Joseph Myers <joseph@codesourcery.com>
59017
59018 [BZ #14155]
59019 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59020 0x1p28 and above.
59021 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59022 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59023 0x1p28 and above.
59024 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59025 * math/libm-test.inc (j0_test): Do not allow one spurious
59026 underflow exception.
59027 (y1_test): Likewise.
59028
59029 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59030
59031 * manual/Makefile (chapters): Add nptl.
59032 * manual/debug.texi (Debugging Support): Add link to Threads
59033 chapter.
59034 * manual/nptl.texi: New file.
59035
59036 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59037
59038 2013-03-14 Petr Baudis <pasky@ucw.cz>
59039
59040 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59041 for non-NULL pointer before the memory validity test. Pointed
59042 out by Holger Brunck <holger.brunck@keymile.com>.
59043
59044 2013-03-13 Andreas Schwab <schwab@suse.de>
59045
59046 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59047 instead of .os.
59048
59049 2013-03-13 Joseph Myers <joseph@codesourcery.com>
59050
59051 * timezone/zic.c: Update from tzcode 2013b.
59052
59053 2013-03-12 Carlos O'Donell <carlos@redhat.com>
59054
59055 * manual/install.texi (Configuring and compiling):
59056 Mention i686 and i586.
59057 * INSTALL: Regenerate.
59058
59059 2013-03-12 Roland McGrath <roland@hack.frob.com>
59060
59061 * sysdeps/init_array/elf-init.c: New file.
59062 * csu/elf-init.c
59063 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59064 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59065
59066 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59067 __gmon_start__ as global, but as static with a .preinit_array pointer.
59068 * sysdeps/init_array/gmon-start.c: New file. Use that.
59069 * sysdeps/init_array/crti.S: New file, empty except for comments.
59070 * sysdeps/init_array/crtn.S: Likewise.
59071
59072 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
59073
59074 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59075 definining bcopy.
59076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59077 Remove Prefer_SSE_for_memop.
59078 * sysdeps/x86_64/multiarch/init-arch.h: Remove
59079 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59080 HAS_PREFER_SSE_FOR_MEMOP.
59081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59082 memset-x86-64.
59083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59084 Remove bzero, memset ifunc support.
59085 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59086 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59087 * sysdeps/x86_64/multiarch/memset.S: Likewise.
59088 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59089
59090 2013-03-11 Andreas Schwab <schwab@suse.de>
59091
59092 [BZ #15234]
59093 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59094 by SHLIB_COMPAT.
59095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59096 (GLIBC_2.16): Remove pthread_atfork.
59097
59098 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
59099
59100 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59101 (ptestcases.h): Likewise.
59102
59103 2013-03-08 Roland McGrath <roland@hack.frob.com>
59104
59105 * Makeconfig ($(common-objpfx)config.status): Depend on
59106 sysdeps/*/preconfigure{,.in} too.
59107
59108 2013-03-08 Joseph Myers <joseph@codesourcery.com>
59109
59110 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59111 (__free_hook): Use void * instead of __malloc_ptr_t.
59112 (__malloc_hook): Likewise.
59113 (__realloc_hook): Likewise.
59114 (__memalign_hook): Likewise.
59115 (__after_morecore_hook): Likewise.
59116 * malloc/arena.c (save_malloc_hook): Likewise.
59117 (save_free_hook): Likewise.
59118 * malloc/hooks.c (malloc_hook_ini): Likewise.
59119 (realloc_hook_ini): Likewise.
59120 (memalign_hook_ini): Likewise.
59121 * malloc/malloc.c (malloc_hook_ini): Likewise.
59122 (realloc_hook_ini): Likewise.
59123 (memalign_hook_ini): Likewise.
59124 (__free_hook): Likewise.
59125 (__malloc_hook): Likewise.
59126 (__realloc_hook): Likewise.
59127 (__memalign_hook): Likewise.
59128 (__libc_malloc): Likewise.
59129 (__libc_free): Likewise.
59130 (__libc_realloc): Likewise.
59131 (__libc_memalign): Likewise.
59132 (__libc_valloc): Likewise.
59133 (__libc_pvalloc): Likewise.
59134 (__libc_calloc): Likewise.
59135 (__posix_memalign): Likewise.
59136 * malloc/morecore.c (__sbrk): Likewise.
59137 (__default_morecore): Likewise.
59138
59139 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59140
59141 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59142 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59143 __malloc_ptrdiff_t.
59144
59145 * malloc/malloc.h (__malloc_size_t): Remove macro.
59146 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59147 __malloc_size_t.
59148 (old_memalign_hook): Likewise.
59149 (old_realloc_hook): Likewise.
59150 (struct hdr): Likewise.
59151 (flood): Likewise.
59152 (mallochook): Likewise.
59153 (memalignhook): Likewise.
59154 (reallochook): Likewise.
59155 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59156 (tr_old_realloc_hook): Likewise.
59157 (tr_old_memalign_hook): Likewise.
59158 (tr_mallochook): Likewise.
59159 (tr_reallochook): Likewise.
59160 (tr_memalignhook): Likewise.
59161
59162 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59163
59164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59165 default_ldbl_pack and using as default implementation.
59166 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59167 implementation.
59168 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59169 redundant definition.
59170 (ldbl_insert_mantissa): Likewise.
59171 (ldbl_canonicalize): Likewise.
59172 (ldbl_nearbyint): Likewise.
59173 (ldbl_pack): Rename to ldbl_pack_ppc.
59174 (ldbl_unpack): Rename to ldbl_unpack_ppc.
59175 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59176 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59177
59178 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59179
59180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59181 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59182 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59183 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59185 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59186 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59187 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59188
59189 2013-03-07 Andreas Jaeger <aj@suse.de>
59190
59191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59192 bits/mman-linux.h.
59193
59194 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59195
59196 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59197 Include mpa.h and declare __MPEXP.
59198 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59199 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59200 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59201 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59202 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59203 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59204 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59205
59206 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59207 (__slowpow): Use long double EXPL and LOGL functions to
59208 compute POW.
59209 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59210 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59211 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59212 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59213 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59214 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59215
59216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59217 intermediate variable to calculate exponent.
59218 (__sqr): Likewise.
59219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59220 Likewise.
59221 (__sqr): Likewise.
59222
59223 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59224 [!NO__SQR]: Define __sqr.
59225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59226 and NO__SQR. Remove all code except __mul and __sqr. Include
59227 sysdeps/ieee754/dbl-64/mpa.c.
59228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59229
59230 [BZ #12723]
59231 * posix/Makefile (tests): Add tst-pathconf.
59232 * posix/tst-pathconf.c: New test case.
59233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59234 _PC_PIPE_BUF.
59235 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59236
59237 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
59238
59239 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59240
59241 2013-03-06 Andreas Jaeger <aj@suse.de>
59242
59243 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59244 definition via __MAP_ANONYMOUS.
59245
59246 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59247 it's not part of Linux headers.
59248
59249 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59250 (MAP_HUGE_MASK): Define.
59251
59252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59253 Define.
59254 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59256 Define.
59257 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59258 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59259 Define.
59260 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59261 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59262 Define.
59263 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59264
59265 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59266 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59267 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59268 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59269 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59270 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59271
59272 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59273 Handle f2fs.
59274
59275 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59276 Handle f2fs and efivarfs.
59277
59278 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59279 f2fs.
59280
59281 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59282 (EFIVARFS_MAGIC): Add.
59283 (F2FS_LINK_MAX): Add.
59284
59285 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59286
59287 * stdio-common/vfprintf.c: Replace __builtin_expect with
59288 __glibc_unlikely.
59289
59290 2013-03-06 Joseph Myers <joseph@codesourcery.com>
59291
59292 [BZ #13550]
59293 * sysdeps/generic/bp-sym.h: Remove file.
59294 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59295 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59296 <bp-sym.h> and <bp-asm.h>.
59297 (__longjmp): Don't use BP_SYM.
59298 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59299 and <bp-asm.h>.
59300 (memcpy): Don't use BP_SYM.
59301 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59302 <bp-sym.h> and <bp-asm.h>.
59303 (memcpy): Don't use BP_SYM.
59304 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59305 <bp-asm.h>.
59306 (memcpy): Don't use BP_SYM.
59307 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59308 <bp-asm.h>.
59309 (memset): Don't use BP_SYM.
59310 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59311 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59312 (__bzero): Don't use BP_SYM.
59313 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59314 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59315 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59316 <bp-sym.h> and <bp-asm.h>.
59317 (memcmp): Don't use BP_SYM. Remove comment about bounded
59318 pointers.
59319 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59320 <bp-sym.h> and <bp-asm.h>.
59321 (memcpy): Don't use BP_SYM.
59322 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59323 <bp-sym.h> and <bp-asm.h>.
59324 (memset): Don't use BP_SYM.
59325 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59326 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59327 (__bzero): Don't use BP_SYM.
59328 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59329 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59330 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59331 <bp-sym.h> and <bp-asm.h>.
59332 (strncmp): Don't use BP_SYM. Remove comment about bounded
59333 pointers.
59334 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59335 <bp-sym.h> and <bp-asm.h>.
59336 (memcpy): Don't use BP_SYM.
59337 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59338 <bp-sym.h> and <bp-asm.h>.
59339 (memset): Don't use BP_SYM.
59340 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59341 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59342 (__bzero): Don't use BP_SYM.
59343 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59344 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59345 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59346 <bp-sym.h> and <bp-asm.h>.
59347 (__memchr): Don't use BP_SYM.
59348 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59349 <bp-sym.h> and <bp-asm.h>.
59350 (memcmp): Don't use BP_SYM. Remove comment about bounded
59351 pointers.
59352 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59353 <bp-sym.h> and <bp-asm.h>.
59354 (memcpy): Don't use BP_SYM.
59355 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59356 <bp-sym.h> and <bp-asm.h>.
59357 (__mempcpy): Don't use BP_SYM.
59358 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59359 <bp-sym.h> and <bp-asm.h>.
59360 (__memrchr): Don't use BP_SYM.
59361 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59362 <bp-sym.h> and <bp-asm.h>.
59363 (memset): Don't use BP_SYM.
59364 (__bzero): Likewise.
59365 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59366 <bp-sym.h> and <bp-asm.h>.
59367 (__rawmemchr): Don't use BP_SYM.
59368 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59369 <bp-sym.h> and <bp-asm.h>.
59370 (__STRCMP): Don't use BP_SYM.
59371 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59372 <bp-sym.h> and <bp-asm.h>.
59373 (strchr): Don't use BP_SYM.
59374 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59375 <bp-sym.h> and <bp-asm.h>.
59376 (__strchrnul): Don't use BP_SYM.
59377 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59378 <bp-sym.h> and <bp-asm.h>.
59379 (strlen): Don't use BP_SYM.
59380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59381 <bp-sym.h> and <bp-asm.h>.
59382 (strncmp): Don't use BP_SYM. Remove comment about bounded
59383 pointers.
59384 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59385 <bp-sym.h> and <bp-asm.h>.
59386 (__strnlen): Don't use BP_SYM.
59387 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59388 <bp-sym.h> and <bp-asm.h>.
59389 (__GI__setjmp): Don't use BP_SYM.
59390 (_setjmp): Likewise.
59391 (__sigsetjmp): Likewise.
59392 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59393 (L(start_addresses)): Don't use BP_SYM.
59394 (_start): Likewise.
59395 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59396 <bp-asm.h>.
59397 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59398 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59399 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59400 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59401 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59402 <bp-asm.h>.
59403 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59404 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59405 about bounded pointers.
59406 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59407 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59408 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59409 <bp-asm.h>.
59410 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59411 about bounded pointers. Remove GKM FIXME comments.
59412 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59413 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59414 <bp-asm.h>.
59415 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59416 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59417 Remove GKM FIXME comments.
59418 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59419 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59420 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59421 <bp-asm.h>.
59422 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59423 about bounded pointers. Remove GKM FIXME comment.
59424 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59425 and <bp-asm.h>.
59426 (strncmp): Don't use BP_SYM. Remove comment about bounded
59427 pointers.
59428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59429 <bp-sym.h> and <bp-asm.h>.
59430 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59432 <bp-sym.h> and <bp-asm.h>.
59433 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59434 comment.
59435
59436 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59437
59438 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59439 call free(NULL).
59440
59441 2013-03-05 David S. Miller <davem@davemloft.net>
59442
59443 * po/es.po: Update from translation team.
59444
59445 2013-03-05 Andreas Jaeger <aj@suse.de>
59446
59447 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59448 <bits/mman-linux.h>.
59449 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59450 is fine.
59451 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59452 <bits/mman-linux.h> to end of file.
59453 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59454 is fine.
59455 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59456 <bits/mman-linux.h> to end of file.
59457 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59458 is fine.
59459 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59460 <bits/mman-linux.h> to end of file.
59461
59462 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59463 (MCL_CURRENT, MCL_FUTURE): Define here.
59464
59465 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59466
59467 [BZ #15232]
59468 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59469 attribute_hidden.
59470 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59471
59472 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59473
59474 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59475 fourth parameter needed for rt_sigprocmask syscall.
59476 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59477 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59478 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59479 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59480 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59481 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59482
59483 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59484
59485 [BZ #13550]
59486 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59487 comment about bounded pointers.
59488 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59489 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59490
59491 2013-03-04 Andreas Jaeger <aj@suse.de>
59492
59493 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59494 common definitions.
59495
59496 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59497 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59498 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59500 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59502
59503 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59504
59505 [BZ #15055]
59506 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59507 __ieee754_sqrl instead of __sqrl.
59508
59509 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59510
59511 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59512 * sysdeps/powerpc/fpu_control.h: ... here.
59513 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59514 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59515 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59516 * sysdeps/powerpc/bits/mathinline.h: ... here.
59517
59518 2013-03-01 Roland McGrath <roland@hack.frob.com>
59519
59520 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59521 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59522 to just [NEED_DL_SYSINFO_DSO].
59523 * elf/dl-support.c: Likewise.
59524 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59525 * elf/rtld.c (dl_main): Likewise.
59526 * elf/setup-vdso.h (setup_vdso): Likewise.
59527 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59528 * sysdeps/unix/sysv/linux/dl-sysdep.c
59529 (_dl_discover_osversion): Likewise.
59530
59531 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59532
59533 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59534 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59535
59536 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59537
59538 * NEWS: Mention libm performance improvements and non-x86 PI
59539 futex support.
59540
59541 * csu/libc-start.c (__pthread_initialize_minimal): Change
59542 function arguments.
59543 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59544
59545 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59546
59547 [BZ #13550]
59548 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59549 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59550 <bp-sym.h> and <bp-asm.h>.
59551 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59553 and <bp-asm.h>.
59554 (memcpy): Don't use BP_SYM.
59555 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59556 <bp-asm.h>.
59557 (__mpn_add_n): Don't use BP_SYM.
59558 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59559 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59560 and <bp-asm.h>.
59561 (__mpn_addmul_1): Don't use BP_SYM.
59562 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59563 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59564 <bp-sym.h>.
59565 (_setjmp): Don't use BP_SYM.
59566 (__novmx_setjmp): Likewise.
59567 (__GI__setjmp): Likewise.
59568 (__vmx_setjmp): Likewise.
59569 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59570 <bp-sym.h>.
59571 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59572 (__bzero): Don't use BP_SYM.
59573 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59574 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59575 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59576 <bp-sym.h> and <bp-asm.h>.
59577 (memcpy): Don't use BP_SYM.
59578 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59579 <bp-sym.h> and <bp-asm.h>.
59580 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59581 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59582 <bp-sym.h> and <bp-asm.h>.
59583 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59584 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59585 <bp-asm.h>.
59586 (__mpn_lshift): Don't use BP_SYM.
59587 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59588 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59589 <bp-asm.h>.
59590 (memset): Don't use BP_SYM.
59591 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59592 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59593 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59594 <bp-asm.h>.
59595 (__mpn_mul_1): Don't use BP_SYM.
59596 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59597 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59598 <bp-sym.h> and <bp-asm.h>.
59599 (memcmp): Don't use BP_SYM.
59600 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59601 <bp-sym.h> and <bp-asm.h>.
59602 (memcpy): Don't use BP_SYM.
59603 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59604 <bp-sym.h> and <bp-asm.h>.
59605 (memset): Don't use BP_SYM.
59606 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59607 <bp-sym.h> and <bp-asm.h>.
59608 (strncmp): Don't use BP_SYM.
59609 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59610 <bp-sym.h> and <bp-asm.h>.
59611 (memcpy): Don't use BP_SYM.
59612 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59613 <bp-sym.h> and <bp-asm.h>.
59614 (memset): Don't use BP_SYM.
59615 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59616 <bp-sym.h> and <bp-asm.h>.
59617 (__memchr): Don't use BP_SYM.
59618 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59619 <bp-sym.h> and <bp-asm.h>.
59620 (memcmp): Don't use BP_SYM.
59621 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59622 <bp-sym.h> and <bp-asm.h>.
59623 (memcpy): Don't use BP_SYM.
59624 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59625 <bp-sym.h> and <bp-asm.h>.
59626 (__mempcpy): Don't use BP_SYM.
59627 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59628 <bp-sym.h> and <bp-asm.h>.
59629 (__memrchr): Don't use BP_SYM.
59630 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59631 <bp-sym.h> and <bp-asm.h>.
59632 (memset): Don't use BP_SYM.
59633 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59634 <bp-sym.h> and <bp-asm.h>.
59635 (__rawmemchr): Don't use BP_SYM.
59636 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59637 <bp-sym.h> and <bp-asm.h>.
59638 (__STRCMP): Don't use BP_SYM.
59639 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59640 <bp-sym.h> and <bp-asm.h>.
59641 (strchr): Don't use BP_SYM.
59642 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59643 <bp-sym.h> and <bp-asm.h>.
59644 (__strchrnul): Don't use BP_SYM.
59645 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59646 <bp-sym.h> and <bp-asm.h>.
59647 (strlen): Don't use BP_SYM.
59648 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59649 <bp-sym.h> and <bp-asm.h>.
59650 (strncmp): Don't use BP_SYM.
59651 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59652 <bp-sym.h> and <bp-asm.h>.
59653 (__strnlen): Don't use BP_SYM.
59654 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59655 <bp-asm.h>.
59656 (__mpn_rshift): Don't use BP_SYM.
59657 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59658 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59659 <bp-sym.h> and <bp-asm.h>.
59660 (__sigsetjmp): Don't use BP_SYM.
59661 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59662 (L(start_addresses)): Don't use BP_SYM.
59663 (_start): Likewise.
59664 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59665 <bp-asm.h>.
59666 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59667 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59668 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59669 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59670 <bp-asm.h>.
59671 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59672 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59673 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59674 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59675 <bp-asm.h>.
59676 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59677 comments.
59678 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59679 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59680 <bp-asm.h>.
59681 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59682 FIXME comments.
59683 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59684 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59685 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59686 <bp-asm.h>.
59687 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59688 comment.
59689 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59690 and <bp-asm.h>.
59691 (strncmp): Don't use BP_SYM,
59692 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59693 <bp-asm.h>.
59694 (__mpn_sub_n): Don't use BP_SYM.
59695 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59696 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59697 and <bp-asm.h>.
59698 (__mpn_submul_1): Don't use BP_SYM.
59699 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59701 <bp-sym.h> and <bp-asm.h>.
59702 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59704 <bp-sym.h> and <bp-asm.h>.
59705 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59706 comment.
59707
59708 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
59709
59710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59711 Use ZK to minimize writes to Z.
59712 (sub_magnitudes): Simplify code a bit.
59713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59714 Use ZK to minimize writes to Z.
59715 (sub_magnitudes): Simplify code a bit.
59716
59717 2013-02-27 Roland McGrath <roland@hack.frob.com>
59718
59719 * csu/gmon-start.c: Add special exception to license text.
59720
59721 2013-02-27 Richard Henderson <rth@redhat.com>
59722
59723 * scripts/config.guess: Update from config.git.
59724 * scripts/config.sub: Likewise.
59725
59726 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
59727
59728 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59729
59730 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59731
59732 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59733
59734 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59735
59736 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59737
59738 2013-02-26 Roland McGrath <roland@hack.frob.com>
59739
59740 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59741 [$(build-shared = yes].
59742
59743 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59744
59745 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59746 (__mul): Reduce iterations for calculating mantissa.
59747
59748 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59749 MPTWO.
59750 (__mpranred): Likewise.
59751
59752 [BZ #15160]
59753 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59754 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59755
59756 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59757
59758 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59759 Define __attribute__.
59760
59761 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59762
59763 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59764 unused.
59765 * posix/regex_internal.h (__attribute): Remove.
59766 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59767 (re_string_context_at): Likewise.
59768 (bitset_not): Use __attribute__ and mark function as possibly
59769 unused.
59770 (bitset_merge): Likewise.
59771 (bitset_mask): Likewise.
59772 (re_string_char_size_at): Likewise.
59773 (re_string_wchar_at): Likewise.
59774 (re_string_elem_size_at): Likewise.
59775
59776 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59777
59778 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59779 code.
59780 (cc32): Likewise.
59781
59782 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59783 (__acr): Likewise.
59784 (__cpy): Likewise.
59785 (norm): Likewise.
59786 (denorm): Likewise.
59787 (__dbl_mp): Likewise.
59788 (add_magnitudes): Likewise.
59789 (sub_magnitudes): Likewise.
59790 (__mul): Likewise.
59791 (__inv): Likewise.
59792
59793 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59794 style.
59795
59796 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59797 style.
59798
59799 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59800 code.
59801
59802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59803 up changes with default code.
59804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59805 Likewise.
59806
59807 2013-02-24 Allan McRae <allan@archlinux.org>
59808
59809 * manual/socket.texi (The Internet Namespace): Order menu items
59810 to match that in the file.
59811
59812 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59813 node listing of the info page menu.
59814
59815 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59816
59817 [BZ #13550]
59818 * sysdeps/i386/bp-asm.h: Remove file.
59819 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59820 (PARMS): Do not use macros from bp-asm.h.
59821 (S1): Likewise.
59822 (S2): Likewise.
59823 (SIZE): Likewise.
59824 (__mpn_add_n): Do not use BP_SYM
59825 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59826 "bp-asm.h".
59827 (PARMS): Do not use macros from bp-asm.h.
59828 (S1): Likewise.
59829 (SIZE): Likewise.
59830 (__mpn_addmul_1): Do not use BP_SYM
59831 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59832 "bp-asm.h".
59833 (PARMS): Do not use macros from bp-asm.h.
59834 (SIGMSK): Likewise.
59835 (_setjmp): Likewise. Do not use BP_SYM.
59836 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59837 "bp-asm.h".
59838 (PARMS): Do not use macros from bp-asm.h.
59839 (SIGMSK): Likewise.
59840 (setjmp): Likewise. Do not use BP_SYM.
59841 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59842 "bp-asm.h".
59843 (PARMS): Do not use macros from bp-asm.h.
59844 (__frexp): Do not use BP_SYM.
59845 (frexp): Likewise.
59846 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59847 "bp-asm.h".
59848 (PARMS): Do not use macros from bp-asm.h.
59849 (__frexpf): Do not use BP_SYM.
59850 (frexpf): Likewise.
59851 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59852 "bp-asm.h".
59853 (PARMS): Do not use macros from bp-asm.h.
59854 (__frexpl): Do not use BP_SYM.
59855 (frexpl): Likewise.
59856 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59857 "bp-asm.h".
59858 (PARMS): Do not use macros from bp-asm.h.
59859 (__remquo): Do not use BP_SYM.
59860 (remquo): Likewise.
59861 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59862 "bp-asm.h".
59863 (PARMS): Do not use macros from bp-asm.h.
59864 (__remquof): Do not use BP_SYM.
59865 (remquof): Likewise.
59866 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59867 "bp-asm.h".
59868 (PARMS): Do not use macros from bp-asm.h.
59869 (__remquol): Do not use BP_SYM.
59870 (remquol): Likewise.
59871 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59872 "bp-asm.h".
59873 (PARMS): Do not use macros from bp-asm.h.
59874 (DEST): Likewise.
59875 (SRC): Likewise.
59876 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59877 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59878 "bp-asm.h".
59879 (PARMS): Do not use macros from bp-asm.h.
59880 (strlen): Do not use BP_SYM.
59881 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59882 "bp-asm.h".
59883 (PARMS): Do not use macros from bp-asm.h.
59884 (S1): Likewise.
59885 (S2): Likewise.
59886 (SIZE): Likewise.
59887 (__mpn_add_n): Do not use BP_SYM.
59888 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59889 "bp-asm.h".
59890 (PARMS): Do not use macros from bp-asm.h.
59891 (S1): Likewise.
59892 (SIZE): Likewise.
59893 (__mpn_addmul_1): Do not use BP_SYM.
59894 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59895 weak_alias.
59896 (bzero): Likewise.
59897 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59898 "bp-asm.h".
59899 (PARMS): Do not use macros from bp-asm.h.
59900 (S): Likewise.
59901 (SIZE): Likewise.
59902 (__mpn_lshift): Do not use BP_SYM.
59903 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59904 "bp-asm.h".
59905 (PARMS): Do not use macros from bp-asm.h.
59906 (DEST): Likewise.
59907 (SRC): Likewise.
59908 (LEN): Likewise.
59909 (memcpy): Likewise. Do not use BP_SYM.
59910 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59911 libc_hidden_def and weak_alias.
59912 (mempcpy): Do not use BP_SYM in weak_alias.
59913 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59914 "bp-asm.h".
59915 (PARMS): Do not use macros from bp-asm.h.
59916 (DEST): Likewise.
59917 (LEN): Likewise.
59918 [!BZERO_P] (CHR): Likewise.
59919 (memset): Likewise. Do not use BP_SYM.
59920 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59921 "bp-asm.h".
59922 (PARMS): Do not use macros from bp-asm.h.
59923 (S1): Likewise.
59924 (SIZE): Likewise.
59925 (__mpn_mul_1): Do not use BP_SYM.
59926 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59927 "bp-asm.h".
59928 (PARMS): Do not use macros from bp-asm.h.
59929 (S): Likewise.
59930 (SIZE): Likewise.
59931 (__mpn_rshift): Do not use BP_SYM.
59932 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59933 "bp-asm.h".
59934 (PARMS): Do not use macros from bp-asm.h.
59935 (STR): Likewise.
59936 (CHR): Likewise.
59937 (strchr): Likewise. Do not use BP_SYM.
59938 (index): Do not use BP_SYM in weak_alias.
59939 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59940 "bp-asm.h".
59941 (PARMS): Do not use macros from bp-asm.h.
59942 (DEST): Likewise.
59943 (SRC): Likewise.
59944 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59945 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59946 "bp-asm.h".
59947 (PARMS): Do not use macros from bp-asm.h.
59948 (strlen): Do not use BP_SYM.
59949 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59950 "bp-asm.h".
59951 (PARMS): Do not use macros from bp-asm.h.
59952 (S1): Likewise.
59953 (S2): Likewise.
59954 (SIZE): Likewise.
59955 (__mpn_sub_n): Do not use BP_SYM.
59956 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59957 "bp-asm.h".
59958 (PARMS): Do not use macros from bp-asm.h.
59959 (S1): Likewise.
59960 (SIZE): Likewise.
59961 (__mpn_submul_1): Do not use BP_SYM.
59962 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59963 "bp-asm.h".
59964 (PARMS): Do not use macros from bp-asm.h.
59965 (S1): Likewise.
59966 (S2): Likewise.
59967 (SIZE): Likewise.
59968 (__mpn_add_n): Do not use BP_SYM.
59969 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59970 weak_alias.
59971 (bzero): Likewise.
59972 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59973 "bp-asm.h".
59974 (PARMS): Do not use macros from bp-asm.h.
59975 (BLK2): Likewise.
59976 (LEN): Likewise.
59977 (memcmp): Do not use BP_SYM.
59978 (bcmp): Do not use BP_SYM in weak_alias.
59979 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59980 "bp-asm.h".
59981 (PARMS): Do not use macros from bp-asm.h.
59982 (DEST): Likewise.
59983 (SRC): Likewise.
59984 (LEN): Likewise.
59985 (memcpy): Likewise. Do not use BP_SYM.
59986 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59987 "bp-asm.h".
59988 (PARMS): Do not use macros from bp-asm.h.
59989 (DEST): Likewise.
59990 (SRC): Likewise.
59991 (LEN): Likewise.
59992 (memmove): Likewise. Do not use BP_SYM.
59993 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59994 "bp-asm.h".
59995 (PARMS): Do not use macros from bp-asm.h.
59996 (DEST): Likewise.
59997 (SRC): Likewise.
59998 (LEN): Likewise.
59999 (__mempcpy): Likewise. Do not use BP_SYM.
60000 (mempcpy): Do not use BP_SYM in weak_alias.
60001 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60002 "bp-asm.h".
60003 (PARMS): Do not use macros from bp-asm.h.
60004 (DEST): Likewise.
60005 (LEN): Likewise.
60006 [!BZERO_P] (CHR): Likewise.
60007 (memset): Likewise. Do not use BP_SYM.
60008 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60009 "bp-asm.h".
60010 (PARMS): Do not use macros from bp-asm.h.
60011 (STR2): Likewise.
60012 (strcmp): Do not use BP_SYM.
60013 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60014 "bp-asm.h".
60015 (PARMS): Do not use macros from bp-asm.h.
60016 (STR): Likewise.
60017 (DELIM): Likewise.
60018 [USE_AS_STRTOK_R] (SAVE): Likewise.
60019 (FUNCTION): Likewise. Do not use BP_SYM.
60020 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60021 aliases.
60022 (strtok_r): Likewise.
60023 (__GI___strtok_r): Likewise.
60024 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60025 (PARMS): Do not use macros from bp-asm.h.
60026 (S): Likewise.
60027 (SIZE): Likewise.
60028 (__mpn_lshift): Do not use BP_SYM.
60029 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60030 (PARMS): Do not use macros from bp-asm.h.
60031 (STR): Likewise.
60032 (CHR): Likewise.
60033 (__memchr): Do not use BP_SYM.
60034 (memchr): Do not use BP_SYM in weak_alias.
60035 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60036 (PARMS): Do not use macros from bp-asm.h.
60037 (BLK2): Likewise.
60038 (LEN): Likewise.
60039 (memcmp): Do not use BP_SYM.
60040 (bcmp): Do not use BP_SYM in weak_alias.
60041 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60042 (PARMS): Do not use macros from bp-asm.h.
60043 (S1): Likewise.
60044 (SIZE): Likewise.
60045 (__mpn_mul_1): Do not use BP_SYM.
60046 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60047 "bp-asm.h".
60048 (PARMS): Do not use macros from bp-asm.h.
60049 (STR): Likewise.
60050 (CHR): Likewise.
60051 (__rawmemchr): Do not use BP_SYM.
60052 (rawmemchr): Do not use BP_SYM in weak_alias.
60053 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60054 (PARMS): Do not use macros from bp-asm.h.
60055 (S): Likewise.
60056 (SIZE): Likewise.
60057 (__mpn_rshift): Do not use BP_SYM.
60058 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60059 (PARMS): Do not use macros from bp-asm.h.
60060 (SIGMSK): Likewise.
60061 (__sigsetjmp): Likewise. Do not use BP_SYM.
60062 * sysdeps/i386/start.S: Do not include "bp-sym.h".
60063 (_start): Do not use BP_SYM.
60064 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60065 (PARMS): Do not use macros from bp-asm.h.
60066 (DEST): Likewise.
60067 (SRC): Likewise.
60068 (__stpcpy): Likewise. Do not use BP_SYM.
60069 (stpcpy): Do not use BP_SYM in weak_alias.
60070 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60071 "bp-asm.h".
60072 (PARMS): Do not use macros from bp-asm.h.
60073 (DEST): Likewise.
60074 (SRC): Likewise.
60075 (LEN): Likewise.
60076 (__stpncpy): Likewise. Do not use BP_SYM.
60077 (stpncpy): Do not use BP_SYM in weak_alias.
60078 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60079 (PARMS): Do not use macros from bp-asm.h.
60080 (STR): Likewise.
60081 (CHR): Likewise.
60082 (strchr): Likewise. Do not use BP_SYM.
60083 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60084 "bp-asm.h".
60085 (PARMS): Do not use macros from bp-asm.h.
60086 (STR): Likewise.
60087 (CHR): Likewise.
60088 (__strchrnul): Likewise. Do not use BP_SYM.
60089 (strchrnul): Do not use BP_SYM in weak_alias.
60090 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60091 "bp-asm.h".
60092 (PARMS): Do not use macros from bp-asm.h.
60093 (STOP): Likewise.
60094 (strcspn): Do not use BP_SYM.
60095 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60096 "bp-asm.h".
60097 (PARMS): Do not use macros from bp-asm.h.
60098 (STR): Likewise.
60099 (STOP): Likewise.
60100 (strpbrk): Likewise. Do not use BP_SYM.
60101 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60102 "bp-asm.h".
60103 (PARMS): Do not use macros from bp-asm.h.
60104 (STR): Likewise.
60105 (CHR): Likewise.
60106 (strrchr): Likewise. Do not use BP_SYM.
60107 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60108 (PARMS): Do not use macros from bp-asm.h.
60109 (SKIP): Likewise.
60110 (strspn): Do not use BP_SYM.
60111 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60112 (PARMS): Do not use macros from bp-asm.h.
60113 (STR): Likewise.
60114 (DELIM): Likewise.
60115 (SAVE): Likewise.
60116 (FUNCTION): Likewise. Do not use BP_SYM.
60117 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60118 aliases.
60119 (strtok_r): Likewise.
60120 (__GI___strtok_r): Likewise.
60121 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60122 (PARMS): Do not use macros from bp-asm.h.
60123 (S1): Likewise.
60124 (S2): Likewise.
60125 (SIZE): Likewise.
60126 (__mpn_sub_n): Do not use BP_SYM.
60127 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60128 "bp-asm.h".
60129 (PARMS): Do not use macros from bp-asm.h.
60130 (S1): Likewise.
60131 (SIZE): Likewise.
60132 (__mpn_submul_1): Do not use BP_SYM.
60133 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60134 <bp-sym.h>.
60135 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60136 and <bp-asm.h>.
60137 (PARMS): Do not use macros from bp-asm.h.
60138 (FLAGS): Likewise.
60139 (PTID): Likewise.
60140 (TLS): Likewise.
60141 (CTID): Likewise.
60142 (__clone): Do not use BP_SYM.
60143 (clone): Do not use BP_SYM in weak_alias.
60144 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60145 and <bp-asm.h>.
60146 (PARMS): Do not use macros from bp-asm.h.
60147 (LEN): Likewise.
60148 (__mmap64): Do not use BP_SYM.
60149 (mmap64): Do not use BP_SYM in weak_alias.
60150 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60151 <bp-sym.h> and <bp-asm.h>.
60152 (PARMS): Do not use macros from bp-asm.h.
60153 (__posix_fadvise64_l64): Do not use BP_SYM.
60154 * sysdeps/unix/sysv/linux/i386/semtimedop.S
60155 (PARMS): Do not use macros from bp-asm.h.
60156 (NSOPS): Likewise.
60157 (semtimedop): Do not use BP_SYM.
60158 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60159 and <bp-asm.h>.
60160
60161 2013-02-21 Allan McRae <allan@archlinux.org>
60162
60163 * manual/message.texi (Charset conversion in gettext):
60164 Move @end statement to beginning of line.
60165
60166 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60167
60168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60169 static.
60170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60171 Likewise.
60172
60173 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60174 (denorm): Likewise.
60175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60177
60178 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60179
60180 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60181 tail-call to the resolved function if pltexit isn't needed.
60182
60183 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60184
60185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60186 or Y being zero as being unlikely.
60187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60188 Likewise.
60189
60190 2013-02-20 Carlos O'Donell <carlos@redhat.com>
60191
60192 * manual/nss.texi (System Databases and Name Service Switch):
60193 Remove frobnicate @pxref.
60194
60195 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60196
60197 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60198 __attribute__ ((unused)) to __attribute__ ((__unused__)).
60199
60200 2013-02-20 Petr Machata <pmachata@redhat.com>
60201
60202 * elf/elf.h (R_ARM_TARGET1): New macro.
60203 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60204 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60205 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60206 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60207 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60208 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60209 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60210 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60211 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60212 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60213 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60214 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60215 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60216 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60217 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60218 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60219 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60220 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60221 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60222 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60223 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60224 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60225 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60226 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60227 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60228 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60229 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60230 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60231 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60232 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60233 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60234 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60235 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60236 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60237 (R_ARM_THM_GOT_BREL12): Likewise.
60238 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60239 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60240 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60241 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60242 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60243 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60244 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60245 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60246 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60247
60248 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60249
60250 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60251 __attribute_used__ to __attribute__ ((unused)).
60252
60253 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60254
60255 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60256 powerpc mpa.c.
60257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60258 comment formatting.
60259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60260
60261 2013-02-19 Joseph Myers <joseph@codesourcery.com>
60262
60263 [BZ #13550]
60264 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60265 Remove macro.
60266 (ENTER): Remove both macro definitions.
60267 (LEAVE): Likewise.
60268 (CHECK_BOUNDS_LOW): Likewise.
60269 (CHECK_BOUNDS_HIGH): Likewise.
60270 (CHECK_BOUNDS_BOTH): Likewise.
60271 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60272 (RETURN_BOUNDED_POINTER): Likewise.
60273 (RETURN_NULL_BOUNDED_POINTER): Likewise.
60274 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60275 (POP_ERRNO_LOCATION_RETURN): Likewise.
60276 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60277 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60278 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60279 macros.
60280 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60281 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60282 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60283 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60284 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60285 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60286 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60287 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60288 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60289 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60290 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60291 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60292 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60293 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60294 removed macros.
60295 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60296 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60297 macros.
60298 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60299 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60300 * sysdeps/i386/i586/memset.S (memset): Likewise.
60301 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60302 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60303 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60304 macros.
60305 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60306 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60307 Change uses of L(2) to L(out).
60308 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60309 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60310 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60311 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60312 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60313 removed macros.
60314 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60315 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60316 macros.
60317 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60318 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60319 (RETURN): Do not use macro LEAVE.
60320 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60321 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60322 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60323 * sysdeps/i386/i686/memset.S (memset): Likewise.
60324 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60325 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60326 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60327 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60328 Likewise.
60329 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60330 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60331 L(1_2) and L(1_3) into L(1).
60332 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60333 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60334 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60335 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60336 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60337 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60338 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60339 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60340 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60341 macros.
60342 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60343 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60344 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60345 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60346 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60347 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60348 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60349 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60350 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60351 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60352 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60353 * sysdeps/i386/strspn.S (strspn): Likewise.
60354 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60355 conditional code.
60356 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60357 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60358 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60359 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60360 L(1_3) into L(1_1).
60361 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60362 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60363 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60364 macros.
60365 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60366
60367 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60368
60369 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60370 macro.
60371
60372 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60373
60374 * math/atest-exp.c (exp_mpn): Remove ROUND.
60375 * math/atest-exp2.c (exp_mpn): Likewise.
60376 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60377
60378 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60379 * stdlib/tst-tls-atexit-lib.c: Likewise.
60380 * stdlib/tst-tls-atexit.c: Likewise.
60381
60382 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60383
60384 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60385 and __attribute_alloc_size__.
60386
60387 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60388
60389 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60390 __attribute_alloc_size__.
60391 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60392 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60393
60394 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60395
60396 * include/programs/xmalloc.h: New file.
60397 * catgets/gencat.c: Include it.
60398 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60399 * elf/pldd.c: Likewise.
60400 * iconv/iconv_charmap.c: Likewise.
60401 * iconv/iconvconfig.c: Likewise.
60402 * iconv/strtab.c: Likewise.
60403 * locale/programs/locale.c: Likewise.
60404 * locale/programs/localedef.h: Likewise.
60405 * locale/programs/simple-hash.c: Likewise.
60406 * nscd/nscd.h: Likewise.
60407 * nss/makedb.c: Likewise.
60408 * sysdeps/generic/ldconfig.h: Likewise.
60409
60410 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60411
60412 * Versions.def: Add GLIBC_2.18.
60413 * include/link.h (struct link_map): New member l_tls_dtor_count.
60414 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60415 (__call_tls_dtors): Likewise.
60416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60417 __cxa_thread_atexit_impl.
60418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60419 Likewise.
60420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60421 Likewise.
60422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60423 Likewise.
60424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60425 Likewise.
60426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60428 Likewise.
60429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60430 Likewise.
60431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60433 Likewise.
60434 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60435 (tests): Add test case tst-tls-atexit.
60436 (modules-names): Add shared library for tst-tls-atexit.
60437 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60438 (GLIBC_PRIVATE): Add __call_tls_dtors.
60439 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60440 for libstdc++.
60441 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60442 * stdlib/tst-tls-atexit.c: New test case.
60443 * stdlib/tst-tls-atexit-lib.c: New test case.
60444
60445 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60446
60447 * elf/Versions (ld): Add _dl_find_dso_for_object.
60448 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60449 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60450 (dl_open_worker): Use _dl_find_dso_for_object.
60451 * elf/dl-sym.c (do_sym): Likewise.
60452 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60453
60454 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60455
60456 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60457 Syntactic changes only.
60458 (_dl_runtime_profile): Do a tail-call to the resolved function.
60459
60460 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60461
60462 [BZ #13550]
60463 * sysdeps/x86_64/bp-asm.h: Remove file.
60464 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60465 <bp-sym.h> and <bp-asm.h>.
60466 (__clone): Do not use BP_SYM.
60467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60468 <bp-sym.h> and <bp-asm.h>.
60469 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60470 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60471 "bp-asm.h".
60472 (_setjmp): Do not use BP_SYM.
60473 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60474 "bp-asm.h".
60475 (setjmp): Do not use BP_SYM.
60476 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60477 libc_hidden_def.
60478 (mempcpy): Do not use BP_SYM in weak_alias.
60479 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60480 "bp-asm.h".
60481 (strchr): Do not use BP_SYM.
60482 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60483 "bp-asm.h".
60484 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60485 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60486 (_start): Do not use BP_SYM.
60487 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60488 "bp-asm.h".
60489 (strcat): Do not use BP_SYM.
60490 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60491 "bp-asm.h".
60492 (STRCMP): Do not use BP_SYM.
60493 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60494 "bp-asm.h".
60495 (STRCPY): Do not use BP_SYM.
60496 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60497 "bp-asm.h".
60498 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60499 "bp-asm.h".
60500 (FUNCTION): Do not use BP_SYM.
60501 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60502 weak_alias.
60503 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60504
60505 2013-02-17 Andreas Jaeger <aj@suse.de>
60506
60507 * time/Versions: Sort entries.
60508 * string/Versions: Likewise.
60509 * resolv/Versions: Likewise.
60510 * posix/Versions: Likewise.
60511 * iconv/Versions: Likewise.
60512 * elf/Versions: Likewise.
60513 * wcsmbs/Versions: Likewise.
60514
60515 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60516
60517 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60518 loop termination condition.
60519
60520 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60521 variable to calculate EZ.
60522 (__sqr): Likewise.
60523
60524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60525 the lower precision input.
60526
60527 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60528
60529 [BZ #13550]
60530 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60531 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60532 (run-via-rtld-prefix): Do not handle %-bp tests.
60533 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60534 (all-object-suffixes): Remove .ob.
60535 (bppfx): Remove variable.
60536 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60537 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60538 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60539 [$(build-bounded) = yes] (libtype.ob): Likewise.
60540 * Makerules (elide-routines.ob): Remove variable.
60541 (do-tests-clean): Do not handle *-bp.out.
60542 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60543 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60544 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60545 (tests): Do not include $(tests-bp.out).
60546 (xtests): Do not include $(xtests-bp.out).
60547 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60548 [$(build-bounded) = yes] ($(addprefix
60549 $(objpfx),$(binaries-bounded))): Remove rule.
60550 ($(objpfx)%-bp.out): Remove rule.
60551 * config.make.in (build-bounded): Remove variable.
60552 * crypt/Makefile [$(build-bounded) = yes]
60553 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60554 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60555 append to variable.
60556 [$(build-bounded) = yes] (install-lib): Likewise.
60557 [$(build-bounded) = yes] (generated): Likewise.
60558 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60559 Remove rule.
60560 * intl/Makefile [$(build-bounded) = yes]
60561 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60562 * math/Makefile [$(build-bounded) = yes]
60563 ($(tests:%=$(objpfx)%-bp): Likewise.
60564 * misc/Makefile [$(build-bounded) = yes]
60565 ($(objpfx)tst-tsearch-bp): Likewise.
60566 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60567 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60568 Remove dependency.
60569 * string/Makefile (o-objects.ob): Remove variable.
60570 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60571 (CFLAGS-.ob): Remove variable.
60572 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60573 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60574 both definitions of variable.
60575 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60576 (ASFLAGS-.ob): Remove variable.
60577
60578 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60579
60580 [BZ #13550]
60581 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60582 Remove __BOUNDED_POINTERS__ from condition.
60583 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60584 * string/bits/string2.h [!__NO_STRING_INLINES &&
60585 !__BOUNDED_POINTERS__]: Likewise.
60586 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60587 Likewise.
60588 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60589 Remove conditional code.
60590 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60591 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60592 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60593 condition.
60594
60595 [BZ #13550]
60596 * csu/libc-start.c: Do not include <bp-sym.h>.
60597 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60598 * elf/dl-open.c: Do not include <bp-sym.h>.
60599 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60600 * math/fegetenv.c: Do not include <bp-sym.h>.
60601 (fegetenv): Do not use BP_SYM in versioned symbols.
60602 * nptl/sysdeps/pthread/bits/libc-lockP.h
60603 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60604 <bp-sym.h>.
60605 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60606 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60608 (__pthread_mutex_destroy): Likewise.
60609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60610 (__pthread_mutex_lock): Likewise.
60611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60612 (__pthread_mutex_trylock): Likewise.
60613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60614 (__pthread_mutex_unlock): Likewise.
60615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60616 (__pthread_mutexattr_init): Likewise.
60617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60618 (__pthread_mutexattr_destroy): Likewise.
60619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60620 (__pthread_mutexattr_settype): Likewise.
60621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60622 (__pthread_rwlock_init): Likewise.
60623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60624 (__pthread_rwlock_destroy): Likewise.
60625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60626 (__pthread_rwlock_rdlock): Likewise.
60627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60628 (__pthread_rwlock_tryrdlock): Likewise.
60629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60630 (__pthread_rwlock_wrlock): Likewise.
60631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60632 (__pthread_rwlock_trywrlock): Likewise.
60633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60634 (__pthread_rwlock_unlock): Likewise.
60635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60636 (__pthread_key_create): Likewise.
60637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60638 (__pthread_setspecific): Likewise.
60639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60640 (__pthread_getspecific): Likewise.
60641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60642 Likewise.
60643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60644 (_pthread_cleanup_push_defer): Likewise.
60645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60646 (_pthread_cleanup_pop_restore): Likewise.
60647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60648 (pthread_setcancelstate): Likewise.
60649 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60650 <bp-sym.h>.
60651 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60652 (memchr): Do not use BP_SYM in weak_alias.
60653 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60654 (fegetenv): Do not use BP_SYM in versioned symbols.
60655 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60656 (fesetenv): Do not use BP_SYM in versioned symbols.
60657 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60658 (feupdateenv): Do not use BP_SYM in versioned symbols.
60659 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60660 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60661 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60662 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60663 (open64): Do not use BP_SYM in weak_alias.
60664 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60665 (fegetenv): Do not use BP_SYM in versioned symbols.
60666 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60667 (fesetenv): Do not use BP_SYM in versioned symbols.
60668 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60669 (feupdateenv): Do not use BP_SYM in versioned symbols.
60670 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60671 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60672 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60673 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60674 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60675 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60676 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60677 <bp-sym.h>.
60678 (__libc_start_main): Do not use BP_SYM.
60679
60680 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60681
60682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60683 redundant return line.
60684 (norm): Likewise.
60685 (denorm): Likewise.
60686 (dbl_mp): Likewise.
60687 (sub_magnitudes): Likewise.
60688 (__add): Likewise.
60689 (__sub): Likewise.
60690 (__mul): Likewise.
60691 (__inv): Likewise.
60692 (__dvd): Likewise.
60693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60694 (norm): Likewise.
60695 (denorm): Likewise.
60696 (dbl_mp): Likewise.
60697 (sub_magnitudes): Likewise.
60698 (__add): Likewise.
60699 (__sub): Likewise.
60700 (__mul): Likewise.
60701 (__inv): Likewise.
60702 (__dvd): Likewise.
60703
60704 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60705 instead of __mul.
60706 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60707 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60708 (cc32): Likewise.
60709
60710 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60711 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60713 of __mul for squares.
60714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60715 function
60716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60717 Likewise.
60718 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60719 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60720
60721 2013-02-13 Joseph Myers <joseph@codesourcery.com>
60722
60723 [BZ #13550]
60724 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60725 code.
60726 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60727 prototype or function definition. Rename ubp_* variables and
60728 parameters. Remove argv definitions conditional on
60729 [__BOUNDED_POINTERS__].
60730 * debug/backtrace.c (__backtrace): Do not use __unbounded.
60731 * elf/dl-runtime.c (_dl_fixup): Likewise.
60732 * include/set-hooks.h (RUN_HOOK): Likewise.
60733 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60734 definition.
60735 * string/strcpy.c (strcpy): Do not use __unbounded.
60736 * sysdeps/generic/frame.h (struct layout): Likewise.
60737 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60738 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60739 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60740 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60741 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60742 (__backtrace): Likewise.
60743 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60744 use __ptrvalue.
60745 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60746 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60747 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60748 Likewise.
60749 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60750 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60751 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60752 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60753 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60754 Do not use __unbounded.
60755 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60756 Rename __unboundedrlimits parameter to rlimits in prototype.
60757 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60758 Do not use __unbounded.
60759 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60760 not use __ptrvalue.
60761 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60762 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60763 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60764 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60765 __ptrvalue or __unbounded.
60766 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60767 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60768 use __unbounded.
60769 (__new_msgctl): Do not use __ptrvalue.
60770 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60771 __unbounded.
60772 (__libc_msgrcv): Do not use __ptrvalue.
60773 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60774 startup_info): Do not use __unbounded.
60775 (__libc_start_main): Likewise. Rename ubp_* variables and
60776 parameters. Remove argv definitions conditional on
60777 [__BOUNDED_POINTERS__].
60778 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60779 __ptrvalue.
60780 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60781 use __unbounded.
60782 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60783 or __ptrvalue.
60784 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60785 use __unbounded.
60786 (__new_shmctl): Do not use __ptrvalue.
60787 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60788 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60789 Likewise.
60790 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60792 (__libc_sigaction): Likewise.
60793 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60794 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60795 Likewise.
60796 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60797
60798 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60799
60800 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60801
60802 * string/mempcpy.c: Implement by calling memcpy.
60803
60804 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60805
60806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60807
60808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60809 evaluation.
60810
60811 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60812 values in the mantissa.
60813
60814 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60815 minimize writes to Z.
60816 (sub_magnitudes): Simplify code a bit.
60817
60818 2013-02-12 Roland McGrath <roland@hack.frob.com>
60819
60820 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60821 from the message. The linker prefixes all warnings with that already.
60822
60823 2013-02-12 Andreas Schwab <schwab@suse.de>
60824
60825 [BZ #15078]
60826 * posix/regexec.c (extend_buffers): Add parameter min_len.
60827 (check_matching): Pass minimum needed length.
60828 (clean_state_log_if_needed): Likewise.
60829 (get_subexp): Likewise.
60830 * posix/Makefile (tests): Add bug-regex34.
60831 (bug-regex34-ENV): Define.
60832 * posix/bug-regex34.c: New file.
60833
60834 [BZ #11561]
60835 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60836 elements compare against the byte sequence of it, not its name.
60837 * posix/Makefile (tests): Add bug-regex35.
60838 (bug-regex35-ENV): Define.
60839 * posix/bug-regex35.c: New file.
60840
60841 2013-02-11 Tom de Vries <tom@codesourcery.com>
60842
60843 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60844 comment.
60845 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60846 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60847 (CHECK_EOL): Add undef.
60848
60849 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60850
60851 * bits/stdlib-bsearch.h: New file.
60852 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60853 * stdlib/stdlib.h: Likewise.
60854
60855 2013-02-11 Roland McGrath <roland@hack.frob.com>
60856
60857 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60858 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60859 declaration.
60860 * manual/search.texi (Array Search Function): Add missing const in
60861 lfind prototype.
60862 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60863 declaration to use rlim_t.
60864 (Basic Scheduling Functions): Remove erroneous const from
60865 sched_getparam prototype. Remove erroneous * from
60866 sched_get_priority_max and sched_get_priority_min prototypes.
60867 (Resource Usage): Fix summary @comment on vtimes to refer to
60868 sys/vtimes.h rather than vtimes.h.
60869 Add missing *s in vtimes prototype.
60870 (Limits on Resources): Fix ulimit prototype to return long int.
60871 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60872 prototypes to use long int rather than double.
60873 (BSD Random): Fix initstate and setstate to use char *, not void *.
60874 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60875 prototype to make second argument 'struct aiocb64 *const[]'.
60876 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60877 (Status of AIO Operations): Remove erroneous const in aio_return and
60878 aio_return64 prototypes.
60879 (Synchronizing I/O): Fix sync prototype to return void.
60880 * manual/startup.texi (Suboptions): Remove an erroneous const in
60881 getsubopt prototype.
60882 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60883 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60884 use size_t rather than int.
60885 (Scanning All Users): Likewise for getpwent_r.
60886 (Setting Groups): Add missing const to setgroups prototype.
60887 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60888 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60889 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60890 'const void *' rather than 'const char *'.
60891 (Host Address Functions): Likewise for inet_ntop.
60892 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60893 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60894 ssize_t for return value.
60895 (Sending Data): Likewise for send, sendto, sendmsg.
60896 (Socket Option Functions): Add a missing const in setsockopt prototype.
60897 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60898 use wchar_t for the argument.
60899 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60900 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60901 take no arguments.
60902 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60903 double/float/long double for second argument.
60904 Fix return types of significand, significandf, significandl.
60905 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60906 argument in fchmod prototype.
60907 (File Owner): Use uid_t and gid_t in fchown prototype.
60908 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60909 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60910 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60911 use 'const struct dirent **' as argument types to CMP function pointer
60912 argument.
60913 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60914 (File Times): Fix summary magic @comment for struct utimbuf and utime
60915 to refer to utime.h, not time.h.
60916 * manual/string.texi (Argz Functions): Add missing const in
60917 argz_extract and argz_next prototypes.
60918 (Finding Tokens in a String): Likewise for basename.
60919 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60920 (Copying and Concatenation): Fix typo in wmemmove prototype.
60921 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60922 (Signal Stack): Remove erroneous const in sigstack prototype.
60923 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60924 prototype.
60925 (Simple Calendar Time): Likewise for stime.
60926 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60927 prototype.
60928 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60929 say sys/sysctl.h instead.
60930 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60931 and vsyslog prototypes.
60932
60933 2013-02-11 Tom de Vries <tom@codesourcery.com>
60934
60935 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60936 Remove.
60937
60938 2013-02-11 Roland McGrath <roland@hack.frob.com>
60939
60940 * misc/sys/mman.h: Fix typo in mremap comment.
60941
60942 2013-02-08 Roland McGrath <roland@hack.frob.com>
60943
60944 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60945 the '\0' terminator.
60946
60947 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60948
60949 [BZ #13550]
60950 * debug/segfault.c: Don't include <bp-checks.h>.
60951 * sysdeps/generic/bp-checks.h: Remove file.
60952 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60953 (__GETDENTS): Don't use CHECK_N.
60954 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60955 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60956 (__getgroups): Don't use CHECK_N.
60957 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60958 (setgroups): Don't use CHECK_N.
60959 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60960 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60961 (__libc_msgrcv): Don't use CHECK_N.
60962 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60963 (__libc_msgsnd): Don't use CHECK_N.
60964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60965 <bp-checks.h>.
60966 (__libc_pread): Don't use CHECK_N.
60967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60968 include <bp-checks.h>.
60969 (__libc_pread64): Don't use CHECK_N.
60970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60971 include <bp-checks.h>.
60972 (__libc_pwrite): Don't use CHECK_N.
60973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60974 include <bp-checks.h>.
60975 (__libc_pwrite64): Don't use CHECK_N.
60976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60977 <bp-checks.h>.
60978 (__libc_pread): Don't use CHECK_N.
60979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60980 include <bp-checks.h>.
60981 (__libc_pread64): Don't use CHECK_N.
60982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60983 include <bp-checks.h>.
60984 (__libc_pwrite): Don't use CHECK_N.
60985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60986 include <bp-checks.h>.
60987 (__libc_pwrite64): Don't use CHECK_N.
60988 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60989 (do_pread): Don't use CHECK_N.
60990 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60991 (do_pread64): Don't use CHECK_N.
60992 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60993 (do_pwrite): Don't use CHECK_N.
60994 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60995 (do_pwrite64): Don't use CHECK_N.
60996 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60997 (__libc_readv): Don't use CHECK_N.
60998 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60999 (semop): Don't use CHECK_N.
61000 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61001 <bp-checks.h>.
61002 (semtimedop): Don't use CHECK_N.
61003 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61004 (__libc_pread): Don't use CHECK_N.
61005 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61006 <bp-checks.h>.
61007 (__libc_pread64): Don't use CHECK_N.
61008 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61009 <bp-checks.h>.
61010 (__libc_pwrite): Don't use CHECK_N.
61011 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61012 <bp-checks.h>.
61013 (__libc_pwrite64): Don't use CHECK_N.
61014 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61015 <bp-checks.h>.
61016 (__libc_msgrcv): Don't use CHECK_N.
61017 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61018 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
61019 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61020 (__libc_writev): Don't use CHECK_N.
61021
61022 2013-02-08 Roland McGrath <roland@hack.frob.com>
61023
61024 * string/strcpy.c: Removed unused variable.
61025
61026 * Makeconfig (+sysdep-includes): Define with := rather than =.
61027 Use an existing include/ subdir of each sysdeps dir before it.
61028
61029 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61030
61031 * nscd/connection.c (register_traced_file): Comment function.
61032 [HAVE_INOTIFY] (union __inev): Define.
61033 [HAVE_INOTIFY] (inotify_check_files): New function.
61034 [HAVE_INOTIFY] (clear_db_cache): Likewise.
61035 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61036 clear_db_cache.
61037 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61038
61039 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61040
61041 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61042 loaded if not already and that a failure is permanent.
61043
61044 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61045
61046 [BZ #15006]
61047 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61048 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61049
61050 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61051
61052 [BZ #13550]
61053 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61054 (CHECK_1_NULL_OK): Likewise.
61055 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61056 (__fxstat): Do not use CHECK_1.
61057 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61058 <bp-checks.h>.
61059 (___fxstat64): Do not use CHECK_1.
61060 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61061 <bp-checks.h>.
61062 (__fxstatat): Do not use CHECK_1.
61063 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61064 <bp-checks.h>.
61065 (__fxstatat64): Do not use CHECK_1.
61066 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61067 <bp-checks.h>.
61068 (__fxstat): Do not use CHECK_1.
61069 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61070 <bp-checks.h>.
61071 (__fxstatat): Do not use CHECK_1.
61072 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61073 <bp-checks.h>.
61074 (__getresgid): Do not use CHECK_1.
61075 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61076 <bp-checks.h>.
61077 (__getresuid): Do not use CHECK_1.
61078 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61079 <bp-checks.h>.
61080 (__lxstat): Do not use CHECK_1.
61081 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61082 <bp-checks.h>.
61083 (__old_msgctl): Do not use CHECK_1.
61084 (__new_msgctl): Likewise.
61085 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61086 <bp-checks.h>.
61087 (__new_setrlimit): Do not use CHECK_1.
61088 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61089 <bp-checks.h>.
61090 (__old_shmctl): Do not use CHECK_1.
61091 (__new_shmctl): Likewise.
61092 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61093 <bp-checks.h>.
61094 (__xstat): Do not use CHECK_1.
61095 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61096 (__lxstat): Do not use CHECK_1.
61097 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61098 <bp-checks.h>.
61099 (___lxstat64): Do not use CHECK_1.
61100 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61101 (__old_msgctl): Do not use CHECK_1.
61102 (__new_msgctl): Likewise.
61103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61104 <bp-checks.h>.
61105 (__gettimeofday): Do not use CHECK_1.
61106 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61107 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61108 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61109 <bp-checks.h>.
61110 (__gettimeofday): Do not use CHECK_1.
61111 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61112 (__old_shmctl): Do not use CHECK_1_NULL_OK.
61113 (__new_shmctl): Do not use CHECK_1.
61114 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61115 <bp-checks.h>.
61116 (do_sigtimedwait): Do not use CHECK_1.
61117 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61118 <bp-checks.h>.
61119 (do_sigwaitinfo): Do not use CHECK_1.
61120 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61121 <bp-checks.h>.
61122 (msgctl): Do not use CHECK_1.
61123 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61124 <bp-checks.h>.
61125 (shmctl): Do not use CHECK_1.
61126 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61127 (ustat): Do not use CHECK_1.
61128 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61129 <bp-checks.h>.
61130 (__fxstat): Do not use CHECK_1.
61131 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61132 <bp-checks.h>.
61133 (__fxstatat): Do not use CHECK_1.
61134 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61135 <bp-checks.h>.
61136 (__lxstat): Do not use CHECK_1.
61137 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61138 <bp-checks.h>.
61139 (__xstat): Do not use CHECK_1.
61140 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61141 (__xstat): Do not use CHECK_1.
61142 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61143 (___xstat64): Do not use CHECK_1.
61144
61145 [BZ #13550]
61146 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61147 definitions.
61148 (CHECK_BOUNDS_HIGH): Likewise.
61149 * string/strcpy.c: Do not include <bp-checks.h>.
61150 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61151
61152 2013-02-07 Roland McGrath <roland@hack.frob.com>
61153
61154 * nscd/nscd-client.h (__nscd_drop_map_ref):
61155 Add __attribute__ ((unused)).
61156 * nis/nss-nisplus.h (niserr2nss): Likewise.
61157
61158 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61159 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61160
61161 * csu/libc-tls.c (init_static_tls, init_slotinfo):
61162 Remove inline keyword.
61163 * include/rounding-mode.h (round_away): Likewise.
61164 * libio/wfileops.c (adjust_wide_data): Likewise.
61165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61166 (__m128i_strloadu_tolower): Likewise.
61167 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61168 (__m128i_strloadu_tolower): Likewise.
61169 * time/mktime.c (ydhms_diff): Likewise.
61170 * locale/elem-hash.h (elem_hash): Likewise.
61171 * locale/setlocale.c (setdata): Likewise.
61172 * posix/regex_internal.h (re_string_char_size_at): Likewise.
61173 (re_string_wchar_at): Likewise.
61174 (bitset_not, bitset_merge, bitset_mask): Likewise.
61175 [!(__GNUC__ > 3)] (inline): Remove macro.
61176 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61177 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61178 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61179 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61180 * string/memcmp.c (memcmp_bytes): Likewise.
61181 * locale/programs/locarchive.c (compute_hashval): Likewise.
61182 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61183 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61184 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61185 * nss/getent.c (print_rpc, print_protocols): Likewise.
61186 (print_passwd, print_group, print_aliases): Likewise.
61187 * nis/nss-nisplus.h (niserr2nss): Likewise.
61188 * nscd/connections.c (restart_p): Likewise.
61189 Change return type to bool.
61190
61191 2013-02-05 Roland McGrath <roland@hack.frob.com>
61192
61193 * Makeconfig (all-Depend-files): Add existing
61194 $(sorted-subdirs:=/Depend) files.
61195 (all-subdirs): Remove nss.
61196 * sysdeps/unix/inet/Subdirs: Add it here instead.
61197 * hesiod/Depend: New file.
61198
61199 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61200 instead of calling alloca.
61201
61202 * io/lseek.c (__lseek): Rename to __libc_lseek.
61203 Define __lseek as an alias.
61204
61205 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61206
61207 2013-02-04 Carlos O'Donell <carlos@redhat.com>
61208
61209 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61210 else clause and remove check for non-standard endianness.
61211
61212 2013-02-04 David S. Miller <davem@davemloft.net>
61213
61214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61215
61216 2013-02-04 Joseph Myers <joseph@codesourcery.com>
61217
61218 [BZ #13550]
61219 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61220 (__ubp_memchr): Remove prototype.
61221 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61222 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61223 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61224 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61225 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61226 Remove alias.
61227 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61228 (__ubp_memchr): Likewise.
61229 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61230 (__ubp_memchr): Likewise.
61231 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61232 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61233 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61234 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61235 CHECK_STRING.
61236 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61237 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61238 (__getcwd): Do not use CHECK_STRING.
61239 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61240 <bp-checks.h>.
61241 (__real_chown): Do not use CHECK_STRING.
61242 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61243 <bp-checks.h>.
61244 (fchownat): Do not use CHECK_STRING.
61245 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61246 CHECK_STRING.
61247 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61248 <bp-checks.h>.
61249 (__lchown): Do not use CHECK_STRING.
61250 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61251 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61252 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61253 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61255 include <bp-checks.h>.
61256 (truncate64): Do not use CHECK_STRING.
61257 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61258 <bp-checks.h>.
61259 (__real_chown): Do not use CHECK_STRING.
61260 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61261 <bp-checks.h>.
61262 (__lchown): Do not use CHECK_STRING.
61263 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61264 <bp-checks.h>.
61265 (__chown): Do not use CHECK_STRING.
61266 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61267 <bp-checks.h>.
61268 (truncate64): Do not use CHECK_STRING.
61269 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61270 Likewise.
61271 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61272 (__xmknod): Do not use CHECK_STRING.
61273 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61274 <bp-checks.h>.
61275 (__xmknodat): Do not use CHECK_STRING.
61276 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61277 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61278
61279 2013-02-04 Andreas Schwab <schwab@suse.de>
61280
61281 [BZ #14142]
61282 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61283 * include/netdb.h: Likewise for h_errno.
61284 * elf/tst-stackguard1.c: Include <tls.h>.
61285
61286 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61287
61288 * elf/link.h (struct link_map): Extend the l_addr comment.
61289 * include/link.h (struct link_map): Likewise.
61290
61291 2013-02-01 Joseph Myers <joseph@codesourcery.com>
61292
61293 [BZ #13550]
61294 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61295 (BOUNDED_1): Remove macro.
61296 * debug/backtrace.c: Don't include <bp-checks.h>.
61297 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61298 (__backtrace): Likewise.
61299 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61300 <bp-checks.h>.
61301 (__backtrace): Don't use BOUNDED_1.
61302 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61303 <bp-checks.h>.
61304 (__backtrace): Don't use BOUNDED_1.
61305 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61306 (__backtrace): Don't use BOUNDED_1.
61307 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61308 (shmat): Don't use BOUNDED_N.
61309
61310 2013-01-31 Joseph Myers <joseph@codesourcery.com>
61311
61312 [BZ #13550]
61313 * sysdeps/generic/bp-start.h: Remove file.
61314 * csu/libc-start.c: Don't include <bp-start.h>.
61315 (LIBC_START_MAIN): Set up __environ directly instead of using
61316 INIT_ARGV_and_ENVIRON.
61317 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61318 <bp-start.h>.
61319
61320 [BZ #13550]
61321 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61322 definitions.
61323 (CHECK_FCNTL): Likewise.
61324 (CHECK_N_PAGES): Likewise.
61325
61326 [BZ #13550]
61327 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61328 definitions.
61329 (CHECK_SIGSET_NULL_OK): Likewise.
61330 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61331 <bp-checks.h>.
61332 (sigpending): Don't use CHECK_SIGSET.
61333 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61334 <bp-checks.h>.
61335 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61336 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61337 <bp-checks.h>.
61338 (do_sigsuspend): Don't use CHECK_SIGSET.
61339 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61340 use CHECK_SIGSET.
61341 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61342 (do_sigwait): Don't use CHECK_SIGSET.
61343 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61344 use CHECK_SIGSET.
61345 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61346 include <bp-checks.h>.
61347 (sigpending): Don't use CHECK_SIGSET.
61348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61349 include <bp-checks.h>.
61350 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61351 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61352 <bp-checks.h>.
61353 (sigpending): Don't use CHECK_SIGSET.
61354 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61355 <bp-checks.h>.
61356 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61357
61358 [BZ #13550]
61359 * sysdeps/generic/bp-semctl.h: Remove file.
61360 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61361 <bp-checks.h> and <bp-semctl.h>.
61362 (__old_semctl): Don't use CHECK_SEMCTL.
61363 (__new_semctl): Likewise.
61364 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61365 and <bp-semctl.h>.
61366 (__old_semctl): Don't use CHECK_SEMCTL.
61367 (__new_semctl): Likewise.
61368 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61369 <bp-checks.h> and <bp-semctl.h>.
61370 (__old_semctl): Don't use CHECK_SEMCTL.
61371 (__new_semctl): Likewise.
61372 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61373 <bp-checks.h> and <bp-semctl.h>.
61374 (semctl): Don't use CHECK_SEMCTL.
61375
61376 [BZ #13550]
61377 * Makerules (elide-bp-thunks): Remove variable.
61378 (elide-routines.oS): Don't use $(elide-bp-thunks).
61379 (elide-routines.os): Likewise.
61380 (elide-routines.o): Likewise.
61381 (elide-routines.op): Likewise.
61382 (elide-routines.og): Likewise.
61383 (objects): Don't use $(bp-thunks).
61384 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61385 include.
61386 (common-generated): Do not add s-proto-bp.d.
61387 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61388 (int): Likewise.
61389 (typ): Likewise.
61390 Do not generate makefile rules for bounded-pointer thunks.
61391 * sysdeps/generic/bp-thunks.h: Remove file.
61392 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61393 * sysdeps/unix/s-proto-bp.S: Likewise.
61394
61395 [BZ #15062]
61396 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61397 parts of result separately when argument is not close to line from
61398 -i to i and one part of argument is small.
61399 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61400 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61401 * math/libm-test.inc (cacos_test): Add more tests.
61402 (casin_test): Likewise.
61403 (casinh_test): Likewise.
61404 * sysdeps/i386/fpu/libm-test-ulps: Update.
61405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61406
61407 2013-01-31 David S. Miller <davem@davemloft.net>
61408
61409 * po/de.po: Update from translation team.
61410
61411 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61412
61413 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61414
61415 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61416
61417 * configure.in (_AC_PROG_CC_C89): New definition.
61418 * configure: Regenerate.
61419
61420 * configure.in (AC_PROG_CPP): New definition.
61421 * configure: Regenerate.
61422
61423 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61424
61425 * debug/tst-backtrace.h: New file.
61426 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61427 (ret): Remove variable.
61428 (x): Likewise.
61429 (FAIL): Remove macro.
61430 (NO_INLINE): Likewise.
61431 (fn1): Use match function instead of strstr.
61432 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61433 (ret): Remove variable.
61434 (x): Likewise.
61435 (FAIL): Remove macro.
61436 (NO_INLINE): Likewise.
61437 (fn): Use match function instead of strstr.
61438 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61439 (ret): Remove variable.
61440 (x): Likewise.
61441 (FAIL): Remove macro.
61442 (NO_INLINE): Likewise.
61443 (handle_signal): Use match function instead of strstr.
61444 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61445 (ret): Remove variable.
61446 (x): Likewise.
61447 (FAIL): Remove macro.
61448 (NO_INLINE): Likewise.
61449 (handle_signal): Use match function instead of strstr.
61450
61451 2013-01-23 Roland McGrath <roland@hack.frob.com>
61452
61453 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61454
61455 2013-01-23 David S. Miller <davem@davemloft.net>
61456
61457 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61458 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61459 argument of CAS if possible.
61460 * sysdeps/sparc/sparc64/bits/atomic.h
61461 (__arch_compare_and_exchange_val_32_acq): Likewise.
61462 (__arch_compare_and_exchange_val_64_acq): Likewise.
61463
61464 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61465
61466 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61467 * sysdeps/posix/ulimit.c: ... this.
61468 Include <limits.h>.
61469 * sysdeps/unix/bsd/ulimit.c: Remove file.
61470
61471 2013-01-23 Adam Conrad <adconrad@0c3.net>
61472
61473 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61474 (LDFLAGS-tst-array5): Likewise.
61475
61476 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61477
61478 [BZ #15036]
61479 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61480 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61481 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61482 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61483
61484 2013-01-21 David S. Miller <davem@davemloft.net>
61485
61486 * sysdeps/sparc/backtrace.c: New file.
61487 * sysdeps/sparc/sparc32/backtrace.h: New file.
61488 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61489 * sysdeps/sparc/sparc64/backtrace.h: New file.
61490 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61491 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61492 -funwind-tables.
61493
61494 2013-01-21 Andreas Schwab <schwab@suse.de>
61495
61496 [BZ #15020]
61497 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61498 closed its stdout.
61499
61500 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61501
61502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61503 "mpa2.h".
61504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61505
61506 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61507 Mark Mitchell <mark@codesourcery.com>
61508 Tom de Vries <tom@codesourcery.com>
61509 Paul Pluzhnikov <ppluzhnikov@google.com>
61510
61511 * debug/tst-backtrace2.c: New file.
61512 * debug/tst-backtrace3.c: Likewise.
61513 * debug/tst-backtrace4.c: Likewise.
61514 * debug/tst-backtrace5.c: Likewise.
61515 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61516 (CFLAGS-tst-backtrace3.c): Likewise.
61517 (CFLAGS-tst-backtrace4.c): Likewise.
61518 (CFLAGS-tst-backtrace5.c): Likewise.
61519 (LDFLAGS-tst-backtrace2): Likewise.
61520 (LDFLAGS-tst-backtrace3): Likewise.
61521 (LDFLAGS-tst-backtrace4): Likewise.
61522 (LDFLAGS-tst-backtrace5): Likewise.
61523 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61524 tst-backtrace4 and tst-backtrace5.
61525
61526 2013-01-18 Anton Blanchard <anton@samba.org>
61527 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61528
61529 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61530 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61531 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61532 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61534 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61535 "+r" and remove output regs list as redundant. Add explicit inline
61536 asm to specify register of return val to work around compiler codegen
61537 bug. Remove (int) cast on return value. Add return type parameter to
61538 use in macro so that this macro does not truncate return value for
61539 64-bit values.
61540 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61541 pass to INTERNAL_VSYSCALL_NCS.
61542 (INLINE_VSYSCALL): Add 'long int' as return type to
61543 INTERNAL_VSYSCALL_NCS macro invocation.
61544 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61545 INTERNAL_VSYSCALL_NCS macro invocation.
61546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61547
61548 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61549
61550 [BZ #14496]
61551 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61552 Fix application of SIMD FP exception mask.
61553
61554 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61555 mp_no from a power of two.
61556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61557 __mpexp_twomm1. Use __pow_mp.
61558
61559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61560 multiplication.
61561
61562 2013-01-17 David S. Miller <davem@davemloft.net>
61563
61564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61565
61566 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61567
61568 [BZ #15023]
61569 * include/complex.h: Condition contents on [!_COMPLEX_H].
61570 (__kernel_casinhf): New prototype.
61571 (__kernel_casinh): Likewise.
61572 (__kernel_casinhl): Likewise.
61573 * math/Makefile (libm_calls): Add k_casinh.
61574 * math/k_casinh.c: New file.
61575 * math/k_casinhf.c: Likewise.
61576 * math/k_casinhl.c: Likewise.
61577 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61578 finite nonzero arguments.
61579 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61580 finite nonzero arguments.
61581 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61582 finite nonzero arguments.
61583 * math/s_casinh.c: Do not include <float.h>.
61584 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61585 * math/s_casinhf.c: Do not include <float.h>.
61586 (__casinhf): Move code for finite nonzero arguments to
61587 k_casinhf.c.
61588 * math/s_casinhl.c: Do not include <float.h>.
61589 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61590 redefine.
61591 (__casinhl): Move code for finite nonzero arguments to
61592 k_casinhl.c.
61593 * math/libm-test.inc (cacos_test): Add more tests.
61594 * sysdeps/i386/fpu/libm-test-ulps: Update.
61595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61596
61597 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61598
61599 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61600 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61601 [!HAVE_MREMAP]: Remove [defined linux] case.
61602 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61603
61604 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61605
61606 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61607
61608 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61609
61610 * elf/elf.h (R_386_SIZE32): New relocation.
61611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61612 R_386_SIZE32.
61613 (elf_machine_rela): Likewise.
61614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61615 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61616
61617 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61618
61619 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61620 (FP_FAST_FMA): Do not define.
61621 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61622 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61623 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61624 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61625 !_SOFT_FLOAT]: Likewise.
61626 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61627 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61628 value.
61629 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61630 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61632 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61633 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61634 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61635 file.
61636
61637 2013-01-16 Andreas Schwab <schwab@suse.de>
61638
61639 [BZ #14327]
61640 * include/stdlib.h (__mktemp): Add declaration.
61641 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61642 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61643
61644 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61645
61646 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61647 definitions.
61648 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61649 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61650 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61651 definitions here.
61652 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61653 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61654 definitions.
61655 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61656 and ONE.
61657 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61658 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61659 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61660 definitions.
61661 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61662 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61663 definitions.
61664 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61665
61666 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61667
61668 2013-01-15 David S. Miller <davem@davemloft.net>
61669
61670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61671 trunc{,f} to libm-sysdep_routes.
61672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61674 file.
61675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61677 file.
61678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61679 file.
61680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61682 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61683 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61684 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61685 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61686 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61687 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61688
61689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61690 nearbyint{,f} to libm-sysdep_routes.
61691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61693 New file.
61694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61695 file.
61696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61697 New file.
61698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61699 file.
61700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61702 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61703 file.
61704 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61705 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61706 file.
61707 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61708 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61709 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61710
61711 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61712 libc_feholdexcept and libc_fesetenv.
61713
61714 2013-01-15 Mike Frysinger <vapier@gentoo.org>
61715
61716 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61717
61718 2013-01-14 David S. Miller <davem@davemloft.net>
61719
61720 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61721 (SPARC_ASM_VIS2_IFUNC): Likewise.
61722 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61724 use of 'siam' instruction.
61725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61726 Likewise.
61727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61728 Likewise.
61729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61730 Likewise.
61731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61736 file.
61737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61738 file.
61739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61740 file.
61741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61742 file.
61743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61748 new VIS2 routines.
61749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61752 Likewise.
61753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61758 routines to libm-sysdep_routines.
61759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61760
61761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61762 fdim/fdimf to libm-sysdep_routines.
61763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61764 file.
61765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61767 file.
61768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61771 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61772 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61773 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61774 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61775
61776 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61777
61778 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61779 to optimize copies.
61780
61781 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61784
61785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61786 local variable MPTWO.
61787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61788 Likewise.
61789
61790 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61791
61792 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61793 GLOB_NOESCAPE.
61794
61795 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61796
61797 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61798
61799 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61800
61801 * manual/pattern.texi (glob_t): Document gl_flags.
61802 (glob64_t): Likewise.
61803
61804 2013-01-11 David S. Miller <davem@davemloft.net>
61805
61806 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61807 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61808 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61809 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61810 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61811 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61812 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61813 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61814 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61815 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61816 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61817 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61818 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61819
61820 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61821 sparc V9 rather than using V8 code.
61822 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61823 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61824
61825 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61826 Move to...
61827 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61828 Here.
61829
61830 2013-01-11 Roland McGrath <roland@hack.frob.com>
61831
61832 [BZ #14941]
61833 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61834 not in the main loop.
61835 * configure: Regenerated.
61836
61837 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61838
61839 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61840 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61841 to just #else.
61842 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61843 [!__GLIBC_HAVE_LONG_LONG] case.
61844 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61845 condition to just #else.
61846 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61847 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61848 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61849 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61850 unconditional.
61851 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61852 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61853 #elif condition to just #else.
61854 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61855 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61856 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61857 #elif condition to just #else.
61858
61859 2013-01-11 Steve Ellcey <sellcey@mips.com>
61860
61861 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61862 (EF_MIPS_ARCH_64): Fix value.
61863 (EF_MIPS_ARCH_32R2): New.
61864 (EF_MIPS_ARCH_64R2): New.
61865
61866 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61867
61868 * Makeconfig (+link-pie-before-libc): New.
61869 (+link-pie-after-libc): Likewise.
61870 (+link-pie-tests): Likewise.
61871 (+link-pie): Rewritten.
61872 (link-before-libc): Remove $(config-LDFLAGS).
61873 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61874 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61875 (config-LDFLAGS): Renamed to ...
61876 (rtld-LDFLAGS): This.
61877 (rtld-tests-LDFLAGS): New macro.
61878 (link-libc-rpath-link): Likewise.
61879 (link-libc-tests-rpath-link): Likewise.
61880 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61881 (link-libc): Prepand $(link-libc-rpath-link).
61882 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61883 (test-program-prefix): New macro.
61884 (test-via-rtld-prefix): Likewise.
61885 (test-program-cmd): Likewise.
61886 (host-test-program-cmd): Likewise.
61887 * Makefile ($(common-objpfx)testrun.sh): Replace
61888 $(run-program-prefix) with $(test-program-prefix).
61889 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61890 $(rtld-LDFLAGS).
61891 ($(common-objpfx)shlib.lds): Likewise.
61892 (build-module-helper): Likewise.
61893 ($(common-objpfx)format.lds): Likewise.
61894 * Rules (binaries-pie-tests): New.
61895 (binaries-pie-notests): Likewise.
61896 (binaries-pie): Rewritten.
61897 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61898 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61899 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61900 (make-test-out): Replace $(host-built-program-cmd) with
61901 $(host-test-program-cmd).
61902 * config.make.in (build-hardcoded-path-in-tests): New variable.
61903 * configure.in (--enable-hardcoded-path-in-tests): New configure
61904 option.
61905 (hardcoded_path_in_tests): New AC_SUBST.
61906 * configure: Regenerated.
61907 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61908 $(built-program-cmd) with $(test-program-cmd).
61909 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61910 (test_program_cmd): This.
61911 * elf/Makefile ($(objpfx)order.out): Run test with
61912 $(test-program-prefix).
61913 ($(objpfx)order2.out): Likewise.
61914 ($(objpfx)tst-initorder.out): Likewise.
61915 ($(objpfx)tst-initorder2.out): Likewise.
61916 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61917 $(test-program-cmd).
61918 ($(objpfx)tst-array1-static.out): Likewise.
61919 ($(objpfx)tst-array2.out): Likewise.
61920 ($(objpfx)tst-array3.out): Likewise.
61921 ($(objpfx)tst-array4.out): Likewise.
61922 ($(objpfx)tst-array5.out): Likewise.
61923 ($(objpfx)tst-array5-static.out): Likewise.
61924 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61925 $(test-program-cmd).
61926 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61927 $(run-program-prefix) with $(test-program-prefix).
61928 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61929 (test_program_prefix): This.
61930 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61931 $(run-program-prefix) with $(test-program-prefix).
61932 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61933 (test_program_prefix): This.
61934 * iconvdata/tst-tables.sh: Likewise.
61935 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61936 $(run-program-prefix) with $(test-program-prefix).
61937 ($(objpfx)tst-translit.out): Likewise.
61938 ($(objpfx)tst-gettext2.out): Likewise.
61939 ($(objpfx)tst-gettext4.out): Likewise.
61940 ($(objpfx)tst-gettext6.out): Likewise.
61941 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61942 (test_program_prefix): This.
61943 * intl/tst-gettext2.sh: Likewise.
61944 * intl/tst-gettext4.sh Likewise.
61945 * intl/tst-gettext6.sh: Likewise.
61946 * intl/tst-translit.sh: Likewise.
61947 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61948 with $(test-program-cmd).
61949 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61950 $(run-program-prefix) with $(test-program-prefix).
61951 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61952 (test_program_prefix): This.
61953 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61954 $(run-program-prefix) with $(test-program-prefix).
61955 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61956 (test_program_prefix): This.
61957 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61958 * posix/Makefile ($(objpfx)globtest.out): Replace
61959 $(run-via-rtld-prefix) and $(test-wrapper) with
61960 $(test-program-prefix) and $(test-via-rtld-prefix).
61961 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61962 $(test-program-prefix).
61963 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61964 $(host-test-program-cmd).
61965 (tst-spawn-ARGS): Likewise.
61966 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61967 $(test-program-prefix).
61968 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61969 (test_via_rtld_prefix): This.
61970 (test_wrapper): Renamed to ...
61971 (test_program_prefix): This.
61972 (run_program_prefix): Replaced by test_program_prefix.
61973 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61974 (test_program_prefix): This.
61975 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61976 with $(host-test-program-cmd).
61977 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61978 $(run-program-prefix) with $(test-program-prefix).
61979 ($(objpfx)tst-printf.out): Likewise.
61980 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61981 $(test-program-cmd).
61982 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61983 (test_program_prefix): This.
61984 * stdio-common/tst-unbputc.sh: Likewise.
61985 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61986 $(run-program-prefix) with $(test-program-prefix).
61987 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61988 (test_program_prefix): This.
61989 * string/Makefile ($(objpfx)tst-svc.out): Replace
61990 $(built-program-cmd) with $(test-program-cmd).
61991
61992 2013-01-11 Andreas Jaeger <aj@suse.de>
61993
61994 [BZ #15003]
61995 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61996 value. Sync with Linux 3.7.
61997
61998 2013-01-10 David S. Miller <davem@davemloft.net>
61999
62000 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62001 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62002 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62003
62004 2013-01-10 Roland McGrath <roland@hack.frob.com>
62005
62006 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62007 never set.
62008 * configure: Regenerated.
62009
62010 2013-01-10 David S. Miller <davem@davemloft.net>
62011
62012 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62013 sparc V9 rather than using V8 code.
62014 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62015 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62016
62017 2013-01-10 Roland McGrath <roland@hack.frob.com>
62018
62019 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62020 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62021 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62022 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62023 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62024 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62025 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62026 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62027 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62028 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62029 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62030 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62031 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62032 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62033 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62034 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62035 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62036 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62037 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62038 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62039 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62040 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62041 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62042 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62043 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62044 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62045 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62046
62047 2013-01-10 David S. Miller <davem@davemloft.net>
62048
62049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62050
62051 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62052
62053 * posix/Makefile (tests-static): New variable.
62054 (tests): Add $(tests-static).
62055 (tst-exec-static-ARGS): New variable.
62056 (tst-spawn-static-ARGS): Likewise.
62057 * posix/tst-exec-static.c: New file.
62058 * posix/tst-spawn-static.c: Likewise.
62059 * posix/tst-exec.c: Support run directly.
62060 * posix/tst-spawn.c: Likewise.
62061
62062 2013-01-10 Joseph Myers <joseph@codesourcery.com>
62063
62064 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62065 long.
62066 * math/bits/mathcalls.h (llrint): Likewise.
62067 (llround): Likewise.
62068 * stdlib/stdlib.h (struct drand48_data): Likewise.
62069 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62070 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62071 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62072 Likewise.
62073 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62074 Likewise.
62075 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62076 (elf_greg_t): Likewise.
62077 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62078 (__jmp_buf): Likewise.
62079 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62080 definitions.
62081 (llrint): Likewise, for all definitions.
62082 (llrintl): Likewise.
62083
62084 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62085 Remove [__GNUC__] condition.
62086 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62087 condition to just [__USE_ISOC99].
62088 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62089
62090 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62091
62092 [BZ #14200]
62093 * sysdeps/unix/sysv/linux/x86/bits/environments.h
62094 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62095 defined.
62096 (_POSIX_V6_ILP32_OFF32): Likewise.
62097 (_XBS5_ILP32_OFF32): Likewise.
62098 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62099 (__ILP32_OFFBIG_LDFLAGS): Likewise.
62100
62101 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
62102
62103 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62104
62105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62106 doubles __mpexp_twomm1. Adjust usage.
62107 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62108 Remove.
62109
62110 2013-01-10 Andreas Schwab <schwab@suse.de>
62111
62112 [BZ #14964]
62113 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62114 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62115
62116 2013-01-09 David S. Miller <davem@davemloft.net>
62117
62118 [BZ #15003]
62119 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62120 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62121 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62122 (TCP_FASTOPEN): Define.
62123 (tcp_repair_opt): New structure.
62124 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62125 enum values.
62126 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62127 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62128 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62129 (tcp_cookie_transactions): New structure.
62130
62131 2013-01-09 Anton Blanchard <anton@samba.org>
62132
62133 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62134 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62136 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62137
62138 2013-01-09 Joseph Myers <joseph@codesourcery.com>
62139
62140 * include/features.h (__USE_ANSI): Remove.
62141
62142 2013-01-09 Roland McGrath <roland@hack.frob.com>
62143
62144 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62145
62146 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62147
62148 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
62149
62150 * sysdeps/s390/fpu/libm-test-ulps: Update.
62151
62152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62153
62154 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62155 (__acr): Likewise.
62156 (__cpy): Likewise.
62157 (norm): Likewise.
62158 (denorm): Likewise.
62159 (__mp_dbl): Likewise.
62160 (__dbl_mp): Likewise.
62161 (add_magnitudes): Likewise.
62162 (sub_magnitudes): Likewise.
62163 (__add): Likewise.
62164 (__sub): Likewise.
62165 (__mul): Likewise.
62166 (__inv): Likewise.
62167 (__dvd): Likewise.
62168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62169 (__acr): Likewise.
62170 (__cpy): Likewise.
62171 (norm): Likewise.
62172 (denorm): Likewise.
62173 (__mp_dbl): Likewise.
62174 (__dbl_mp): Likewise.
62175 (add_magnitudes): Likewise.
62176 (sub_magnitudes): Likewise.
62177 (__add): Likewise.
62178 (__sub): Likewise.
62179 (__mul): Likewise.
62180 (__inv): Likewise.
62181 (__dvd): Likewise.
62182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62183 (__acr): Likewise.
62184 (__cpy): Likewise.
62185 (norm): Likewise.
62186 (denorm): Likewise.
62187 (__mp_dbl): Likewise.
62188 (__dbl_mp): Likewise.
62189 (add_magnitudes): Likewise.
62190 (sub_magnitudes): Likewise.
62191 (__add): Likewise.
62192 (__sub): Likewise.
62193 (__mul): Likewise.
62194 (__inv): Likewise.
62195 (__dvd): Likewise.
62196
62197 2013-01-08 Joseph Myers <joseph@codesourcery.com>
62198
62199 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62200 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62201 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62202 2 && __USE_EXTERN_INLINES]: Likewise.
62203
62204 2013-01-08 Andreas Jaeger <aj@suse.de>
62205
62206 [BZ# 14985]
62207 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62208 Remove.
62209 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62210 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62211
62212 2013-01-07 Anton Blanchard <anton@samba.org>
62213
62214 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62215 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62216 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62217 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62218 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62219 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62220 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62221 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62223 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62224 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62225 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62226 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62227 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62228 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62229 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62230 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62231 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62232 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62233 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62235 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62237 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62238 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62239 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62240 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62241 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62243 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62244 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62246 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62247 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62248 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62249 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62250 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62252 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62253 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62254 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62255 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62256 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62257
62258 2013-01-07 Joseph Myers <joseph@codesourcery.com>
62259
62260 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62261 (__MALLOC_PMT): Likewise.
62262 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62263 [__GNUC__], only on [_LIBC].
62264 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62265 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62266 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62267 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62268 forward declaration.
62269 (realloc_hook_ini): Likewise.
62270 (memalign_hook_ini): Likewise.
62271 (__libc_memalign): Do not use __MALLOC_PMT in variable
62272 declaration.
62273 (__libc_valloc): Likewise.
62274 (__libc_pvalloc): Likewise.
62275 (__libc_calloc): Likewise.
62276 (__posix_memalign): Likewise.
62277
62278 [BZ #14996]
62279 * math/s_casinh.c: Include <float.h>.
62280 (__casinh): Do not do computation with squaring and square root
62281 for large arguments.
62282 * math/s_casinhf.c: Include <float.h>.
62283 (__casinhf): Do not do computation with squaring and square root
62284 for large arguments.
62285 * math/s_casinhl.c: Include <float.h>.
62286 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62287 (__casinhl): Do not do computation with squaring and square root
62288 for large arguments.
62289 * math/libm-test.inc (casin_test): Add more tests.
62290 (casinh_test): Likewise.
62291 * sysdeps/i386/fpu/libm-test-ulps: Update.
62292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62293
62294 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
62295
62296 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62297 (__x86_64_raw_data_cache_size): Likewise.
62298 (__x86_64_data_cache_size_half): Likewise.
62299 (__x86_64_raw_data_cache_size_half): Likewise.
62300 (__x86_64_shared_cache_size): Likewise.
62301 (__x86_64_raw_shared_cache_size): Likewise.
62302 (__x86_64_shared_cache_size_half): Likewise.
62303 (__x86_64_raw_shared_cache_size_half): Likewise.
62304 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62305 to ...
62306 (__x86_data_cache_size): This.
62307 (__x86_64_raw_data_cache_size): Renamed to ...
62308 (__x86_raw_data_cache_size): This.
62309 (__x86_64_data_cache_size_half): Renamed to ...
62310 (__x86_data_cache_size_half): This.
62311 (__x86_64_raw_data_cache_size_half): Renamed to ...
62312 (__x86_raw_data_cache_size_half): This.
62313 (__x86_64_shared_cache_size): Renamed to ...
62314 (__x86_shared_cache_size): This.
62315 (__x86_64_raw_shared_cache_size): Renamed to ...
62316 (__x86_raw_shared_cache_size): This.
62317 (__x86_64_shared_cache_size_half): Renamed to ...
62318 (__x86_shared_cache_size_half): This.
62319 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62320 (__x86_raw_shared_cache_size_half): This.
62321 * sysdeps/x86_64/memcpy.S: Updated.
62322 * sysdeps/x86_64/memset.S: Likewise.
62323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62324 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62326
62327 2013-01-04 David S. Miller <davem@davemloft.net>
62328
62329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62330
62331 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62332
62333 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62334 1 to avoid redefinition warning.
62335 (__USE_GNU): Don't define.
62336 (init_signaling_nan): Protoize.
62337
62338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62339
62340 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62341
62342 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62344 (__cpymn): Likewise.
62345 (norm): Remove commented code.
62346 (denorm): Likewise.
62347 (__mp_dbl): Likewise.
62348 (__inv): Likewise.
62349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62350 (__cpymn): Likewise.
62351 (norm): Remove commented code.
62352 (denorm): Likewise.
62353 (__mp_dbl): Likewise.
62354 (__inv): Likewise.
62355
62356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62357 mp_no value for 1.0 and 2.0.
62358 (norm): Use RADIXI instead of radixi.d.
62359 (denorm): Likewise.
62360 (__mul): Use 0.0 instead of zero.d.
62361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62362 mp_no value for 1.0 and 2.0.
62363 (norm): Use RADIXI instead of radixi.d.
62364 (denorm): Likewise.
62365 (__mul): Use 0.0 instead of zero.d.
62366
62367 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62368
62369 [BZ #14994]
62370 * math/s_casinh.c (__casinh): Reduce finite argument to first
62371 quadrant then set signs of results at the end.
62372 * math/s_casinhf.c (__casinhf): Likewise.
62373 * math/s_casinhl.c (__casinhl): Likewise.
62374 * math/libm-test.inc (casin_test): Add more tests.
62375 (casinh_test): Likewise.
62376 * sysdeps/i386/fpu/libm-test-ulps: Update.
62377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62378
62379 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62380
62381 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62382
62383 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62384
62385 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62386 declarations.
62387 (denorm): Likewise.
62388 (__mp_dbl): Likewise.
62389 (__inv): Likewise.
62390
62391 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62392 and adjust the header comment.
62393
62394 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62395 variable name from declaration.
62396
62397 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62398
62399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62400 Initialize COMMON_CPUID_INDEX_7 element.
62401 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62402 (CPUID_RTM): Likewise.
62403 (HAS_RTM): Likewise.
62404 (COMMON_CPUID_INDEX_7): New enum.
62405
62406 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62407
62408 [BZ #14981]
62409 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62410 size is zero, record memory as freed.
62411
62412 2013-01-03 Andreas Jaeger <aj@suse.de>
62413
62414 * po/ia.po: Add new Interlingua translation.
62415
62416 2012-01-03 Allan McRae <allan@archlinux.org>
62417
62418 * locale/programs/localedef.c: Fix description of '--posix' flag.
62419
62420 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62421
62422 * NEWS: Update dates in second copyright notice.
62423 * README: Update copyright dates in example.
62424 * manual/libc.texinfo: Update copyright dates.
62425 * scripts/test-installation.pl: Update copyright date in --version
62426 output.
62427
62428 * hurd/ctty-input.c: Fix copyright notice formatting.
62429 * hurd/ctty-output.c: Likewise.
62430 * hurd/dtable.c: Likewise.
62431 * hurd/hurd-raise.c: Likewise.
62432 * hurd/hurdprio.c: Likewise.
62433 * hurd/msgportdemux.c: Likewise.
62434 * misc/sys/file.h: Likewise.
62435 * misc/sys/ioctl.h: Likewise.
62436 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62437 * sysdeps/mach/hurd/chdir.c: Likewise.
62438 * sysdeps/mach/hurd/fchdir.c: Likewise.
62439 * sysdeps/mach/hurd/rename.c: Likewise.
62440 * sysdeps/mach/hurd/rmdir.c: Likewise.
62441 * sysdeps/mach/hurd/seekdir.c: Likewise.
62442 * sysdeps/mach/hurd/setsid.c: Likewise.
62443 * sysdeps/posix/wait3.c: Likewise.
62444
62445 * All files with FSF copyright notices: Update copyright dates
62446 using scripts/update-copyrights.
62447 * intl/plural.c: Regenerated.
62448 * locale/programs/charmap-kw.h: Likewise.
62449 * locale/programs/locfile-kw.h: Likewise.
62450
62451 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62452
62453 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62454 four values.
62455
62456 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62457 calculation loop and add branch prediction.
62458
62459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62460 check access beyond bounds of m1np.
62461
62462 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62463 MPTWO.
62464 (__inv): Remove local variable MPTWO to use the global
62465 constant.
62466 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62467 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62468 variable MPTWO.
62469 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62470 MP3HALFS static const.
62471
62472 2013-01-01 David S. Miller <davem@davemloft.net>
62473
62474 * po/ca.po: Update from translation team.
62475
62476 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62477
62478 * scripts/update-copyrights: New file.
62479 * Makeconfig: Reformat copyright notice.
62480 * ctype/ctype.h: Likewise.
62481 * debug/swprintf_chk.c: Likewise.
62482 * elf/dl-cache.c: Likewise.
62483 * elf/dl-debug.c: Likewise.
62484 * elf/dl-object.c: Likewise.
62485 * grp/initgroups.c: Likewise.
62486 * hurd/Makefile: Likewise.
62487 * hurd/hurd/signal.h: Likewise.
62488 * hurd/hurdfault.c: Likewise.
62489 * hurd/hurdioctl.c: Likewise.
62490 * hurd/hurdlookup.c: Likewise.
62491 * hurd/intr-msg.c: Likewise.
62492 * iconv/gconv_open.c: Likewise.
62493 * libio/swprintf.c: Likewise.
62494 * locale/lc-ctype.c: Likewise.
62495 * locale/nl_langinfo.c: Likewise.
62496 * mach/Machrules: Likewise.
62497 * mach/Makefile: Likewise.
62498 * malloc/obstack.h: Likewise.
62499 * manual/Makefile: Likewise.
62500 * manual/tsort.awk: Likewise.
62501 * misc/bits/stab.def: Likewise.
62502 * nis/nis_print_group_entry.c: Likewise.
62503 * nis/nis_table.c: Likewise.
62504 * nis/nss_compat/compat-pwd.c: Likewise.
62505 * nis/nss_compat/compat-spwd.c: Likewise.
62506 * po/Makefile: Likewise.
62507 * posix/fnmatch.c: Likewise.
62508 * posix/regex.h: Likewise.
62509 * resolv/Makefile: Likewise.
62510 * resolv/nss_dns/dns-network.c: Likewise.
62511 * resolv/res_hconf.c: Likewise.
62512 * scripts/gen-sorted.awk: Likewise.
62513 * soft-fp/soft-fp.h: Likewise.
62514 * stdio-common/printf.h: Likewise.
62515 * stdlib/monetary.h: Likewise.
62516 * stdlib/random.c: Likewise.
62517 * stdlib/random_r.c: Likewise.
62518 * sysdeps/generic/Makefile: Likewise.
62519 * sysdeps/gnu/Makefile: Likewise.
62520 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62522 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62524 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62527 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62530 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62531 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62532 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62533 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62534 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62535 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62538 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62543 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62544 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62546 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62547 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62548 * sysdeps/mach/hurd/errnos.awk: Likewise.
62549 * sysdeps/mach/hurd/fork.c: Likewise.
62550 * sysdeps/mach/hurd/getcwd.c: Likewise.
62551 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62552 * sysdeps/mach/hurd/mmap.c: Likewise.
62553 * sysdeps/mach/hurd/utimes.c: Likewise.
62554 * sysdeps/mach/hurd/xmknod.c: Likewise.
62555 * sysdeps/posix/profil.c: Likewise.
62556 * sysdeps/posix/readdir_r.c: Likewise.
62557 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62558 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62559 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62560 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62562 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62563 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62564 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62566 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62567 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62568 * sysdeps/pthread/lio_listio.c: Likewise.
62569 * sysdeps/sparc/dl-procinfo.h: Likewise.
62570 * sysdeps/unix/i386/sysdep.S: Likewise.
62571 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62572 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62573 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62574 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62576 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62577 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62578 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62579 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62580 * sysdeps/wordsize-32/divdi3.c: Likewise.
62581 * time/sys/time.h: Likewise.
62582 * wcsmbs/Makefile: Likewise.
62583
62584 2013-01-01 David S. Miller <davem@davemloft.net>
62585
62586 * po/fr.po: Update from translation team.
62587
62588 * catgets/gencat.c: Update copyright year.
62589 * csu/version.c: Likewise.
62590 * debug/catchsegv.sh: Likewise.
62591 * debug/pcprofiledump.c: Likewise.
62592 * debug/xtrace.sh: Likewise.
62593 * elf/ldconfig.c: Likewise.
62594 * elf/ldd.bash.in: Likewise.
62595 * elf/pldd.c: Likewise.
62596 * elf/sotruss.ksh: Likewise.
62597 * elf/sprof.c: Likewise.
62598 * iconv/iconv_prog.c: Likewise.
62599 * iconv/iconvconfig.c: Likewise.
62600 * locale/programs/locale.c: Likewise.
62601 * locale/programs/localedef.c: Likewise.
62602 * login/programs/pt_chown.c: Likewise.
62603 * malloc/memusage.sh: Likewise.
62604 * malloc/memusagestat.c: Likewise.
62605 * malloc/mtrace.pl: Likewise.
62606 * nscd/nscd.c: Likewise.
62607 * nss/getent.c: Likewise.
62608 * nss/makedb.c: Likewise.
62609 * posix/getconf.c: Likewise.
62610
62611 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62612
62613 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62614 numbers.
62615
62616 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62617
62618 * math/bits/mathcalls.h (modf): Use __nonnull.
62619
62620 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62621
62622 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62623 (split): Use macro CN instead of the bare value.
62624 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62625 could be used.
62626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62627 instead of the bare value.
62628 (power1): Likewise.
62629
62630 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62631
62632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62633 __ATAN_TWOM.
62634 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62635
62636 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62637 their values.
62638 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62639 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62640 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62641 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62642
62643 2012-12-28 Andreas Jaeger <aj@suse.de>
62644
62645 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62646 values are from Linux 3.7.
62647
62648 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62649 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62650
62651 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62652
62653 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62654 TRUE case.
62655
62656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62657 (norm): Likewise.
62658 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62659 variables with preprocessor constants.
62660 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62661 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62662 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62663
62664 2012-12-27 Bruno Haible <bruno@clisp.org>
62665
62666 [BZ #14317]
62667 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62668 only if needed.
62669
62670 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62671
62672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62673 and use variable directly.
62674 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62675
62676 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62677 MPONE.
62678 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62679 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62680 variable MPONE.
62681 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62683 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62684 include directive. Remove local variable MPONE.
62685 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62686 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62687 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62688
62689 2012-12-25 David S. Miller <davem@davemloft.net>
62690
62691 * version.h (RELEASE): Set to "development".
62692 (VERSION): Set to "2.17.90".
62693 * NEWS: Add 2.18 section.
62694
62695 2012-12-21 David S. Miller <davem@davemloft.net>
62696
62697 * po/hr.po: Update from translation team.
62698
62699 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62700
62701 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62702
62703 2012-12-19 Steve Ellcey <sellcey@mips.com>
62704
62705 * NEWS: Mention new memcpy for MIPS.
62706
62707 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62708
62709 * manual/contrib.texi (Contributors): Spelling correction.
62710
62711 2012-12-15 David S. Miller <davem@davemloft.net>
62712
62713 * po/ru.po: Update from translation team.
62714
62715 2012-12-13 David S. Miller <davem@davemloft.net>
62716
62717 * NEWS: Mention IFUNC testsuite enhancements.
62718
62719 * po/pl.po: Update from translation team.
62720 * po/bg.po: Likewise.
62721
62722 * manual/contrib.texi (Contributors): Update entries for Hongjiu
62723 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
62724
62725 2012-12-11 David S. Miller <davem@davemloft.net>
62726
62727 * po/sv.po: Update from translation team.
62728
62729 * po/vi.po: Update from translation team.
62730
62731 * po/cs.po: Update from translation team.
62732
62733 * po/de.po: Update from translation team.
62734 * po/eo.po: Likewise.
62735 * po/nl.po: Likewise.
62736
62737 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
62738
62739 [BZ #14246]
62740 * manual/argp.texi (Argp Helper Functions): Move node to follow
62741 Argp Parsing State.
62742
62743 [BZ #14872]
62744 * manual/conf.texi (Limits on File System Capacity): Mention if
62745 terminating null is included in the max size.
62746
62747 2012-12-10 Andreas Jaeger <aj@suse.de>
62748
62749 * po/cs.po: Update from translation team.
62750
62751 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62752
62753 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62754 void pointer and cast to uintptr_t.
62755 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62756 path.
62757 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62758 * sysdeps/s390/s390-64/memset.S: Likewise.
62759
62760 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62761
62762 [BZ #14833]
62763 * menual/message.texi (Message Translation): Fix typos.
62764 (Helper programs for gettext): Likewise.
62765
62766 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62767
62768 [BZ #14898]
62769 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62770 Change to -1.
62771
62772 2012-12-07 David S. Miller <davem@davemloft.net>
62773
62774 * po/libc.pot: Update.
62775
62776 2012-12-07 Richard Henderson <rth@redhat.com>
62777
62778 [BZ #10114]
62779 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62780 normal/normal case to before the switch.
62781 (_FP_DIV): Likewise.
62782
62783 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62784 Mike Frysinger <vapier@gentoo.org>
62785
62786 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62787 check for __NR_fadvise64_64.
62788
62789 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62790
62791 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62792 0, not just to plain "0" as a statement.
62793 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62794 with cw.
62795
62796 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62797
62798 * NEWS: Use sourceware.org in Bugzilla URL.
62799
62800 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62801
62802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62803 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62804
62805 * stdio-common/tst-put-error.c (do_test): Add newline to the
62806 padded test to ensure flush.
62807
62808 2012-12-05 Jeff Law <law@redhat.com>
62809
62810 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62811
62812 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62813
62814 * README: Don't refer to ports add-on as distributed separately.
62815 Mention AArch64 in list of systems supported in the ports add-on.
62816
62817 * LICENSES: Add more non-FSF copyright and license notices.
62818
62819 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62820 ((unused)).
62821
62822 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62823
62824 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62825 10000 as width of padded output.
62826
62827 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62828
62829 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62830
62831 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62832 variable LX with __attribute__ ((unused)).
62833 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62834 Likewise.
62835 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62837 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62838 with __attribute__ ((unused)).
62839
62840 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62841
62842 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62843
62844 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62845
62846 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62847 (CFLAGS-nldbl-acos.c): New variable.
62848 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62849 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62850 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62851 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62852 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62853 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62854 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62855 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62856 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62857 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62858 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62859 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62860 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62861 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62862 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62863 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62864 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62865 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62866 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62867 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62868 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62869 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62870 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62871 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62872 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62873 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62874 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62875 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62876 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62877 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62878 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62879 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62880 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62881 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62882 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62883 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62884 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62885 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62886 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62887 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62888 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62889 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62890 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62891 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62892 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62893 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62894 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62895 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62896 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62897 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62898 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62899 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62900 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62901 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62902 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62903 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62904 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62905 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62906 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62907 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62908 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62909 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62910 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62911 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62912 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62913 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62914 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62915 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62916 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62917 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62918 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62919 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62920 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62921 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62922 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62923 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62924 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62925 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62926 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62927 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62928 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62929 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62930 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62931 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62932 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62933 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62934 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62935 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62936 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62937 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62938 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62939 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62940 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62941 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62942 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62943 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62944 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62945
62946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62947 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62948
62949 [BZ #14914]
62950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62951 whole low double instead of just low 47 bits when splitting values
62952 into two parts.
62953
62954 2012-12-03 Allan McRae <allan@archlinux.org>
62955
62956 * manual/stdio.texi (Predefined Printf Handlers): Remove
62957 @hsep and @vsep usage.
62958
62959 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62960
62961 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62962 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62963
62964 2012-12-03 Jeff Law <law@redhat.com>
62965
62966 * time/sys/time.h (settimeofday): Do not mark TV argument
62967 as __nonnull.
62968
62969 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62970
62971 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62972 when currently writing and seek to current position when not.
62973 * libio/Makefile (tests): Remove bug-fclose1.
62974 * libio/bug-fclose1.c: Delete.
62975
62976 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62977
62978 * manual/arith.texi (feenableexcept): Fix typo.
62979 (fedisableexcept): Likewise.
62980
62981 2012-11-30 Roland McGrath <roland@hack.frob.com>
62982
62983 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62984 second, differently-typed declaration, rather than a cast.
62985
62986 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62987
62988 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62989 * include/rpc/svc.h: ... here.
62990
62991 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62992
62993 [BZ #13013]
62994 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62995 depending n and resplen2 to catch cases where answer
62996 equals answerp2.
62997
62998 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62999
63000 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63001 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63002
63003 2012-11-29 Mike Frysinger <vapier@gentoo.org>
63004
63005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63006
63007 2012-11-29 Roland McGrath <roland@hack.frob.com>
63008
63009 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63010
63011 2012-11-28 Jeff Law <law@redhat.com>
63012
63013 [BZ #13761]
63014 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63015 dataset_temporary. Track alloca usage into alloca_used.
63016 If dataset is large allocate and release it via malloc/free.
63017
63018 2012-06-04 Florian Weimer <fweimer@redhat.com>
63019
63020 [BZ #14197]
63021 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63022
63023 2012-11-28 David S. Miller <davem@davemloft.net>
63024
63025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63026
63027 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63028
63029 [BZ #14803]
63030 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63031 of pi/2 rounded to nearest to 64 bits.
63032 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63033 nearest to 64 bits.
63034 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63035 bits.
63036
63037 2012-11-28 Jeff Law <law@redhat.com>
63038 Martin Osvald <mosvald@redhat.com>
63039
63040 [BZ #14889]
63041 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63042 * sunrpc/svc.c: Include time.h.
63043 (__svc_accept_failed): New function.
63044 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63045 any reason other than EINTR, call __svc_accept_failed.
63046 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63047 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63048
63049 2012-11-28 Andreas Schwab <schwab@suse.de>
63050
63051 * scripts/abilist.awk: Also handle indirect functions in .opd
63052 section.
63053
63054 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63055
63056 [BZ #13881]
63057 * sysdeps/x86/fpu/powl_helper.c: New file.
63058 * sysdeps/x86/fpu/Makefile: Likewise.
63059 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63060 (p3): New object.
63061 (__ieee754_powl): Use __powl_helper for finite arguments except
63062 integer exponents below 8.
63063 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63064 (p3): New object.
63065 (__ieee754_powl): Use __powl_helper for finite arguments except
63066 integer exponents below 8.
63067 * math/libm-test.inc (pow_test): Add more tests and enable some
63068 previously disabled tests.
63069 * sysdeps/i386/fpu/libm-test-ulps: Update.
63070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63071
63072 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63073 Carlos O'Donell <carlos_odonell@mentor.com>
63074
63075 * nss/makedb.c (is_prime): Assert that input is odd and greater
63076 than 4. Note that fact in a comment too.
63077 (next_prime): Add 4 to input.
63078
63079 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
63080
63081 [BZ #11741]
63082 * libio/Makefile (tests): Add test case tst-fwrite-error.
63083 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63084 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63085 * libio/tst-fwrite-error.c: New test case.
63086
63087 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
63088
63089 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63090 before casting to void *.
63091 * include/libc-internal.h (__pointer_type): New macro.
63092 (__integer_if_pointer_type_sub): Likewise.
63093 (__integer_if_pointer_type): Likewise.
63094 (cast_to_integer): Likewise.
63095 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63096 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63097 before casting to atomic64_t.
63098 (atomic_exchange_acq): Likewise.
63099 (__arch_exchange_and_add_body): Likewise.
63100 (__arch_add_body): Likewise.
63101 (atomic_add_negative): Likewise.
63102 (atomic_add_zero): Likewise.
63103
63104 2012-11-26 Joseph Myers <joseph@codesourcery.com>
63105
63106 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63107 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63108 (add_fdes): Likewise.
63109 (linear_search_fdes): Likewise.
63110 (binary_search_unencoded_fdes): Likewise.
63111
63112 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
63113
63114 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63115
63116 2012-11-24 Adam Conrad <adconrad@0c3.net>
63117
63118 * configure.in: Autodetect C++ header directories.
63119 * configure: Regenerated.
63120
63121 2012-11-23 Mike Frysinger <vapier@gentoo.org>
63122
63123 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63124
63125 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
63126
63127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63128
63129 2012-11-22 Joseph Myers <joseph@codesourcery.com>
63130
63131 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63132 LDBL_MANT_DIG == 106]: Disable some tests.
63133 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63134 Likewise.
63135 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63136 Likewise.
63137
63138 [BZ #14871]
63139 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63140 input for small inputs. Return +/- pi/2 for large inputs.
63141 * math/libm-test.inc (atan_test): Add more tests.
63142
63143 * sysdeps/generic/unwind-dw2-fde-glibc.c
63144 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63145 __attribute__ ((unused)).
63146
63147 [BZ #14645]
63148 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63149 x * y if x and y are nonzero and z is zero.
63150
63151 [BZ #14811]
63152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63153 nonzero exponents with absolute value below 0x1p-117 to +/-
63154 0x1p-117.
63155
63156 [BZ #14869]
63157 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63158 up arguments below 2**-450, not just those below 2**-500.
63159 * math/libm-test.inc (hypot_test): Add another test.
63160
63161 [BZ #14868]
63162 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63163 Return a+b for ratio over 2**120, not 2**60.
63164 * math/libm-test.inc (hypot_test): Add another test.
63165
63166 * math/libm-test.inc (clog_test): Use
63167 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63168 (clog10_test): Likewise.
63169
63170 [BZ #6778]
63171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63172
63173 2012-11-22 Andreas Schwab <schwab@suse.de>
63174
63175 * sysdeps/i386/fpu/libm-test-ulps: Update.
63176
63177 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
63178
63179 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63180 printf output with newline.
63181
63182 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
63183
63184 [BZ #14865]
63185 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63186 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63187 -z nodlopen, -z initfirst and -z execstack support.
63188 * configure: Regenerated.
63189
63190 * elf/elf.h (DF_1_NODIRECT): New macro.
63191 (DF_1_IGNMULDEF): Likewise.
63192 (DF_1_NOKSYMS): Likewise.
63193 (DF_1_NOHDR): Likewise.
63194 (DF_1_EDITED): Likewise.
63195 (DF_1_NORELOC): Likewise.
63196 (DF_1_SYMINTPOSE): Likewise.
63197 (DF_1_GLOBAUDIT): Likewise.
63198 (DF_1_SINGLETON): Likewise.
63199 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63200 DT_1_SUPPORTED_MASK bits.
63201 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63202
63203 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
63204
63205 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63206
63207 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
63208
63209 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63210 macro.
63211
63212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63213 (sendmmsg): Move declarations...
63214 * socket/sys/socket.h: ... here.
63215 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63216 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63217 include it from...
63218 * socket/recvmmsg.c: ... this new file.
63219 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63220 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63221 definition of __sendmmsg hidden.
63222 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63223 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63224 Move ENOSYS stub into and include it from...
63225 * socket/sendmmsg.c: ... this new file.
63226 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63227 (sysdep_routines): Move recvmmsg and sendmmsg...
63228 * socket/Makefile (routines): ... here.
63229 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63230 (GLIBC_PRIVATE): Add __sendmmsg.
63231 * include/sys/socket.h (__sendmmsg): Add declarations.
63232 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63233 sendmmsg.
63234
63235 2012-11-20 Joseph Myers <joseph@codesourcery.com>
63236
63237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63238 variable I1 with __attribute__ ((unused)).
63239 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63240
63241 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63242
63243 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63244 DUMMY variables with __attribute__ ((unused)).
63245
63246 * bits/byteswap.h: Include <bits/types.h>.
63247 (__bswap_64): Use __uint64_t instead of unsigned long long int.
63248
63249 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63250
63251 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63252 string_t. Do not manually set errno.
63253 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63254 length with __strnlen. Make sure to both set errno and return it on
63255 failure.
63256
63257 2012-11-19 David S. Miller <davem@davemloft.net>
63258
63259 With help from Joseph Myers.
63260 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63261 very large arguments properly.
63262 * math/libm-test.inc (atan_test): New tests.
63263 (atan2_test): New tests.
63264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63266
63267 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63268
63269 [BZ #14856]
63270 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63271 Define to 3.
63272
63273 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63274 [POSIX] (EADDRNOTAVAIL): Likewise.
63275 [POSIX] (EAFNOSUPPORT): Likewise.
63276 [POSIX] (EALREADY): Likewise.
63277 [POSIX] (ECONNABORTED): Likewise.
63278 [POSIX] (ECONNREFUSED): Likewise.
63279 [POSIX] (ECONNRESET): Likewise.
63280 [POSIX] (EDESTADDRREQ): Likewise.
63281 [POSIX] (EDQUOT): Likewise.
63282 [POSIX] (EHOSTUNREACH): Likewise.
63283 [POSIX] (EIDRM): Likewise.
63284 [POSIX] (EISCONN): Likewise.
63285 [POSIX] (ELOOP): Likewise.
63286 [POSIX] (EMULTIHOP): Likewise.
63287 [POSIX] (ENETDOWN): Likewise.
63288 [POSIX] (ENETUNREACH): Likewise.
63289 [POSIX] (ENOBUFS): Likewise.
63290 [POSIX] (ENODATA): Likewise.
63291 [POSIX] (ENOLINK): Likewise.
63292 [POSIX] (ENOMSG): Likewise.
63293 [POSIX] (ENOPROTOOPT): Likewise.
63294 [POSIX] (ENOSR): Likewise.
63295 [POSIX] (ENOSTR): Likewise.
63296 [POSIX] (ENOTCONN): Likewise.
63297 [POSIX] (ENOTSOCK): Likewise.
63298 [POSIX] (EOPNOTSUPP): Likewise.
63299 [POSIX] (EOVERFLOW): Likewise.
63300 [POSIX] (EPROTO): Likewise.
63301 [POSIX] (EPROTONOSUPPORT): Likewise.
63302 [POSIX] (EPROTOTYPE): Likewise.
63303 [POSIX] (ESTALE): Likewise.
63304 [POSIX] (ETIME): Likewise.
63305 [POSIX] (ETXTBSY): Likewise.
63306 [POSIX] (EWOULDBLOCK): Likewise.
63307 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63308 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63309 [POSIX] (SEEK_CUR): Likewise.
63310 [POSIX] (SEEK_END): Likewise.
63311 [POSIX || UNIX98] (mode_t): Do not require.
63312 [POSIX] (off_t): Likewise.
63313 [POSIX] (pid_t): Likewise.
63314 [POSIX] (sys/stat.h): Do not allow header.
63315 [POSIX] (unistd.h): Likewise.
63316 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63317 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63318 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63319 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63320 require.
63321 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63322 sigevent): Specify elements.
63323 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63324 entry.
63325 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63326 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63327
63328 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63329 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63330 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63331 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63332 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63333 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63334 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63335 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63336 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63337 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63338 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63339 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63340 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63341 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63342 Likewise.
63343 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63344 Likewise.
63345 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63346 Likewise.
63347 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63348 Likewise.
63349 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63350 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63351 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63352 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63353 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63354 Specify lower bound on value.
63355 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63356 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63357 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63358 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63359 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63360 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63361 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63362 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63363 value.
63364 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63365 as optional.
63366 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63367 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63368 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63369 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63370 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63371 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63372 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63373 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63374 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63375 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63376 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63377 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63378 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63379 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63380 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63381 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63382 entry.
63383 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63384 optional.
63385 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63386 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63387 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63388 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63389 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63390 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63391 Likewise.
63392 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63393 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63394 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63395 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63396 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63397 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63398 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63399 as optional.
63400 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63402 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63403 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63404 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63405 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63406 specify as optional.
63407 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63408 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63409 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63410 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63411 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63412 [XPG3] (NL_LANGMAX): Likewise.
63413 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63414 [POSIX || XPG3] (NL_NMAX): Likewise.
63415 [POSIX || XPG3] (NL_SETMAX): Likewise.
63416 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63417 [XPG3] (NZERO): Likewise.
63418 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63419 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63420 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63421 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63422 (REG_ERANGE): Expect.
63423 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63424 optional-constant.
63425 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63426 Use (void) in prototype.
63427 [POSIX] (*_t): Allow.
63428 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63429 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63430 (WRDE_BADVAL): Expect.
63431
63432 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63433 expect.
63434 [XPG3 || XPG4] (O_RSYNC): Likewise.
63435 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63436 Likewise.
63437 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63438 [XPG3 || XPG4] (sigqueue): Likewise.
63439 [XPG3 || XPG4] (sigtimedwait): Likewise.
63440 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63441 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63442 [XPG3 || XPG4] (vsnprintf): Likewise.
63443 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63444 Likewise.
63445 [XPG3 || XPG4] (blksize_t): Likewise.
63446 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63447 Likewise.
63448 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63449 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63450 [XPG3 || XPG4] (struct itimerspec): Likewise.
63451 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63452 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63453 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63454 [XPG3 || XPG4] (clockid_t): Likewise.
63455 [XPG3 || XPG4] (timer_t): Likewise.
63456 [XPG3 || XPG4] (clock_getres): Likewise.
63457 [XPG3 || XPG4] (clock_gettime): Likewise.
63458 [XPG3 || XPG4] (clock_settime): Likewise.
63459 [XPG3 || XPG4] (nanosleep): Likewise.
63460 [XPG3 || XPG4] (timer_create): Likewise.
63461 [XPG3 || XPG4] (timer_delete): Likewise.
63462 [XPG3 || XPG4] (timer_gettime): Likewise.
63463 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63464 [XPG3 || XPG4] (timer_settime): Likewise.
63465 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63466 [XPG3 || XPG4] (getlogin_r): Likewise.
63467 [XPG3 || XPG4] (pread): Likewise.
63468 [XPG3 || XPG4] (pthread_atfork): Likewise.
63469 [XPG3 || XPG4] (pwrite): Likewise.
63470
63471 [BZ #14835]
63472 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63473 <bits/siginfo.h>.
63474
63475 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63476
63477 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63478 finalizing MALLSTREAM.
63479
63480 * sysdeps/mach/hurd/syncfs.c: New file.
63481
63482 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63483
63484 [BZ #14719]
63485 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63486 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63487 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63488 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63489 (_nss_dns_gethostbyname4_r): Likewise.
63490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63491 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63492
63493 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63494
63495 [BZ #13763]
63496 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63497
63498 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63499
63500 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63501 * elf/cache.c (print_entry): Print ",AArch64" for
63502 FLAG_AARCH64_LIB64
63503
63504 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63505 * elf/cache.c (print_entry): Print ",hard-float" for
63506 FLAG_ARM_LIBHF.
63507
63508 2012-11-18 David S. Miller <davem@davemloft.net>
63509
63510 With help from Joseph Myers.
63511 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63512 cutoff to 2**-13.
63513 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63514 cutoff to 2**-25.
63515 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63516 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63517 small.
63518 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63519 * math/libm-test.inc (y0_test): New tests.
63520 (y1_test): New tests.
63521 * sysdeps/i386/fpu/libm-test-ulps: Update.
63522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63524
63525 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63526
63527 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63528 64-bit targets.
63529 * configure: Regenerated.
63530
63531 2012-11-17 David S. Miller <davem@davemloft.net>
63532
63533 [BZ #14811]
63534 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63535 nonzero exponents with absolute value below 0x1p-128 to +/-
63536 0x1p-128.
63537
63538 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63539
63540 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63541
63542 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63543
63544 * posix/getconf-speclist.c: New file.
63545 * posix/posix-envs.def: Likewise.
63546 * posix/confstr.c (START_ENV_GROUP): New macro.
63547 (END_ENV_GROUP): Likewise.
63548 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63549 (KNOWN_PRESENT_ENV_STRING): Likewise.
63550 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63551 (UNKNOWN_ENVIRONMENT): Likewise.
63552 (confstr): Include posix-envs.def instead of handling
63553 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63554 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63555 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63556 (END_ENV_GROUP): Likewise.
63557 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63558 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63559 (UNKNOWN_ENVIRONMENT): Likewise.
63560 (__sysconf): Include posix-envs.def instead of handling associated
63561 cases directly here.
63562 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63563 preprocessing getconf-speclist.c rather than running getconf or
63564 generating empty file.
63565
63566 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63567
63568 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63569
63570 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63571
63572 [BZ #14672]
63573 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63574
63575 2012-11-16 David S. Miller <davem@davemloft.net>
63576
63577 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63578 smaller than LDBL_EPSILON/2.0L, just return xm1.
63579
63580 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63581
63582 * elf/tst-array1.c (init): Set constructor priority to 1000.
63583 (fini): Set destructor priority to 1000.
63584 * elf/tst-array2dep.c: Likewise.
63585
63586 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63587
63588 [BZ #11741]
63589 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63590 (_IO_new_file_xsputn): Also return EOF if none of the input
63591 data was written when overflow failed.
63592 * libio/iopadn.c (_IO_padn): Likewise.
63593 * libio/iowpadn.c (_IO_wpadn): Likewise.
63594 * stdio-common/tst-put-error.c: Add copyright notice.
63595 (do_test): Add case for printing padded string.
63596 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63597 _IO_padn returned error.
63598 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63599 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63600 return EOF.
63601
63602 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63603
63604 * libio/libioP.h: Add comment note that the references to C++
63605 bits are now obsolete.
63606
63607 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63608
63609 * math/libm-test.inc (check_complex): Use asprintf.
63610
63611 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63612
63613 * debug/pcprofiledump.c (print_version): Update copyright year.
63614 * malloc/memusagestat.c (print_version): Likewise.
63615
63616 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63617
63618 [BZ #14831]
63619 * elf/Makefile (tests): Add tst-audit8.
63620 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63621 ($(objpfx)tst-audit8.out): New target.
63622 (tst-audit8-ENV): New variable.
63623 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63624 audit if l_reloc_result is NULL.
63625 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63626 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63627 * elf/tst-audit8.c: New file.
63628
63629 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63630
63631 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63632 * misc/Makefile (CFLAGS-select.c): Define.
63633 * posix/Makefile (CFLAGS-pause.c): Define.
63634
63635 2012-11-13 David S. Miller <davem@davemloft.net>
63636
63637 * crypt/Makefile: Move test targets after toplevel Rules
63638 inclusion. Grab any necessary sysdep routines when linking.
63639 * crypt/md5.c (md5_process_block): Remove define, we will always
63640 name it __md5_process_block.
63641 (md5_finish_ctx): Update md5_process_block call.
63642 (md5_stream): Likewise.
63643 (md5_process_bytes): Likewise.
63644 (md5_process_block): Rename to __md5_process_block and move to ...
63645 * crypt/md5-block.c: ... here.
63646 * crypt/sha256.c (sha256_process_block): Move to ...
63647 * crypt/sha256-block.c: ... here.
63648 * crypt/sha512.c (sha512_process_block): Move to ...
63649 * crypt/sha512-block.c: ... here.
63650 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63651 path.
63652 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63653 * sysdeps/sparc/sparc64/multiarch/Makefile
63654 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63655 crypt subdir.
63656 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63657 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63658 multiarch changes.
63659 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63660 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63661 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63662 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63663 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63664 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63665 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63666 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63667 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63668 file.
63669 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63671 file.
63672 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63673
63674 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63675
63676 * timezone/tzselect.ksh: Update from tzcode git revision
63677 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63678 * timezone/zdump.c: Likewise.
63679 * timezone/zic.c: Likewise.
63680 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63681 in TZVERSION setting, not $(PKGVERSION).
63682 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63683 REPORT_BUGS_TO settings.
63684
63685 [BZ #14838]
63686 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63687 macro.
63688
63689 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63690
63691 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63692 detection to immediately after _FP_ROUND().
63693 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63694 bits are 0.
63695
63696 2012-11-11 David S. Miller <davem@davemloft.net>
63697
63698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63699 inttypes.h
63700 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63701 __close rather than their public counterparts.
63702
63703 2012-11-10 Joseph Myers <joseph@codesourcery.com>
63704
63705 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63706 file.
63707 [UNIX98] (sem_timedwait): Do not expect.
63708 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63709 [XPG4 || UNIX98] (sockatmark): Do not expect.
63710 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63711 (clock_getcpuclockid): Do not expect.
63712 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63713 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63714 Do not expect.
63715 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63716 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63717 [UNIX98] (vwscanf): Likewise.
63718 [UNIX98] (vswscanf): Likewise.
63719
63720 2012-11-09 Joseph Myers <joseph@codesourcery.com>
63721
63722 * timezone/version.h: Remove file.
63723 * timezone/README: Do not refer to version.h.
63724 * timezone/Makefile ($(objpfx)zic.o): New dependency on
63725 $(objpfx)version.h.
63726 ($(objpfx)zdump.o): Likewise.
63727 ($(objpfx)version.h): New target.
63728
63729 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63730 2012i.
63731 * timezone/README: Don't mention modification to tzselect.ksh.
63732 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63733 work on unmodified tzselect.ksh. Substitute version numbers in
63734 tzselect.ksh.
63735
63736 * Makefile (format-me): Remove.
63737 (INSTALL): Adjust indentation. Use commands directly instead of
63738 using $(format-me).
63739
63740 * aclocal.m4 (ACX_PKGVERSION): New macro.
63741 (ACX_BUGURL): Likewise.
63742 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63743 (PKGVERSION): New AC_DEFINE_UNQUOTED.
63744 (REPORT_BUGS_TO): Likewise.
63745 * configure: Regenerated.
63746 * config.h.in (PKGVERSION): New macro.
63747 (REPORT_BUGS_TO): Likewise.
63748 * config.make.in (PKGVERSION): New variable.
63749 (PKGVERSION_TEXI): Likewise.
63750 (REPORT_BUGS_TO): Likewise.
63751 (REPORT_BUGS_TEXI): Likewise.
63752 * Makefile (format-me): Use -I$(common-objpfx)manual.
63753 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63754 ($(common-objpfx)manual/%): New target.
63755 (manual/%): Remove target.
63756 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63757 (print_version): Use PKGVERSION.
63758 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63759 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63760 and REPORT_BUGS_TO.
63761 ($(objpfx)xtrace): Likewise.
63762 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63763 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63764 (print_version): Use PKGVERSION.
63765 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63766 (do_version): Use PKGVERSION.
63767 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63768 REPORT_BUGS_TO.
63769 (common-ldd-rewrite): Likewise.
63770 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63771 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63772 (print_version): Use PKGVERSION.
63773 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63774 * elf/pldd.c (argp_program_bug_address): Remove variable.
63775 (more_help): New function.
63776 (argp): Use more_help.
63777 (print_version): Use PKGVERSION.
63778 * elf/sln.c (main): Use PKGVERSION.
63779 (usage): Use REPORT_BUGS_TO.
63780 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63781 (top level): Use PKGVERSION.
63782 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63783 (print_version): Use PKGVERSION.
63784 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63785 (print_version): Use PKGVERSION.
63786 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63787 (print_version): Use PKGVERSION.
63788 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63789 (print_version): Use PKGVERSION.
63790 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63791 (print_version): Use PKGVERSION.
63792 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63793 (print_version): Use PKGVERSION.
63794 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63795 and BUGURL.
63796 ($(objpfx)memusage): Likewise.
63797 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63798 (do_version): Use PKGVERSION.
63799 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63800 (print_version): Use PKGVERSION.
63801 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63802 ($PKGVERSION): New variable.
63803 ($REPORT_BUGS_TO): Likewise.
63804 (usage): Use $REPORT_BUGS_TO.
63805 (top level): Use $PKGVERSION.
63806 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63807 ($(objpfx)pkgvers.texi): New rule.
63808 ($(objpfx)stamp-pkgvers): Likewise.
63809 * manual/install.texi: Include pkgvers.texi.
63810 (--with-pkgversion): Document new configure option.
63811 (--with-bugurl): Likewise.
63812 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63813 than necessarily for this particular distribution. Use
63814 REPORT_BUGS_TO for where to report bugs.
63815 * INSTALL: Regenerated.
63816 * manual/libc.texinfo: Include pkgvers.texi.
63817 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63818 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63819 (print_version): Use PKGVERSION.
63820 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63821 (print_version): Use PKGVERSION.
63822 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63823 (print_version): Use PKGVERSION.
63824 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63825 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63826 macro.
63827 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63828 (print_version): Use PKGVERSION.
63829 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63830 (print_version): Use PKGVERSION.
63831 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63832 and PKGVERSION.
63833
63834 * timezone/checktab.awk: Update from tzcode 2012i.
63835 * timezone/ialloc.c: Likewise.
63836 * timezone/private.h: Likewise.
63837 * timezone/scheck.c: Likewise.
63838 * timezone/tzfile.h: Likewise.
63839 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63840 (TZVERSION): Hardcode tzcode version number.
63841 * timezone/zdump.c: Update from tzcode 2012i.
63842 * timezone/zic.c: Likewise.
63843 * timezone/version.h: New file.
63844 * timezone/README: Describe version.h. Update upstream location.
63845
63846 [BZ #14824]
63847 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63848 (mktemp): Enable declaration.
63849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63851 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63853 Likewise.
63854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63855 Likewise.
63856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63857 Likewise.
63858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63859 Likewise.
63860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63861 Likewise.
63862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63863 Likewise.
63864
63865 [BZ #14821]
63866 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63867 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63868 for copies of such integer values.
63869 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63870 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63871
63872 2012-11-09 Andreas Jaeger <aj@suse.de>
63873
63874 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63875 definitions and declarations that are provided by
63876 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63877
63878 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63879
63880 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63881 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63882 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63883 definition.
63884
63885 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63886
63887 * elf/elf.h: Update comment before AArch64 relocations.
63888
63889 2012-11-07 David S. Miller <davem@davemloft.net>
63890
63891 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63892 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63893 (__start_context): Declare.
63894 (__makecontext_ret): Delete.
63895 (__makecontext): Hook up __start_context instead of
63896 __makecontext_ret.
63897 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63898 (sysdep_routines): Add __start_context when in stdlib.
63899
63900 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63901
63902 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63903 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63904 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63905 hardcoded "nm".
63906 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63907 (READELF): New variable. Use it instead of hardcoded "readelf".
63908
63909 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63910
63911 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63912 * sysdeps/x86/Makefile: Here.
63913 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63914 * sysdeps/x86/tst-xmmymm.sh: This.
63915
63916 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63917
63918 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63919 expectations.
63920 [UNIX98] (pthread_barrier_t): Do not expect.
63921 [UNIX98] (pthread_barrierattr_t): Likewise.
63922 [UNIX98] (pthread_spinlock_t): Likewise.
63923 [UNIX98] (pthread_barrier_destroy): Likewise.
63924 [UNIX98] (pthread_barrier_init): Likewise.
63925 [UNIX98] (pthread_barrier_wait): Likewise.
63926 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63927 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63928 [UNIX98] (pthread_barrierattr_init): Likewise.
63929 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63930 [UNIX98] (pthread_getcpuclockid): Likewise.
63931 [UNIX98] (pthread_mutex_timedlock): Likewise.
63932 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63933 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63934 [UNIX98] (pthread_sigmask): Likewise.
63935 [UNIX98] (pthread_spin_destroy): Likewise.
63936 [UNIX98] (pthread_spin_init): Likewise.
63937 [UNIX98] (pthread_spin_lock): Likewise.
63938 [UNIX98] (pthread_spin_trylock): Likewise.
63939 [UNIX98] (pthread_spin_unlock): Likewise.
63940 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63941 Do not expect.
63942 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63943 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63944 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63945 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63946 [XPG3 || XPG4] (pthread_key_t): Likewise.
63947 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63948 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63949 [XPG3 || XPG4] (pthread_once_t): Likewise.
63950 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63951 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63952 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63953 [XPG3 || XPG4] (pthread_t): Likewise.
63954
63955 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63956 not expect.
63957 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63958
63959 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63960 Change function return type to int.
63961
63962 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63963 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63964 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63965 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63966 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63967 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63968 [!POSIX] (posix_madvise): Likewise.
63969 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63970 && !UNIX98].
63971 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63972 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63973 (mode_t): Likewise.
63974 (posix_mem_offset): Likewise.
63975 (posix_typed_mem_get_info): Likewise.
63976 (posix_typed_mem_open): Likewise.
63977
63978 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63979 Change condition to [XOPEN2K8].
63980
63981 * conform/conformtest.pl: Preprocess allow-header data with -x c
63982 instead of from stdin.
63983 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63984 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63985 [C99-based standards] (cerfc): Likewise.
63986 [C99-based standards] (cexp2): Likewise.
63987 [C99-based standards] (cexpm1): Likewise.
63988 [C99-based standards] (clog10): Likewise.
63989 [C99-based standards] (clog1p): Likewise.
63990 [C99-based standards] (clog2): Likewise.
63991 [C99-based standards] (clgamma): Likewise.
63992 [C99-based standards] (ctgamma): Likewise.
63993 [C99-based standards] (cerff): Likewise.
63994 [C99-based standards] (cerfcf): Likewise.
63995 [C99-based standards] (cexp2f): Likewise.
63996 [C99-based standards] (cexpm1f): Likewise.
63997 [C99-based standards] (clog10f): Likewise.
63998 [C99-based standards] (clog1pf): Likewise.
63999 [C99-based standards] (clog2f): Likewise.
64000 [C99-based standards] (clgammaf): Likewise.
64001 [C99-based standards] (ctgammaf): Likewise.
64002 [C99-based standards] (cerfl): Likewise.
64003 [C99-based standards] (cerfcl): Likewise.
64004 [C99-based standards] (cexp2l): Likewise.
64005 [C99-based standards] (cexpm1l): Likewise.
64006 [C99-based standards] (clog10l): Likewise.
64007 [C99-based standards] (clog1pl): Likewise.
64008 [C99-based standards] (clog2l): Likewise.
64009 [C99-based standards] (clgammal): Likewise.
64010 [C99-based standards] (ctgammal): Likewise.
64011 * conform/data/inttypes.h-data [C99-based standards]: Include
64012 stdint.h-data. Remove all expectations for stdint.h contents.
64013 [C99-based standards] (PRI*): Do not allow.
64014 [C99-based standards] (SCN*): Likewise.
64015 [C99-based standards] (*_t): Likewise.
64016 [C99-based-standards] (PRId8): Expect macro.
64017 [C99-based-standards] (PRIi8): Likewise.
64018 [C99-based-standards] (PRIo8): Likewise.
64019 [C99-based-standards] (PRIu8): Likewise.
64020 [C99-based-standards] (PRIx8): Likewise.
64021 [C99-based-standards] (PRIX8): Likewise.
64022 [C99-based-standards] (SCNd8): Likewise.
64023 [C99-based-standards] (SCNi8): Likewise.
64024 [C99-based-standards] (SCNo8): Likewise.
64025 [C99-based-standards] (SCNu8): Likewise.
64026 [C99-based-standards] (SCNx8): Likewise.
64027 [C99-based-standards] (PRIdLEAST8): Likewise.
64028 [C99-based-standards] (PRIiLEAST8): Likewise.
64029 [C99-based-standards] (PRIoLEAST8): Likewise.
64030 [C99-based-standards] (PRIuLEAST8): Likewise.
64031 [C99-based-standards] (PRIxLEAST8): Likewise.
64032 [C99-based-standards] (PRIXLEAST8): Likewise.
64033 [C99-based-standards] (SCNdLEAST8): Likewise.
64034 [C99-based-standards] (SCNiLEAST8): Likewise.
64035 [C99-based-standards] (SCNoLEAST8): Likewise.
64036 [C99-based-standards] (SCNuLEAST8): Likewise.
64037 [C99-based-standards] (SCNxLEAST8): Likewise.
64038 [C99-based-standards] (PRIdFAST8): Likewise.
64039 [C99-based-standards] (PRIiFAST8): Likewise.
64040 [C99-based-standards] (PRIoFAST8): Likewise.
64041 [C99-based-standards] (PRIuFAST8): Likewise.
64042 [C99-based-standards] (PRIxFAST8): Likewise.
64043 [C99-based-standards] (PRIXFAST8): Likewise.
64044 [C99-based-standards] (SCNdFAST8): Likewise.
64045 [C99-based-standards] (SCNiFAST8): Likewise.
64046 [C99-based-standards] (SCNoFAST8): Likewise.
64047 [C99-based-standards] (SCNuFAST8): Likewise.
64048 [C99-based-standards] (SCNxFAST8): Likewise.
64049 [C99-based-standards] (PRId16): Likewise.
64050 [C99-based-standards] (PRIi16): Likewise.
64051 [C99-based-standards] (PRIo16): Likewise.
64052 [C99-based-standards] (PRIu16): Likewise.
64053 [C99-based-standards] (PRIx16): Likewise.
64054 [C99-based-standards] (PRIX16): Likewise.
64055 [C99-based-standards] (SCNd16): Likewise.
64056 [C99-based-standards] (SCNi16): Likewise.
64057 [C99-based-standards] (SCNo16): Likewise.
64058 [C99-based-standards] (SCNu16): Likewise.
64059 [C99-based-standards] (SCNx16): Likewise.
64060 [C99-based-standards] (PRIdLEAST16): Likewise.
64061 [C99-based-standards] (PRIiLEAST16): Likewise.
64062 [C99-based-standards] (PRIoLEAST16): Likewise.
64063 [C99-based-standards] (PRIuLEAST16): Likewise.
64064 [C99-based-standards] (PRIxLEAST16): Likewise.
64065 [C99-based-standards] (PRIXLEAST16): Likewise.
64066 [C99-based-standards] (SCNdLEAST16): Likewise.
64067 [C99-based-standards] (SCNiLEAST16): Likewise.
64068 [C99-based-standards] (SCNoLEAST16): Likewise.
64069 [C99-based-standards] (SCNuLEAST16): Likewise.
64070 [C99-based-standards] (SCNxLEAST16): Likewise.
64071 [C99-based-standards] (PRIdFAST16): Likewise.
64072 [C99-based-standards] (PRIiFAST16): Likewise.
64073 [C99-based-standards] (PRIoFAST16): Likewise.
64074 [C99-based-standards] (PRIuFAST16): Likewise.
64075 [C99-based-standards] (PRIxFAST16): Likewise.
64076 [C99-based-standards] (PRIXFAST16): Likewise.
64077 [C99-based-standards] (SCNdFAST16): Likewise.
64078 [C99-based-standards] (SCNiFAST16): Likewise.
64079 [C99-based-standards] (SCNoFAST16): Likewise.
64080 [C99-based-standards] (SCNuFAST16): Likewise.
64081 [C99-based-standards] (SCNxFAST16): Likewise.
64082 [C99-based-standards] (PRId32): Likewise.
64083 [C99-based-standards] (PRIi32): Likewise.
64084 [C99-based-standards] (PRIo32): Likewise.
64085 [C99-based-standards] (PRIu32): Likewise.
64086 [C99-based-standards] (PRIx32): Likewise.
64087 [C99-based-standards] (PRIX32): Likewise.
64088 [C99-based-standards] (SCNd32): Likewise.
64089 [C99-based-standards] (SCNi32): Likewise.
64090 [C99-based-standards] (SCNo32): Likewise.
64091 [C99-based-standards] (SCNu32): Likewise.
64092 [C99-based-standards] (SCNx32): Likewise.
64093 [C99-based-standards] (PRIdLEAST32): Likewise.
64094 [C99-based-standards] (PRIiLEAST32): Likewise.
64095 [C99-based-standards] (PRIoLEAST32): Likewise.
64096 [C99-based-standards] (PRIuLEAST32): Likewise.
64097 [C99-based-standards] (PRIxLEAST32): Likewise.
64098 [C99-based-standards] (PRIXLEAST32): Likewise.
64099 [C99-based-standards] (SCNdLEAST32): Likewise.
64100 [C99-based-standards] (SCNiLEAST32): Likewise.
64101 [C99-based-standards] (SCNoLEAST32): Likewise.
64102 [C99-based-standards] (SCNuLEAST32): Likewise.
64103 [C99-based-standards] (SCNxLEAST32): Likewise.
64104 [C99-based-standards] (PRIdFAST32): Likewise.
64105 [C99-based-standards] (PRIiFAST32): Likewise.
64106 [C99-based-standards] (PRIoFAST32): Likewise.
64107 [C99-based-standards] (PRIuFAST32): Likewise.
64108 [C99-based-standards] (PRIxFAST32): Likewise.
64109 [C99-based-standards] (PRIXFAST32): Likewise.
64110 [C99-based-standards] (SCNdFAST32): Likewise.
64111 [C99-based-standards] (SCNiFAST32): Likewise.
64112 [C99-based-standards] (SCNoFAST32): Likewise.
64113 [C99-based-standards] (SCNuFAST32): Likewise.
64114 [C99-based-standards] (SCNxFAST32): Likewise.
64115 [C99-based-standards] (PRId64): Likewise.
64116 [C99-based-standards] (PRIi64): Likewise.
64117 [C99-based-standards] (PRIo64): Likewise.
64118 [C99-based-standards] (PRIu64): Likewise.
64119 [C99-based-standards] (PRIx64): Likewise.
64120 [C99-based-standards] (PRIX64): Likewise.
64121 [C99-based-standards] (SCNd64): Likewise.
64122 [C99-based-standards] (SCNi64): Likewise.
64123 [C99-based-standards] (SCNo64): Likewise.
64124 [C99-based-standards] (SCNu64): Likewise.
64125 [C99-based-standards] (SCNx64): Likewise.
64126 [C99-based-standards] (PRIdLEAST64): Likewise.
64127 [C99-based-standards] (PRIiLEAST64): Likewise.
64128 [C99-based-standards] (PRIoLEAST64): Likewise.
64129 [C99-based-standards] (PRIuLEAST64): Likewise.
64130 [C99-based-standards] (PRIxLEAST64): Likewise.
64131 [C99-based-standards] (PRIXLEAST64): Likewise.
64132 [C99-based-standards] (SCNdLEAST64): Likewise.
64133 [C99-based-standards] (SCNiLEAST64): Likewise.
64134 [C99-based-standards] (SCNoLEAST64): Likewise.
64135 [C99-based-standards] (SCNuLEAST64): Likewise.
64136 [C99-based-standards] (SCNxLEAST64): Likewise.
64137 [C99-based-standards] (PRIdFAST64): Likewise.
64138 [C99-based-standards] (PRIiFAST64): Likewise.
64139 [C99-based-standards] (PRIoFAST64): Likewise.
64140 [C99-based-standards] (PRIuFAST64): Likewise.
64141 [C99-based-standards] (PRIxFAST64): Likewise.
64142 [C99-based-standards] (PRIXFAST64): Likewise.
64143 [C99-based-standards] (SCNdFAST64): Likewise.
64144 [C99-based-standards] (SCNiFAST64): Likewise.
64145 [C99-based-standards] (SCNoFAST64): Likewise.
64146 [C99-based-standards] (SCNuFAST64): Likewise.
64147 [C99-based-standards] (SCNxFAST64): Likewise.
64148 [C99-based-standards] (PRIdMAX): Likewise.
64149 [C99-based-standards] (PRIiMAX): Likewise.
64150 [C99-based-standards] (PRIoMAX): Likewise.
64151 [C99-based-standards] (PRIuMAX): Likewise.
64152 [C99-based-standards] (PRIxMAX): Likewise.
64153 [C99-based-standards] (PRIXMAX): Likewise.
64154 [C99-based-standards] (SCNdMAX): Likewise.
64155 [C99-based-standards] (SCNiMAX): Likewise.
64156 [C99-based-standards] (SCNoMAX): Likewise.
64157 [C99-based-standards] (SCNuMAX): Likewise.
64158 [C99-based-standards] (SCNxMAX): Likewise.
64159 [C99-based-standards] (PRIdPTR): Likewise.
64160 [C99-based-standards] (PRIiPTR): Likewise.
64161 [C99-based-standards] (PRIoPTR): Likewise.
64162 [C99-based-standards] (PRIuPTR): Likewise.
64163 [C99-based-standards] (PRIxPTR): Likewise.
64164 [C99-based-standards] (PRIXPTR): Likewise.
64165 [C99-based-standards] (SCNdPTR): Likewise.
64166 [C99-based-standards] (SCNiPTR): Likewise.
64167 [C99-based-standards] (SCNoPTR): Likewise.
64168 [C99-based-standards] (SCNuPTR): Likewise.
64169 [C99-based-standards] (SCNxPTR): Likewise.
64170 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64171 allow.
64172 * conform/data/stdint.h-data: Update comments to clarify
64173 requirements.
64174 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
64175 type.
64176 [C99-based standards] (INT8_MAX): Likewise.
64177 [C99-based standards] (INT16_MIN): Likewise.
64178 [C99-based standards] (INT16_MAX): Likewise.
64179 [C99-based standards] (INT32_MIN): Likewise.
64180 [C99-based standards] (INT32_MAX): Likewise.
64181 [C99-based standards] (INT64_MIN): Likewise.
64182 [C99-based standards] (INT64_MAX): Likewise.
64183 [C99-based standards] (UINT8_MAX): Likewise.
64184 [C99-based standards] (UINT16_MAX): Likewise.
64185 [C99-based standards] (UINT32_MAX): Likewise.
64186 [C99-based standards] (UINT64_MAX): Likewise.
64187 [C99-based standards] (INT_LEAST8_MIN): Likewise.
64188 [C99-based standards] (INT_LEAST8_MAX): Likewise.
64189 [C99-based standards] (INT_LEAST16_MIN): Likewise.
64190 [C99-based standards] (INT_LEAST16_MAX): Likewise.
64191 [C99-based standards] (INT_LEAST32_MIN): Likewise.
64192 [C99-based standards] (INT_LEAST32_MAX): Likewise.
64193 [C99-based standards] (INT_LEAST64_MIN): Likewise.
64194 [C99-based standards] (INT_LEAST64_MAX): Likewise.
64195 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64196 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64197 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64198 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64199 [C99-based standards] (INT_FAST8_MIN): Likewise.
64200 [C99-based standards] (INT_FAST8_MAX): Likewise.
64201 [C99-based standards] (INT_FAST16_MIN): Likewise.
64202 [C99-based standards] (INT_FAST16_MAX): Likewise.
64203 [C99-based standards] (INT_FAST32_MIN): Likewise.
64204 [C99-based standards] (INT_FAST32_MAX): Likewise.
64205 [C99-based standards] (INT_FAST64_MIN): Likewise.
64206 [C99-based standards] (INT_FAST64_MAX): Likewise.
64207 [C99-based standards] (UINT_FAST8_MAX): Likewise.
64208 [C99-based standards] (UINT_FAST16_MAX): Likewise.
64209 [C99-based standards] (UINT_FAST32_MAX): Likewise.
64210 [C99-based standards] (UINT_FAST64_MAX): Likewise.
64211 [C99-based standards] (INTPTR_MIN): Likewise.
64212 [C99-based standards] (INTPTR_MAX): Likewise.
64213 [C99-based standards] (UINTPTR_MAX): Likewise.
64214 [C99-based standards] (INTMAX_MIN): Likewise.
64215 [C99-based standards] (INTMAX_MAX): Likewise.
64216 [C99-based standards] (UINTMAX_MAX): Likewise.
64217 [C99-based standards] (PTRDIFF_MIN): Likewise.
64218 [C99-based standards] (PTRDIFF_MAX): Likewise.
64219 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64220 [C99-based standards] (SIZE_MAX): Likewise.
64221 [C99-based standards] (WCHAR_MAX): Likewise.
64222 [C99-based standards] (WINT_MAX): Likewise.
64223 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
64224 constraint on value.
64225 [C99-based standards] (WCHAR_MIN): Likewise.
64226 [C99-based standards] (WINT_MIN): Likewise.
64227 [C99-based standards] (*_t): Allow.
64228 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64229 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64230 Include math.h-data and complex.h-data. Remove all expectations
64231 of math.h and complex.h contents.
64232 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64233 at end of line.
64234 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64235 (struct tm): Expect tag.
64236 [C99-based-standards] (wcstof): Expect function.
64237 [C99-based-standards] (wcstold): Likewise.
64238 [C99-based-standards] (wcstoll): Likewise.
64239 [C99-based-standards] (wcstoull): Likewise.
64240 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64241 macro-int-constant. Specify type.
64242 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
64243 constraint on value.
64244 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64245 Specify type.
64246 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64247 Specify value.
64248 [ISO C standards]: Do not allow headers.
64249 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64250 wcs[abcdefghijklmnopqrstuvwxyz]*.
64251 [ISO C standards] (*_t): Do not allow.
64252 * conform/data/wctype.h-data [C99-based standards] (iswblank):
64253 Expect function.
64254 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64255 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64256 Specify type.
64257 [ISO C standards]: Do not allow headers.
64258 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64259 is[abcdefghijklmnopqrstuvwxyz]*.
64260 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64261 to[abcdefghijklmnopqrstuvwxyz]*.
64262 [ISO C standards] (*_t): Do not allow.
64263 * conform/data/stdalign.h-data: New file.
64264 * conform/data/stdbool.h-data: Likewise.
64265 * conform/data/stdnoreturn.h-data: Likewise.
64266
64267 2012-11-07 Roland McGrath <roland@hack.frob.com>
64268
64269 [BZ #14815]
64270 * manual/filesys.texi (Directory Entries): Typo fix.
64271 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64272
64273 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64274
64275 * elf/elf.h (EM_AARCH64): New macro.
64276 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64277 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64278 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64279 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64280 (R_AARCH64_TLSDESC): Likewise.
64281 (NT_ARM_TLS): Likewise.
64282 (NT_ARM_HW_BREAK): Likewise.
64283 (NT_ARM_HW_WATCH): Likewise.
64284
64285 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64286
64287 [BZ #14811]
64288 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64289 (__ieee754_powl): Saturate nonzero exponents with absolute value
64290 below 0x1p-79 to +/- 0x1p-79.
64291 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64292 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64293 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64294 nonzero exponents with absolute value below 0x1p-32 to +/-
64295 0x1p-32.
64296 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64297 (__ieee754_powl): Saturate nonzero exponents with absolute value
64298 below 0x1p-79 to +/- 0x1p-79.
64299 * math/libm-test.inc (pow_test): Add more tests.
64300
64301 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64302
64303 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64304 _dl_s390_cap_flags with kernel. Increase string length.
64305 (_dl_s390_platforms): Add z196 and zEC12.
64306
64307 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64308
64309 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64310 Change XOPEN21K to XOPEN2K.
64311
64312 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64313
64314 * string/memmove.c: Use memcpy when possible.
64315
64316 2012-11-06 Andreas Jaeger <aj@suse.de>
64317
64318 * po/eo.po: Update from translation team.
64319
64320 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64321
64322 [BZ #14793]
64323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64324 exponent and small x and y exponents, scale x or y up. Increase
64325 by 2 the exponent used in scaling up.
64326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64328 * math/libm-test.inc (fma_test): Add more tests.
64329 (fma_test_towardzero): Likewise.
64330 (fma_test_downward): Likewise.
64331 (fma_test_upward): Likewise.
64332
64333 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64334
64335 [BZ #14805]
64336 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64337 fenv_t *.
64338
64339 [BZ #14801]
64340 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64341 namespace for names of struct fields.
64342 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64343 fenv_t fields.
64344 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64345 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64346
64347 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64348
64349 [BZ #3665]
64350 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64351
64352 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64353
64354 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64355 PTR_DEMANGLE.
64356
64357 [BZ #5246]
64358 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64359 PTR_DEMANGLE.
64360
64361 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64362
64363 [BZ #14797]
64364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64365 definitely overflow as x * y not x * y + z.
64366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64368 * math/libm-test.inc (fma_test): Add more tests.
64369 (fma_test_towardzero): Likewise.
64370 (fma_test_downward): Likewise.
64371 (fma_test_upward): Likewise.
64372
64373 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64374
64375 [BZ #157]
64376
64377 * include/stub-tag.h: Remove file.
64378 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64379 '#include' of it.
64380 * manual/maint.texi (Porting): Don't reference it.
64381 * Makerules ($(objpfx)stubs): Likewise.
64382 * dirent/closedir.c: Don't include <stub-tag.h>.
64383 * dirent/dirfd.c: Likewise.
64384 * dirent/fdopendir.c: Likewise.
64385 * dirent/getdents.c: Likewise.
64386 * dirent/getdents64.c: Likewise.
64387 * dirent/opendir.c: Likewise.
64388 * dirent/readdir.c: Likewise.
64389 * dirent/readdir64.c: Likewise.
64390 * dirent/readdir64_r.c: Likewise.
64391 * dirent/readdir_r.c: Likewise.
64392 * dirent/rewinddir.c: Likewise.
64393 * dirent/seekdir.c: Likewise.
64394 * dirent/telldir.c: Likewise.
64395 * gmon/profil.c: Likewise.
64396 * grp/setgroups.c: Likewise.
64397 * inet/if_index.c: Likewise.
64398 * io/access.c: Likewise.
64399 * io/chdir.c: Likewise.
64400 * io/chmod.c: Likewise.
64401 * io/chown.c: Likewise.
64402 * io/close.c: Likewise.
64403 * io/dup.c: Likewise.
64404 * io/dup2.c: Likewise.
64405 * io/dup3.c: Likewise.
64406 * io/euidaccess.c: Likewise.
64407 * io/faccessat.c: Likewise.
64408 * io/fchdir.c: Likewise.
64409 * io/fchmod.c: Likewise.
64410 * io/fchmodat.c: Likewise.
64411 * io/fchown.c: Likewise.
64412 * io/fchownat.c: Likewise.
64413 * io/fcntl.c: Likewise.
64414 * io/flock.c: Likewise.
64415 * io/fstatfs.c: Likewise.
64416 * io/fstatfs64.c: Likewise.
64417 * io/fstatvfs.c: Likewise.
64418 * io/fstatvfs64.c: Likewise.
64419 * io/futimens.c: Likewise.
64420 * io/fxstat.c: Likewise.
64421 * io/fxstat64.c: Likewise.
64422 * io/fxstatat.c: Likewise.
64423 * io/fxstatat64.c: Likewise.
64424 * io/getcwd.c: Likewise.
64425 * io/isatty.c: Likewise.
64426 * io/lchmod.c: Likewise.
64427 * io/lchown.c: Likewise.
64428 * io/link.c: Likewise.
64429 * io/linkat.c: Likewise.
64430 * io/lseek.c: Likewise.
64431 * io/lseek64.c: Likewise.
64432 * io/lxstat64.c: Likewise.
64433 * io/mkdir.c: Likewise.
64434 * io/mkdirat.c: Likewise.
64435 * io/mkfifo.c: Likewise.
64436 * io/mkfifoat.c: Likewise.
64437 * io/open.c: Likewise.
64438 * io/open64.c: Likewise.
64439 * io/openat.c: Likewise.
64440 * io/openat64.c: Likewise.
64441 * io/pipe.c: Likewise.
64442 * io/pipe2.c: Likewise.
64443 * io/poll.c: Likewise.
64444 * io/posix_fadvise.c: Likewise.
64445 * io/posix_fadvise64.c: Likewise.
64446 * io/posix_fallocate.c: Likewise.
64447 * io/posix_fallocate64.c: Likewise.
64448 * io/read.c: Likewise.
64449 * io/readlink.c: Likewise.
64450 * io/readlinkat.c: Likewise.
64451 * io/rmdir.c: Likewise.
64452 * io/sendfile.c: Likewise.
64453 * io/sendfile64.c: Likewise.
64454 * io/statfs.c: Likewise.
64455 * io/statfs64.c: Likewise.
64456 * io/statvfs.c: Likewise.
64457 * io/statvfs64.c: Likewise.
64458 * io/symlink.c: Likewise.
64459 * io/symlinkat.c: Likewise.
64460 * io/ttyname.c: Likewise.
64461 * io/ttyname_r.c: Likewise.
64462 * io/umask.c: Likewise.
64463 * io/unlink.c: Likewise.
64464 * io/unlinkat.c: Likewise.
64465 * io/utime.c: Likewise.
64466 * io/utimensat.c: Likewise.
64467 * io/write.c: Likewise.
64468 * io/xmknod.c: Likewise.
64469 * io/xmknodat.c: Likewise.
64470 * io/xstat.c: Likewise.
64471 * io/xstat64.c: Likewise.
64472 * login/getpt.c: Likewise.
64473 * login/grantpt.c: Likewise.
64474 * login/unlockpt.c: Likewise.
64475 * math/e_acoshl.c: Likewise.
64476 * math/e_acosl.c: Likewise.
64477 * math/e_asinl.c: Likewise.
64478 * math/e_atan2l.c: Likewise.
64479 * math/e_atanhl.c: Likewise.
64480 * math/e_coshl.c: Likewise.
64481 * math/e_expl.c: Likewise.
64482 * math/e_fmodl.c: Likewise.
64483 * math/e_gammal_r.c: Likewise.
64484 * math/e_hypotl.c: Likewise.
64485 * math/e_j0l.c: Likewise.
64486 * math/e_j1l.c: Likewise.
64487 * math/e_jnl.c: Likewise.
64488 * math/e_lgammal_r.c: Likewise.
64489 * math/e_log10l.c: Likewise.
64490 * math/e_log2l.c: Likewise.
64491 * math/e_logl.c: Likewise.
64492 * math/e_powl.c: Likewise.
64493 * math/e_rem_pio2l.c: Likewise.
64494 * math/e_sinhl.c: Likewise.
64495 * math/e_sqrtl.c: Likewise.
64496 * math/fclrexcpt.c: Likewise.
64497 * math/fedisblxcpt.c: Likewise.
64498 * math/feenablxcpt.c: Likewise.
64499 * math/fegetenv.c: Likewise.
64500 * math/fegetexcept.c: Likewise.
64501 * math/fegetround.c: Likewise.
64502 * math/feholdexcpt.c: Likewise.
64503 * math/fesetenv.c: Likewise.
64504 * math/fesetround.c: Likewise.
64505 * math/feupdateenv.c: Likewise.
64506 * math/fgetexcptflg.c: Likewise.
64507 * math/fraiseexcpt.c: Likewise.
64508 * math/fsetexcptflg.c: Likewise.
64509 * math/ftestexcept.c: Likewise.
64510 * math/k_cosl.c: Likewise.
64511 * math/k_rem_pio2l.c: Likewise.
64512 * math/k_sinl.c: Likewise.
64513 * math/k_tanl.c: Likewise.
64514 * math/s_asinhl.c: Likewise.
64515 * math/s_atanl.c: Likewise.
64516 * math/s_cbrtl.c: Likewise.
64517 * math/s_erfl.c: Likewise.
64518 * math/s_expm1l.c: Likewise.
64519 * math/s_log1pl.c: Likewise.
64520 * math/s_tanhl.c: Likewise.
64521 * misc/acct.c: Likewise.
64522 * misc/brk.c: Likewise.
64523 * misc/chflags.c: Likewise.
64524 * misc/chroot.c: Likewise.
64525 * misc/fchflags.c: Likewise.
64526 * misc/fgetxattr.c: Likewise.
64527 * misc/flistxattr.c: Likewise.
64528 * misc/fremovexattr.c: Likewise.
64529 * misc/fsetxattr.c: Likewise.
64530 * misc/fsync.c: Likewise.
64531 * misc/ftruncate.c: Likewise.
64532 * misc/futimes.c: Likewise.
64533 * misc/futimesat.c: Likewise.
64534 * misc/getdomain.c: Likewise.
64535 * misc/getdtsz.c: Likewise.
64536 * misc/gethostid.c: Likewise.
64537 * misc/gethostname.c: Likewise.
64538 * misc/getloadavg.c: Likewise.
64539 * misc/getpagesize.c: Likewise.
64540 * misc/getsysstats.c: Likewise.
64541 * misc/getxattr.c: Likewise.
64542 * misc/gtty.c: Likewise.
64543 * misc/ioctl.c: Likewise.
64544 * misc/lgetxattr.c: Likewise.
64545 * misc/listxattr.c: Likewise.
64546 * misc/llistxattr.c: Likewise.
64547 * misc/lremovexattr.c: Likewise.
64548 * misc/lsetxattr.c: Likewise.
64549 * misc/lutimes.c: Likewise.
64550 * misc/madvise.c: Likewise.
64551 * misc/mincore.c: Likewise.
64552 * misc/mlock.c: Likewise.
64553 * misc/mlockall.c: Likewise.
64554 * misc/mmap.c: Likewise.
64555 * misc/mprotect.c: Likewise.
64556 * misc/msync.c: Likewise.
64557 * misc/munlock.c: Likewise.
64558 * misc/munlockall.c: Likewise.
64559 * misc/munmap.c: Likewise.
64560 * misc/preadv.c: Likewise.
64561 * misc/preadv64.c: Likewise.
64562 * misc/ptrace.c: Likewise.
64563 * misc/pwritev.c: Likewise.
64564 * misc/pwritev64.c: Likewise.
64565 * misc/readv.c: Likewise.
64566 * misc/reboot.c: Likewise.
64567 * misc/remap_file_pages.c: Likewise.
64568 * misc/removexattr.c: Likewise.
64569 * misc/revoke.c: Likewise.
64570 * misc/select.c: Likewise.
64571 * misc/setdomain.c: Likewise.
64572 * misc/setegid.c: Likewise.
64573 * misc/seteuid.c: Likewise.
64574 * misc/sethostid.c: Likewise.
64575 * misc/sethostname.c: Likewise.
64576 * misc/setregid.c: Likewise.
64577 * misc/setreuid.c: Likewise.
64578 * misc/setxattr.c: Likewise.
64579 * misc/sstk.c: Likewise.
64580 * misc/stty.c: Likewise.
64581 * misc/swapoff.c: Likewise.
64582 * misc/swapon.c: Likewise.
64583 * misc/sync.c: Likewise.
64584 * misc/syncfs.c: Likewise.
64585 * misc/syscall.c: Likewise.
64586 * misc/truncate.c: Likewise.
64587 * misc/ualarm.c: Likewise.
64588 * misc/usleep.c: Likewise.
64589 * misc/ustat.c: Likewise.
64590 * misc/utimes.c: Likewise.
64591 * misc/vhangup.c: Likewise.
64592 * misc/writev.c: Likewise.
64593 * posix/_exit.c: Likewise.
64594 * posix/alarm.c: Likewise.
64595 * posix/execve.c: Likewise.
64596 * posix/fexecve.c: Likewise.
64597 * posix/fork.c: Likewise.
64598 * posix/fpathconf.c: Likewise.
64599 * posix/getaddrinfo.c: Likewise.
64600 * posix/getegid.c: Likewise.
64601 * posix/geteuid.c: Likewise.
64602 * posix/getgid.c: Likewise.
64603 * posix/getgroups.c: Likewise.
64604 * posix/getlogin.c: Likewise.
64605 * posix/getlogin_r.c: Likewise.
64606 * posix/getpgid.c: Likewise.
64607 * posix/getpid.c: Likewise.
64608 * posix/getppid.c: Likewise.
64609 * posix/getresgid.c: Likewise.
64610 * posix/getresuid.c: Likewise.
64611 * posix/getsid.c: Likewise.
64612 * posix/getuid.c: Likewise.
64613 * posix/glob64.c: Likewise.
64614 * posix/nanosleep.c: Likewise.
64615 * posix/pathconf.c: Likewise.
64616 * posix/pause.c: Likewise.
64617 * posix/posix_madvise.c: Likewise.
64618 * posix/pread.c: Likewise.
64619 * posix/pread64.c: Likewise.
64620 * posix/pwrite.c: Likewise.
64621 * posix/pwrite64.c: Likewise.
64622 * posix/sched_getaffinity.c: Likewise.
64623 * posix/sched_getp.c: Likewise.
64624 * posix/sched_gets.c: Likewise.
64625 * posix/sched_primax.c: Likewise.
64626 * posix/sched_primin.c: Likewise.
64627 * posix/sched_rr_gi.c: Likewise.
64628 * posix/sched_setaffinity.c: Likewise.
64629 * posix/sched_setp.c: Likewise.
64630 * posix/sched_sets.c: Likewise.
64631 * posix/sched_yield.c: Likewise.
64632 * posix/setgid.c: Likewise.
64633 * posix/setlogin.c: Likewise.
64634 * posix/setpgid.c: Likewise.
64635 * posix/setresgid.c: Likewise.
64636 * posix/setresuid.c: Likewise.
64637 * posix/setsid.c: Likewise.
64638 * posix/setuid.c: Likewise.
64639 * posix/sleep.c: Likewise.
64640 * posix/spawni.c: Likewise.
64641 * posix/sysconf.c: Likewise.
64642 * posix/times.c: Likewise.
64643 * posix/wait.c: Likewise.
64644 * posix/wait3.c: Likewise.
64645 * posix/wait4.c: Likewise.
64646 * posix/waitpid.c: Likewise.
64647 * resolv/gai_sigqueue.c: Likewise.
64648 * resource/getpriority.c: Likewise.
64649 * resource/getrlimit.c: Likewise.
64650 * resource/getrusage.c: Likewise.
64651 * resource/nice.c: Likewise.
64652 * resource/setpriority.c: Likewise.
64653 * resource/setrlimit.c: Likewise.
64654 * resource/ulimit.c: Likewise.
64655 * rt/aio_cancel.c: Likewise.
64656 * rt/aio_fsync.c: Likewise.
64657 * rt/aio_read.c: Likewise.
64658 * rt/aio_sigqueue.c: Likewise.
64659 * rt/aio_suspend.c: Likewise.
64660 * rt/aio_write.c: Likewise.
64661 * rt/clock_getres.c: Likewise.
64662 * rt/clock_gettime.c: Likewise.
64663 * rt/clock_nanosleep.c: Likewise.
64664 * rt/clock_settime.c: Likewise.
64665 * rt/lio_listio.c: Likewise.
64666 * rt/mq_close.c: Likewise.
64667 * rt/mq_getattr.c: Likewise.
64668 * rt/mq_notify.c: Likewise.
64669 * rt/mq_open.c: Likewise.
64670 * rt/mq_receive.c: Likewise.
64671 * rt/mq_send.c: Likewise.
64672 * rt/mq_setattr.c: Likewise.
64673 * rt/mq_timedreceive.c: Likewise.
64674 * rt/mq_timedsend.c: Likewise.
64675 * rt/mq_unlink.c: Likewise.
64676 * rt/shm_open.c: Likewise.
64677 * rt/shm_unlink.c: Likewise.
64678 * rt/timer_create.c: Likewise.
64679 * rt/timer_delete.c: Likewise.
64680 * rt/timer_getoverr.c: Likewise.
64681 * rt/timer_gettime.c: Likewise.
64682 * rt/timer_settime.c: Likewise.
64683 * setjmp/__longjmp.c: Likewise.
64684 * setjmp/setjmp.c: Likewise.
64685 * signal/kill.c: Likewise.
64686 * signal/killpg.c: Likewise.
64687 * signal/raise.c: Likewise.
64688 * signal/sigaction.c: Likewise.
64689 * signal/sigaltstack.c: Likewise.
64690 * signal/sigblock.c: Likewise.
64691 * signal/sigignore.c: Likewise.
64692 * signal/sigintr.c: Likewise.
64693 * signal/signal.c: Likewise.
64694 * signal/sigpause.c: Likewise.
64695 * signal/sigpending.c: Likewise.
64696 * signal/sigqueue.c: Likewise.
64697 * signal/sigreturn.c: Likewise.
64698 * signal/sigset.c: Likewise.
64699 * signal/sigsetmask.c: Likewise.
64700 * signal/sigstack.c: Likewise.
64701 * signal/sigsuspend.c: Likewise.
64702 * signal/sigtimedwait.c: Likewise.
64703 * signal/sigvec.c: Likewise.
64704 * signal/sigwait.c: Likewise.
64705 * signal/sigwaitinfo.c: Likewise.
64706 * signal/sysv_signal.c: Likewise.
64707 * socket/accept.c: Likewise.
64708 * socket/accept4.c: Likewise.
64709 * socket/bind.c: Likewise.
64710 * socket/connect.c: Likewise.
64711 * socket/getpeername.c: Likewise.
64712 * socket/getsockname.c: Likewise.
64713 * socket/getsockopt.c: Likewise.
64714 * socket/isfdtype.c: Likewise.
64715 * socket/listen.c: Likewise.
64716 * socket/recv.c: Likewise.
64717 * socket/recvfrom.c: Likewise.
64718 * socket/recvmsg.c: Likewise.
64719 * socket/send.c: Likewise.
64720 * socket/sendmsg.c: Likewise.
64721 * socket/sendto.c: Likewise.
64722 * socket/setsockopt.c: Likewise.
64723 * socket/shutdown.c: Likewise.
64724 * socket/sockatmark.c: Likewise.
64725 * socket/socket.c: Likewise.
64726 * socket/socketpair.c: Likewise.
64727 * stdio-common/ctermid.c: Likewise.
64728 * stdio-common/cuserid.c: Likewise.
64729 * stdio-common/remove.c: Likewise.
64730 * stdio-common/rename.c: Likewise.
64731 * stdio-common/renameat.c: Likewise.
64732 * stdio-common/tempname.c: Likewise.
64733 * stdlib/getcontext.c: Likewise.
64734 * stdlib/makecontext.c: Likewise.
64735 * stdlib/setcontext.c: Likewise.
64736 * stdlib/swapcontext.c: Likewise.
64737 * stdlib/system.c: Likewise.
64738 * streams/fattach.c: Likewise.
64739 * streams/fdetach.c: Likewise.
64740 * streams/getmsg.c: Likewise.
64741 * streams/getpmsg.c: Likewise.
64742 * streams/putmsg.c: Likewise.
64743 * streams/putpmsg.c: Likewise.
64744 * sysdeps/unix/bsd/getpt.c: Likewise.
64745 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64746 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64747 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64749 Likewise.
64750 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64751 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64752 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64753 * sysvipc/msgctl.c: Likewise.
64754 * sysvipc/msgget.c: Likewise.
64755 * sysvipc/msgrcv.c: Likewise.
64756 * sysvipc/msgsnd.c: Likewise.
64757 * sysvipc/semctl.c: Likewise.
64758 * sysvipc/semget.c: Likewise.
64759 * sysvipc/semop.c: Likewise.
64760 * sysvipc/semtimedop.c: Likewise.
64761 * sysvipc/shmat.c: Likewise.
64762 * sysvipc/shmctl.c: Likewise.
64763 * sysvipc/shmdt.c: Likewise.
64764 * sysvipc/shmget.c: Likewise.
64765 * termios/tcdrain.c: Likewise.
64766 * termios/tcflow.c: Likewise.
64767 * termios/tcflush.c: Likewise.
64768 * termios/tcgetattr.c: Likewise.
64769 * termios/tcgetpgrp.c: Likewise.
64770 * termios/tcsendbrk.c: Likewise.
64771 * termios/tcsetattr.c: Likewise.
64772 * termios/tcsetpgrp.c: Likewise.
64773 * time/adjtime.c: Likewise.
64774 * time/clock.c: Likewise.
64775 * time/getitimer.c: Likewise.
64776 * time/gettimeofday.c: Likewise.
64777 * time/setitimer.c: Likewise.
64778 * time/settimeofday.c: Likewise.
64779 * time/stime.c: Likewise.
64780 * time/time.c: Likewise.
64781
64782 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64783
64784 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64785 /usr/old/bin.
64786
64787 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64788 instead of spaces.
64789 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64790
64791 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64792
64793 [BZ #14796]
64794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64795 FE_TONEAREST before applying Dekker multiplication and Knuth
64796 addition. Clear inexact exceptions and check for exact zero
64797 results afterwards.
64798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64801 * math/libm-test.inc (fma_test): Add more tests.
64802 (fma_test_towardzero): Likewise.
64803 (fma_test_downward): Likewise.
64804 (fma_test_upward): Likewise.
64805 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64806 function.
64807 (libc_fesetround): New macro.
64808 (libc_fesetroundf): Likewise.
64809 (libc_fesetroundl): Likewise.
64810 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64811 function.
64812 (libc_fesetround_387): Likewise.
64813 (libc_fesetroundf): New macro.
64814 (libc_fesetround): Likewise.
64815 (libc_fesetroundl): Likewise.
64816 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64817 function.
64818 (libc_fesetroundf): New macro.
64819 (libc_fesetround): Likewise.
64820 (libc_fesetroundl): Likewise.
64821 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64822 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64823 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64824 libm_hidden_ver.
64825 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64826 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64827 libm_hidden_def.
64828 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64829 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64830 libm_hidden_ver.
64831 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64832 libm_hidden_def.
64833
64834 [BZ #3439]
64835 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64836 integer constant usable in #if and use that to give value to enum
64837 constant.
64838 (FE_DIVBYZERO): Likewise.
64839 (FE_UNDERFLOW): Likewise.
64840 (FE_OVERFLOW): Likewise.
64841 (FE_INVALID): Likewise.
64842 (FE_INVALID_SNAN): Likewise.
64843 (FE_INVALID_ISI): Likewise.
64844 (FE_INVALID_IDI): Likewise.
64845 (FE_INVALID_ZDZ): Likewise.
64846 (FE_INVALID_IMZ): Likewise.
64847 (FE_INVALID_COMPARE): Likewise.
64848 (FE_INVALID_SOFTWARE): Likewise.
64849 (FE_INVALID_SQRT): Likewise.
64850 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64851 (FE_TONEAREST): Likewise.
64852 (FE_TOWARDZERO): Likewise.
64853 (FE_UPWARD): Likewise.
64854 (FE_DOWNWARD): Likewise.
64855 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64856 (FE_DIVBYZERO): Likewise.
64857 (FE_OVERFLOW): Likewise.
64858 (FE_UNDERFLOW): Likewise.
64859 (FE_INEXACT): Likewise.
64860 (FE_TONEAREST): Likewise.
64861 (FE_DOWNWARD): Likewise.
64862 (FE_UPWARD): Likewise.
64863 (FE_TOWARDZERO): Likewise.
64864 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64865 (FE_UNDERFLOW): Likewise.
64866 (FE_OVERFLOW): Likewise.
64867 (FE_DIVBYZERO): Likewise.
64868 (FE_INVALID): Likewise.
64869 (FE_TONEAREST): Likewise.
64870 (FE_TOWARDZERO): Likewise.
64871 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64872 (FE_OVERFLOW): Likewise.
64873 (FE_UNDERFLOW): Likewise.
64874 (FE_DIVBYZERO): Likewise.
64875 (FE_INEXACT): Likewise.
64876 (FE_TONEAREST): Likewise.
64877 (FE_TOWARDZERO): Likewise.
64878 (FE_UPWARD): Likewise.
64879 (FE_DOWNWARD): Likewise.
64880 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64881 (FE_DIVBYZERO): Likewise.
64882 (FE_OVERFLOW): Likewise.
64883 (FE_UNDERFLOW): Likewise.
64884 (FE_INEXACT): Likewise.
64885 (FE_TONEAREST): Likewise.
64886 (FE_DOWNWARD): Likewise.
64887 (FE_UPWARD): Likewise.
64888 (FE_TOWARDZERO): Likewise.
64889
64890 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64891
64892 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64893
64894 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64895
64896 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64897 commands. Quote $PWD.
64898 (blacklist_exports): Don't use remove_newlines. Replace "declare
64899 -x" by "export".
64900 (remove_newlines): Remove.
64901
64902 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64903
64904 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64905 * stdlib/stdlib.h (atof): Moved to ...
64906 * include/bits/stdlib-float.h: Here. New file.
64907 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64908 * stdlib/bits/stdlib-float.h: New file.
64909 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64910 -mno-sse -mno-mmx.
64911 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64912 <xmmintrin.h>.
64913
64914 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64915
64916 * conform/conformtest.pl (@headers): Add fenv.h.
64917 * conform/data/fenv.h-data: New file.
64918 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64919 include of <math/fenv.h>.
64920
64921 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64922 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64923 && !UNIX98]. Enables tests for XOPEN2K8.
64924 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64925 POSIX2008]: Likewise.
64926
64927 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64928 (struct rusage): Do not expect type or its members.
64929
64930 [BZ #3439]
64931 * math/math.h (FP_NAN): Define macro to integer constant usable in
64932 #if and use that to give value to enum constant.
64933 (FP_INFINITE): Likewise.
64934 (FP_ZERO): Likewise.
64935 (FP_SUBNORMAL): Likewise.
64936 (FP_NORMAL): Likewise.
64937
64938 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64939
64940 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64941 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64942 arguments.
64943
64944 2012-11-02 Roland McGrath <roland@hack.frob.com>
64945
64946 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64947 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64948 autoconf-time if not.
64949 * configure.in: Remove AC_PREREQ.
64950
64951 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64952
64953 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64954 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64955 of the internal implementation.
64956
64957 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64958
64959 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64960 except include of <misc/sys/syslog.h>.
64961
64962 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64963
64964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64965 function returns with a NULL context exit with zero.
64966
64967 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64968
64969 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64970
64971 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64972
64973 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64974 (run_program_cmd): This.
64975 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64976 (tst_langinfo): New variable. Use it.
64977
64978 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64979
64980 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64981 floating point opcodes.
64982
64983 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64984
64985 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64986 variable.
64987
64988 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64989
64990 * sysdeps/mach/hurd/powerpc: Remove directory.
64991 * sysdeps/mach/powerpc: Likewise.
64992
64993 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64994
64995 * scripts/check-local-headers.sh: Ignore c++ headers.
64996
64997 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64998
64999 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65000 __libc_cleanup_region_start argument.
65001
65002 2012-11-01 Joseph Myers <joseph@codesourcery.com>
65003
65004 [BZ #14784]
65005 [BZ #14785]
65006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65007 x * y using scaling, not as x * y + z.
65008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65009 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65010 * math/libm-test.inc (fma_test): Add more tests.
65011 (fma_test_towardzero): Likewise.
65012 (fma_test_downward): Likewise.
65013 (fma_test_upward): Likewise.
65014
65015 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65016
65017 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65018
65019 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65020
65021 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65022 New variable.
65023
65024 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
65025
65026 * rt/tst-shm.c (worker): Correct checking for mmap failure.
65027
65028 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65029
65030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65031 Fix sort order.
65032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65033 Likewise.
65034
65035 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65036
65037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65038 Fix the order of the list for glibc 2.17.
65039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65040 Likewise.
65041
65042 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65043
65044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65045
65046 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65047
65048 [BZ #14610]
65049 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65050 for low part of x being zero before using __atanl (y).
65051 * math/libm-test.inc (atan2_test): Add another test.
65052
65053 * manual/install.texi (Configuring and compiling): Document
65054 general use of test-wrapper and test-wrapper-env.
65055 * INSTALL: Regenerated.
65056
65057 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65058 (__fma): Do not extract and scale down low bits on after-rounding
65059 systems when result rounded to normal precision would have normal
65060 exponent.
65061 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65062 (__fmal): Do not extract and scale down low bits on after-rounding
65063 systems when result rounded to normal precision would have normal
65064 exponent.
65065 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65066 (__fmal): Do not extract and scale down low bits on after-rounding
65067 systems when result rounded to normal precision would have normal
65068 exponent.
65069 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65070 macro.
65071 (fma_test): Add more tests.
65072 (fma_test_towardzero): Likewise.
65073 (fma_test_downward): Likewise.
65074 (fma_test_upward): Likewise.
65075
65076 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
65077
65078 * sysdeps/i386/tininess.h: Renamed to ...
65079 * sysdeps/x86/tininess.h: This.
65080 * sysdeps/x86_64/tininess.h: Removed.
65081
65082 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65083
65084 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65085 input. Use $(build-program-cmd).
65086 ($(objpfx)tst-array1-static.out): Likewise.
65087 ($(objpfx)tst-array2.out): Likewise.
65088 ($(objpfx)tst-array3.out): Likewise.
65089 ($(objpfx)tst-array4.out): Likewise.
65090 ($(objpfx)tst-array5.out): Likewise.
65091 ($(objpfx)tst-array5-static.out): Likewise.
65092
65093 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
65094
65095 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65096 if defined.
65097
65098 * nss/nsswitch.h (nss_interface_function): Provide new
65099 macro for use with NSS functions.
65100 * grp/initgroups.c: Use new macro.
65101 * nss/getXXbyYY.c: Likewise.
65102 * nss/getXXbyYY_r.c: Likewise.
65103 * nss/getXXent.c: Likewise.
65104 * nss/getXXent_r.c: Likewise.
65105 * sysdeps/posix/getaddrinfo.c: Likewise.
65106
65107 2012-10-30 Andreas Jaeger <aj@suse.de>
65108
65109 * po/ru.po: Update Russion translation from translation project.
65110
65111 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65112
65113 [BZ #14152]
65114 [BZ #14783]
65115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65116 result and shift together with sticky bit instead of replicating
65117 round-to-nearest rounding.
65118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65120 * math/libm-test.inc (fma_test): Add more tests. Do not permit
65121 missing underflow exceptions.
65122 (fma_test_towardzero): Add more tests.
65123 (fma_test_downward): Likewise.
65124 (fma_test_upward): Likewise.
65125
65126 [BZ #14047]
65127 * sysdeps/generic/tininess.h: New file.
65128 * sysdeps/i386/tininess.h: Likewise.
65129 * sysdeps/sh/tininess.h: Likewise.
65130 * sysdeps/x86_64/tininess.h: Likewise.
65131 * stdlib/tst-strtod-underflow.c: Likewise.
65132 * stdlib/tst-tininess.c: Likewise.
65133 * stdlib/strtod_l.c: Include <tininess.h>.
65134 (round_and_return): Do not set errno for exact underflow cases.
65135 Force an underflow exception when setting errno for underflow.
65136 Determine underflow based on rounding to normal precision if
65137 TININESS_AFTER_ROUNDING.
65138 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65139 ERANGE for exact underflow cases.
65140 * stdlib/Makefile (tests): Add tst-tininess and
65141 tst-strtod-underflow.
65142 ($(objpfx)tst-tininess): Use $(link-libm).
65143 ($(objpfx)tst-strtod-underflow): Likewise.
65144
65145 2012-10-30 Andreas Jaeger <aj@suse.de>
65146
65147 [BZ#14767]
65148 * elf/Makefile (tests): Remove conditional for have-initfini-array
65149 since this is now always required and the variable does not exist
65150 anymore.
65151 (tests-static): Likewise.
65152 (modules-names): Likewise.
65153
65154 * po/eo.po: Add Esperanto translation from translation project.
65155
65156 * elf/tst-array1.c (fini_array): Make writeable so that it can be
65157 merged with constructor/destructor.
65158 (init_array): Likewise.
65159 * elf/tst-array2dep.c (fini_array): Likewise.
65160 (init_array): Likewise.
65161
65162 2012-10-29 Mike Frysinger <vapier@gentoo.org>
65163
65164 * manual/message.texi: Delete @cartouche tags.
65165
65166 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
65167
65168 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65169 EOPNOTSUPP.
65170 * sysdeps/mach/hurd/fsync.c: Likewise.
65171
65172 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65173 [_POSIX_REALTIME_SIGNALS]: Change condition to
65174 [_POSIX_REALTIME_SIGNALS > 0].
65175
65176 2012-10-27 Andreas Jaeger <aj@suse.de>
65177
65178 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65179 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65181 [__WORDSIZE != 64]: Likewise.
65182
65183 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
65184
65185 * iconvdata/tst-table.sh: Remove ${SHELL}.
65186 * iconvdata/tst-tables.sh: Likewise.
65187
65188 2012-10-25 David S. Miller <davem@davemloft.net>
65189
65190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65191 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65192 of strtoull.
65193
65194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65195 ifunc-impl-list.c
65196 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65197 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65198 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65199 file.
65200
65201 2012-10-25 Roland McGrath <roland@hack.frob.com>
65202
65203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65204 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65205 __getdirentries.
65206
65207 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65208 Jim Blandy <jimb@codesourcery.com>
65209
65210 * scripts/cross-test-ssh.sh: New file.
65211 * manual/install.texi (Configuring and compiling): Document use of
65212 cross-test-ssh.sh.
65213 * INSTALL: Regenerated.
65214
65215 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
65216
65217 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65218 EOPNOTSUPP.
65219
65220 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65221
65222 * Makeconfig (run-program-prefix): Fix comment.
65223
65224 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65225 Jim Blandy <jimb@codesourcery.com>
65226
65227 * Makeconfig (test-wrapper): New variable,
65228 (test-wrapper-env): Likewise.
65229 [$(cross-compiling) = yes && $(test-wrapper) != ""]
65230 (run-built-tests): Define to yes.
65231 (run-program-prefix): Use $(test-wrapper).
65232 (built-program-cmd): Likewise.
65233 * Rules (make-test-out): Use $(test-wrapper-env) and
65234 $(host-built-program-cmd).
65235 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65236 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65237 tst-pathopt.sh.
65238 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65239 $(test-wrapper-env) to tst-rtld-load-self.sh.
65240 ($(objpfx)order2.out): Use $(test-wrapper).
65241 ($(objpfx)tst-initorder.out): Likewise.
65242 ($(objpfx)tst-initorder2.out): Likewise.
65243 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65244 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65245 (test_wrapper_env): New variable. Use it to run ld.so.
65246 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65247 Use it to run ld.so.
65248 (test_wrapper_env): Likewise.
65249 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65250 $(test-wrapper) to run-iconv-test.sh.
65251 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65252 (ICONV): Use $test_wrapper.
65253 * posix/Makefile ($(objpfx)globtest.out): Pass
65254 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65255 globtest.sh, not $(run-program-prefix).
65256 * posix/globtest.sh (run_via_rtld_prefix): New variable.
65257 (test_wrapper): Likewise.
65258 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65259 set together with run_via_rtld_prefix.
65260 (run_program_prefix): Define in terms of test_wrapper and
65261 run_via_rtld_prefix.
65262
65263 2012-10-24 Roland McGrath <roland@hack.frob.com>
65264
65265 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65266 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65267 Targets removed.
65268
65269 [BZ #14743]
65270 * include/time.h: Remove librt_hidden_proto (clock_gettime).
65271 Declare __clock_getres, __clock_gettime, __clock_settime,
65272 __clock_nanosleep, and __clock_getcpuclockid.
65273 * rt/clock_gettime.c: Define __clock_gettime as an alias.
65274 Remove librt_hidden_def (clock_gettime).
65275 * sysdeps/unix/clock_gettime.c: Likewise.
65276 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65277 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65278 * rt/clock_getres.c: Define __clock_getres as an alias.
65279 * sysdeps/posix/clock_getres.c: Likewise.
65280 * rt/clock_settime.c: Define __clock_settime as an alias.
65281 * sysdeps/unix/clock_settime.c: Likewise.
65282 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65283 * sysdeps/unix/clock_nanosleep.c: Likewise.
65284 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65285 * rt/clock-compat.c: New file.
65286 * rt/Makefile (librt-routines): Add clock-compat and move
65287 $(clock-routines) to ...
65288 (routines): ... here, new variable.
65289 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65290 Don't add get_clockfreq here.
65291 * rt/Versions (libc: GLIBC_2.17): New version set.
65292 Add clock_* symbols here.
65293 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
65294 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65295 (GLIBC_2.17): Add clock_* symbols.
65296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65300 Likewise.
65301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65302 Likewise.
65303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65307 * NEWS: Mention the move.
65308
65309 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65310 Use __open, __read, __close rather than their public counterparts.
65311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65312 (__get_clockfreq_via_cpuinfo): Likewise.
65313 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65314 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65315
65316 * config.h.in (HAVE_IFUNC): New #undef.
65317 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65318 was successful.
65319 * configure: Regenerated.
65320
65321 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65322
65323 * configure.in: Move READELF check to start of file.
65324 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65325 libc_cv_asm_gnu_indirect_function in the process.
65326 * configure: Regenerated.
65327
65328 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65329
65330 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65331 send the output to /dev/null.
65332 (libc_cv_cc_with_libunwind): Likewise.
65333 (libc_cv_as_noexecstack): Likewise.
65334 * configure: Regenerate.
65335
65336 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65337
65338 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65339
65340 * posix/globtest.sh (TMPDIR): Do not set.
65341 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65342 (testout): Likewise.
65343
65344 2012-10-24 Andreas Jaeger <aj@suse.de>
65345
65346 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65347 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65348 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65349 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65350 posix_fadvise64, posix_fallocate64.
65351
65352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65353 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65354 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65355 Likewise.
65356 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65357 Likewise.
65358 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65359
65360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65361 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65362 <bits/fcntl-linux.h>.
65363 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65364
65365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65366 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65367 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65368 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65369 [__WORDSIZE != 64]: Likewise.
65370
65371 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65372
65373 * Makeconfig (run-built-tests): New variable.
65374 * Rules [$(cross-compiling) = yes]: Change condition to
65375 [$(run-built-tests) = no].
65376 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65377 to [$(run-built-tests) = yes].
65378 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65379 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65380 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65381 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65382 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65383 * io/Makefile [$(cross-compiling) = no]: Likewise.
65384 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65385 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65386 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65387 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65388 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65389 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65390 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65391 * string/Makefile [$(cross-compiling) = no]: Likewise.
65392
65393 * posix/Makefile ($(objpfx)globtest.out): Pass
65394 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65395 $(rtld-installed-name).
65396 * posix/globtest.sh (elf_objpfx): Remove variable.
65397 (rtld_installed_name): Likewise.
65398 (library_path): Likewise.
65399 (run_program_prefix): New variable. Use for running globtest
65400 binary.
65401
65402 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65403 Joseph Myers <joseph@codesourcery.com>
65404
65405 * Makeconfig (host-built-program-cmd): New variable.
65406 * elf/Makefile (tst-stackguard1-ARGS): Use
65407 $(host-built-program-cmd).
65408 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65409 (tst-spawn-ARGS): Likewise.
65410 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65411
65412 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65413 Jim Blandy <jimb@codesourcery.com>
65414
65415 * Makeconfig (run-via-rtld-prefix): New variable.
65416 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65417 (built-program-cmd): Likewise.
65418
65419 2012-10-22 Andreas Jaeger <aj@suse.de>
65420
65421 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65422 __O_RSYNC if it exists, otherwise to O_SYNC.
65423
65424 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65425 Joseph Myers <joseph@codesourcery.com>
65426
65427 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65428 /dev/null.
65429 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65430 from /dev/null
65431 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65432 /dev/null.
65433
65434 2012-10-22 Andreas Jaeger <aj@suse.de>
65435
65436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65437 Define always.
65438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65439
65440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65441 bits/fcntl-linux.h.
65442
65443 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65444 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65445
65446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65447 to __O_LARGEFILE.
65448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65449 to __O_LARGEFILE.
65450
65451 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65452 Joseph Myers <joseph@codesourcery.com>
65453
65454 * config.make.in (NM): New variable.
65455
65456 2012-10-21 Andreas Jaeger <aj@suse.de>
65457
65458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65459 definitions and declarations that are provided by
65460 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65461
65462 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65463
65464 [BZ #14683]
65465 * elf/Makefile (tests-static): Add tst-leaks1-static.
65466 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65467 ($(objpfx)tst-leaks1-static): New rule.
65468 ($(objpfx)tst-leaks1-static-mem): Likewise.
65469 (tst-leaks1-static-ENV): New macro.
65470 * elf/dl-open.c (dl_open_worker): Check the main application
65471 only if SHARED is defined.
65472 * elf/tst-leaks1-static.c: New file.
65473
65474 2012-10-20 Andreas Jaeger <aj@suse.de>
65475
65476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65477 generic values for Linux.
65478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65479 and declarations that are provided by <bits/fcntl-linux.h> and
65480 include <bits/fcntl-linux.h>.
65481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65483
65484 2012-10-20 Roland McGrath <roland@hack.frob.com>
65485
65486 * io/fcntl.h: Move include of <bits/types.h> to the top and
65487 include it unconditionally.
65488
65489 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65490
65491 * wcsmbs/Makefile (tests-ifunc): New variable.
65492 (tests): Add $(tests-ifunc).
65493 * wcsmbs/test-wcschr-ifunc.c: New file.
65494 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65495 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65496 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65497 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65498 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65499
65500 * string/Makefile (tests-ifunc): New variable.
65501 (tests): Add $(tests-ifunc).
65502 * string/test-memccpy.c (TEST_NAME): New macro.
65503 * string/test-memchr.c (TEST_NAME): Likewise.
65504 * string/test-memcmp.c (TEST_NAME): Likewise.
65505 * string/test-memcpy.c (TEST_NAME): Likewise.
65506 * string/test-memmem.c (TEST_NAME): Likewise.
65507 * string/test-memmove.c (TEST_NAME): Likewise.
65508 * string/test-memset.c (TEST_NAME): Likewise.
65509 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65510 * string/test-stpcpy.c (TEST_NAME): Likewise.
65511 * string/test-stpncpy.c (TEST_NAME): Likewise.
65512 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65513 * string/test-strcasestr.c (TEST_NAME): Likewise.
65514 * string/test-strcat.c (TEST_NAME): Likewise.
65515 * string/test-strchr.c (TEST_NAME): Likewise.
65516 * string/test-strcmp.c(TEST_NAME): Likewise.
65517 * string/test-strcpy.c (TEST_NAME): Likewise.
65518 * string/test-strcspn.c (TEST_NAME): Likewise.
65519 * string/test-strlen.c (TEST_NAME): Likewise.
65520 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65521 * string/test-strncmp.c (TEST_NAME): Likewise.
65522 * string/test-strncpy.c (TEST_NAME): Likewise.
65523 * string/test-strnlen.c (TEST_NAME): Likewise.
65524 * string/test-strpbrk.c (TEST_NAME): Likewise.
65525 * string/test-strrchr.c (TEST_NAME): Likewise.
65526 * string/test-strspn.c (TEST_NAME): Likewise.
65527 * string/test-strstr.c (TEST_NAME): Likewise.
65528 * string/test-bcopy-ifunc.c: New file.
65529 * string/test-bzero-ifunc.c: Likewise.
65530 * string/test-memccpy-ifunc.c: Likewise.
65531 * string/test-memchr-ifunc.c: Likewise.
65532 * string/test-memcmp-ifunc.c: Likewise.
65533 * string/test-memcpy-ifunc.c: Likewise.
65534 * string/test-memmem-ifunc.c: Likewise.
65535 * string/test-memmove-ifunc.c: Likewise.
65536 * string/test-mempcpy-ifunc.c: Likewise.
65537 * string/test-memset-ifunc.c: Likewise.
65538 * string/test-rawmemchr-ifunc.c: Likewise.
65539 * string/test-stpcpy-ifunc.c: Likewise.
65540 * string/test-stpncpy-ifunc.c: Likewise.
65541 * string/test-strcasecmp-ifunc.c: Likewise.
65542 * string/test-strcasestr-ifunc.c: Likewise.
65543 * string/test-strcat-ifunc.c: Likewise.
65544 * string/test-strchr-ifunc.c: Likewise.
65545 * string/test-strchrnul-ifunc.c: Likewise.
65546 * string/test-strcmp-ifunc.c: Likewise.
65547 * string/test-strcpy-ifunc.c: Likewise.
65548 * string/test-strcspn-ifunc.c: Likewise.
65549 * string/test-strlen-ifunc.c: Likewise.
65550 * string/test-strncasecmp-ifunc.c: Likewise.
65551 * string/test-strncat-ifunc.c: Likewise.
65552 * string/test-strncmp-ifunc.c: Likewise.
65553 * string/test-strncpy-ifunc.c: Likewise.
65554 * string/test-strnlen-ifunc.c: Likewise.
65555 * string/test-strpbrk-ifunc.c: Likewise.
65556 * string/test-strrchr-ifunc.c: Likewise.
65557 * string/test-strspn-ifunc.c: Likewise.
65558 * string/test-strstr-ifunc.c: Likewise.
65559
65560 * debug/Makefile (tests-ifunc): New variable.
65561 (tests): Add $(tests-ifunc).
65562 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65563 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65564 * debug/test-stpcpy_chk-ifunc.c: New file.
65565 * debug/test-strcpy_chk-ifunc.c: Likewise.
65566
65567 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65568
65569 [BZ #13601]
65570 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65571 header is not read in.
65572
65573 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65574
65575 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65576 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65577 directly. Pass built executable to script as
65578 $(built-program-cmd).
65579 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65580 $testprogram without using LD_LIBRARY_PATH and $ldso.
65581
65582 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65583 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65584 $(rtld-installed-name).
65585 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65586 (rtld_installed_name): Likewise.
65587 (library_path): Likewise.
65588 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65589 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65590 $(run-program-prefix) to tst-tables.sh.
65591 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65592 it to run tst-table-from and tst-table-to.
65593 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65594 Pass it to tst-table.sh.
65595 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65596 $(run-program-prefix) to tst-gettext.sh.
65597 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65598 tst-translit.sh.
65599 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65600 tst-gettext2.sh.
65601 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65602 to run tst-gettext.
65603 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65604 to run tst-gettext2.
65605 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65606 to run tst-translit.
65607 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65608 $(run-program-prefix) to tst-mtrace.sh.
65609 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65610 to run tst-mtrace.
65611 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65612 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65613 $(rtld-installed-name).
65614 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65615 (rtld_installed_name): Likewise.
65616 (run_program_prefix): New variable. Use it to run wordexp-test.
65617
65618 * Makeconfig (ARCH): Remove all definitions.
65619 (machine): Likewise.
65620 [ARCH]: Remove conditional code.
65621 [!objdir]: Give error.
65622 [!objdir] (objpfx): Remove.
65623 [!objdir] (common-objpfx): Likewise.
65624 [!objdir] (common-objdir): Likewise.
65625 * configure.in (config_makefile): Remove. Hardcode Makefile in
65626 AC_CONFIG_FILES call.
65627 * configure: Regenerated.
65628
65629 [BZ #13888]
65630 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65631 or TMPDIR.
65632 (testout): Likewise.
65633
65634 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65635 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65636 $(rtld-installed-name).
65637 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65638 (rtld_installed_name): Likewise.
65639 (runit): Remove function.
65640 (run_getconf): New variable, Use it for running getconf binary.
65641
65642 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65643
65644 [BZ #14716]
65645 * string/test-memmem.c (check_result): New function.
65646 (do_one_test): Use it.
65647 (check1): New function.
65648 (test_main): Use it.
65649
65650 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65651
65652 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65653
65654 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65655
65656 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65657 (_G_LSEEK64): Likewise.
65658 (_G_MMAP64): Likewise.
65659 (_G_FSTAT64): Likewise.
65660 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65661 (_G_LSEEK64): Likewise.
65662 (_G_MMAP64): Likewise.
65663 (_G_FSTAT64): Likewise.
65664 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65665 unconditional. Call __mmap64 directly.
65666 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65667 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65668 __lseek64 directly.
65669 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65670 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65671 __mmap64 directly.
65672 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65673 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65674 __lseek64 directly.
65675 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65676 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65677 __lseek64 directly.
65678 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65679 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65680 __lseek64 directly.
65681 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65682 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65683 __fxstat64 directly.
65684 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65685 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65686 unconditional.
65687 (freopen64) [!_G_OPEN64]: Remove conditional code.
65688 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65689 unconditional.
65690 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65691 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65692 unconditional.
65693 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65694 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65695 unconditional.
65696 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65697 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65698 unconditional.
65699 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65700 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65701 unconditional.
65702 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65703 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65704 unconditional.
65705 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65706 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65707 unconditional.
65708 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65709
65710 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
65711
65712 [BZ #12140]
65713 * manual/memory.texi (Malloc Tunable Parameters): Add note
65714 about free list pointers overwriting some perturb bytes.
65715 Wording suggested by Roland McGrath.
65716
65717 2012-10-17 Joseph Myers <joseph@codesourcery.com>
65718
65719 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65720 (lgamma_test): Likewise.
65721 (tgamma_test): Likewise.
65722
65723 2012-10-16 Florian Weimer <fweimer@redhat.com>
65724
65725 [BZ #14700]
65726 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65727 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65728
65729 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
65730
65731 * NEWS: Mention BZ #14716.
65732 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65733 when removing AVAILABLE1_USES_J macro.
65734
65735 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
65736
65737 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65738 (__bswap_64): __uint64_t for unsigned 64-bit int.
65739
65740 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
65741
65742 * include/string.h (memmem): Declare libc hidden alias.
65743 * string/memmem.c (memmem): Define libc hidden alias.
65744 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65745 __read, __close instead of open, read, close.
65746
65747 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
65748
65749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65750 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65751 global and hidden.
65752 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65753 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65754 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65755 Likewise.
65756 (__rawmemchr_sse2): Likewise.
65757 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65758 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65759 (__strchr_sse2): Likewise.
65760 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65761 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65762 (__strcasecmp_sse2): Likewise.
65763 (__strncasecmp_sse2): Likewise.
65764 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65765 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65766 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65767 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65768 (__strrchr_sse2): Likewise.
65769 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65770 ifunc-impl-list.c.
65771 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65772 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65773 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65774 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65775 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65776 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65777 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65778 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65779 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65780 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65781 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65782 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65783 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65784 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65785 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65786 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65787 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65788 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65789 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65790 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65791 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65792 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65793 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65794 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65795 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65796 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65797 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65798 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65799 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65800 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65801
65802 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65803 global and hidden.
65804 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65805 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65806 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65807 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65808 Likewise.
65809 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65810 Likewise.
65811 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65812 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65813 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65814 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65815 ifunc-impl-list.c.
65816 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65817 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65818 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65819 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65820 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65821 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65822 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65823 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65825 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65829 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65830 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65831 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65832 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65833 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65834 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65835 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65836 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65841 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65842 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65843 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65844 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65845 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65846 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65847 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65848 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65849 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65850 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65851 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65852 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65853 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65854 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65855 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65856 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65857
65858 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65859 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65860 * include/ifunc-impl-list.h: New file.
65861 * misc/ifunc-impl-list.c: Likewise.
65862 * misc/Makefile (routines): Add ifunc-impl-list.
65863 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65864 * string/test-string.h: Include <ifunc-impl-list.h>.
65865 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65866 TEST_NAME]: New variables.
65867 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65868 are defined.
65869 (test_init): Call __libc_ifunc_impl_list to initialize
65870 func_list if TEST_IFUNC and TEST_NAME are defined.
65871
65872 * string/Makefile (strop-tests): Add bcopy and bzero.
65873 * string/test-bcopy.c: New file.
65874 * string/test-bzero.c: Likewise.
65875 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65876 defined.
65877 * string/test-memset.c: Support bzero test if TEST_BZERO is
65878 defined.
65879 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65880 __libc_memmove.
65881 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65882 __libc_memset.
65883 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65884 of memset.
65885
65886 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65887
65888 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65889 * configure: Regenerated.
65890
65891 * Makeconfig (+link-static-before-libc): Don't include
65892 $(link-static-libc).
65893
65894 * libio/libio.h (_IO_pos_t): Remove.
65895
65896 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65897
65898 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65899 McGrath.
65900
65901 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65902
65903 * crypt/crypt-entry.c: Include fips-private.h.
65904 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65905 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65906 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65907 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65908
65909 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65910
65911 * crypt/crypt-private.h: Include stdbool.h.
65912 (_ufc_setup_salt_r): Return bool.
65913 * crypt/crypt-entry.c: Include errno.h.
65914 (__crypt_r): Return NULL with EINVAL for bad salt.
65915 * crypt/crypt_util.c (bad_for_salt): New.
65916 (_ufc_setup_salt_r): Check that salt is long enough and within
65917 the specified alphabet.
65918 * crypt/badsalttest.c: New file.
65919 * crypt/Makefile (tests): Add it.
65920 ($(objpfx)badsalttest): New.
65921
65922 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65923
65924 * NEWS: Add entry for BZ #14602.
65925
65926 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65927
65928 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65929 type-generic.
65930 * math/libm-test.inc: Update comment listing what functions and
65931 macros are tested.
65932 (isgreater_test): New function.
65933 (isgreaterequal_test): Likewise.
65934 (isless_test): Likewise.
65935 (islessequal_test): Likewise.
65936 (islessgreater_test): Likewise.
65937 (isunordered_test): Likewise.
65938 (main): Call the new functions.
65939
65940 2012-10-09 Roland McGrath <roland@hack.frob.com>
65941
65942 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65943 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65944 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65945 * sysdeps/i386/configure: Regenerated.
65946 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65947 * sysdeps/mach/configure: Regenerated.
65948 * sysdeps/mach/hurd/configure: Regenerated.
65949 * sysdeps/powerpc/configure: Regenerated.
65950 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65951 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65952 * sysdeps/s390/s390-32/configure: Regenerated.
65953 * sysdeps/s390/s390-64/configure: Regenerated.
65954 * sysdeps/sh/configure: Regenerated.
65955 * sysdeps/sparc/configure: Regenerated.
65956 * sysdeps/unix/sysv/linux/configure: Regenerated.
65957 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65958 * sysdeps/x86_64/configure: Regenerated.
65959
65960 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65961 defined. Don't check if MAP is NULL.
65962
65963 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65964
65965 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65966 (_G_stat64): Likewise.
65967 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65968 (_G_stat64): Likewise.
65969 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65970 instead of struct _G_stat64.
65971 * libio/fileops.c (mmap_remap_check): Likewise.
65972 (decide_maybe_mmap): Likewise.
65973 (_IO_new_file_seekoff): Likewise.
65974 (_IO_file_stat): Likewise.
65975 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65976 _G_off64_t.
65977 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65978 instead of struct _G_stat64.
65979 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65980
65981 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65982
65983 [BZ #14602]
65984 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65985 Replace with ...
65986 (CHECK_EOL): New macro.
65987 (two_way_short_needle): Check beginning of haystack for EOL. Use
65988 CHECK_EOL.
65989 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65990 Replace with CHECK_EOL.
65991 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65992 Replace with CHECK_EOL.
65993
65994 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65995
65996 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65997 type-generic.
65998 * math/libm-test.inc: Update comment listing what functions and
65999 macros are tested.
66000 (finite_test): New function.
66001 (isinf_test): Likewise.
66002 (isnan_test): Likewise.
66003 (fpclassify_test): Test subnormal input.
66004 (isfinite_test): Likewise.
66005 (isnormal_test): Likewise.
66006 (main): Call the new functions.
66007
66008 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
66009
66010 [BZ #14660]
66011 * Makerules (%.dynsym): Force C locale when running
66012 $(OBJDUMP) --dynamic-syms.
66013
66014 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
66015
66016 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66017 <stdint.h>.
66018
66019 2012-10-06 David S. Miller <davem@davemloft.net>
66020
66021 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66022 upper 32-bits of the length value in %o2 since we use branch-on-register
66023 tests which consider the entire 64-bit register.
66024
66025 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
66026
66027 * string/test-strstr.c (check2): Add a test for page boundary.
66028
66029 2012-10-05 David S. Miller <davem@davemloft.net>
66030
66031 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66032 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66033 file.
66034 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66035 sysdep_routines.
66036 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66037 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66038 and bzero when HWCAP_SPARC_CRYPTO is present.
66039
66040 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
66041
66042 [BZ #14602]
66043 * string/test-strstr.c (check2): New function.
66044 (test_main): Call check2.
66045
66046 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66047 and bug-strchr1.
66048 * string/bug-strcasestr1.c (do_test): Moved to ...
66049 * string/test-strcasestr.c (check1): Here. New function.
66050 (do_one_test): Break out result checking code into ...
66051 (check_result): This. New function.
66052 (do_one_test): Call check_result.
66053 (test_main): Call check1.
66054 * string/bug-strchr1.c (do_test): Moved to ...
66055 * string/test-strchr.c (check1): Here. New function.
66056 (do_one_test): Break out result checking code into ...
66057 (check_result): This. New function.
66058 (do_one_test): Call check_result.
66059 (test_main): Call check1.
66060 * string/bug-strstr1.c (main): Moved to ...
66061 * string/test-strstr.c (check1): Here. New function.
66062 (do_one_test): Break out result checking code into ...
66063 (check_result): This. New function.
66064 (do_one_test): Call check_result.
66065 (test_main): Call check1.
66066 * string/bug-strcasestr1.c: Removed.
66067 * string/bug-strchr1.c: Likewise.
66068 * string/bug-strstr1.c: Likewise.
66069
66070 * elf/Makefile (dl-routines): Add hwcaps.
66071 * elf/dl-support.c (_dl_important_hwcaps): Removed.
66072 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66073 (_dl_important_hwcaps): Moved to ...
66074 * elf/dl-hwcaps.c: Here. New file.
66075 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66076
66077 [BZ #14557]
66078 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66079 if IS_IN_rtld isn't defined.
66080
66081 * elf/dl-support.c (_dl_sysinfo_map): New.
66082 Include "get-dynamic-info.h" and "setup-vdso.h".
66083 (_dl_non_dynamic_init): Call setup_vdso.
66084 * elf/dynamic-link.h: Don't include <assert.h>.
66085 (elf_get_dynamic_info): Moved to ...
66086 * elf/get-dynamic-info.h: Here. New file.
66087 * elf/dynamic-link.h: Include "get-dynamic-info.h".
66088 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66089 * elf/setup-vdso.h: Here. New file.
66090 * elf/rtld.c: Include "setup-vdso.h".
66091 (dl_main): Call setup_vdso.
66092
66093 2012-10-05 Joseph Myers <joseph@codesourcery.com>
66094
66095 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66096 creal in comment listing functions tested. List finite, isinf,
66097 isnan, isless, islessequal, isgreater, isgreaterequal,
66098 islessgreater, isunordered, lgamma_r and pow10 as functions and
66099 macros not tested. Mention which functions not tested are aliases
66100 for other functions. Fix typo. Note that signs of NaNs are not
66101 tested.
66102
66103 * scripts/config.guess: Update from config.git.
66104 * scripts/config.sub: Likewise.
66105
66106 2012-10-04 Roland McGrath <roland@hack.frob.com>
66107
66108 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66109 * misc/madvise.c (madvise): Renamed to __madvise.
66110 Make madvise a weak alias.
66111 * include/sys/mman.h: Declare __madvise.
66112 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66113 * sysdeps/unix/syscalls.list
66114 (madvise): Make __madvise the strong name, and madvise a weak alias.
66115 * sysdeps/unix/sysv/linux/syscalls.list
66116 (madvise, mmap): Remove redundant entries.
66117 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66118 * malloc/malloc.c (mtrim): Likewise.
66119 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66120
66121 2012-10-03 Roland McGrath <roland@hack.frob.com>
66122
66123 * sysdeps/mach/hurd/dl-cache.c: File removed.
66124 * config.h.in (USE_LDCONFIG): New #undef.
66125 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66126 * configure: Regenerated.
66127 * elf/Makefile (dl-routines): Add dl-cache only under
66128 [$(use-ldconfig) = yes].
66129 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66130 cache on [USE_LDCONFIG].
66131 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66132 [USE_LDCONFIG].
66133 * elf/rtld.c (dl_main): Likewise.
66134
66135 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
66136
66137 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66138 _SC_LEVEL4_CACHE_LINESIZE.
66139
66140 2012-10-03 Roland McGrath <roland@hack.frob.com>
66141
66142 * sysdeps/unix/bsd/confstr.h: File removed.
66143
66144 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
66145
66146 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66147 sys/sdt-config.h.
66148
66149 2012-10-02 Roland McGrath <roland@hack.frob.com>
66150
66151 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66152 Make 'mapoff' field ElfW(Off) rather than off_t.
66153
66154 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
66155
66156 * nscd/Makefile: Remove nscd-cflags and all its users.
66157 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66158 (CFLAGS-nonlib): Add compiler flags for nscd modules.
66159
66160 [BZ #10631]
66161 * malloc.c (malloc_printerr): Clarify error message.
66162
66163 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
66164
66165 [BZ #14648]
66166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66167 Set bit_FMA_Usable if FMA is supported.
66168 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66169 macro.
66170 (bit_FMA4_Usable): Updated.
66171 (index_FMA_Usable): New macro.
66172 (CPUID_FMA): Likewise.
66173 (HAS_FMA): Defined with bit_FMA_Usable.
66174
66175 2012-10-01 Roland McGrath <roland@hack.frob.com>
66176
66177 * bits/types.h (__swblk_t): Type removed.
66178 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66179 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66181 (__SWBLK_T_TYPE): Likewise.
66182 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66183 (__SWBLK_T_TYPE): Likewise.
66184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66185 (__SWBLK_T_TYPE): Likewise.
66186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66187 (__SWBLK_T_TYPE): Likewise.
66188
66189 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
66190 Honza Horak <hhorak@redhat.com>
66191
66192 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66193 (xdr_mapname): Use YPMAXMAP as maxsize.
66194 (xdr_peername): Use YPMAXPEER as maxsize.
66195 (xdr_keydat): Use YPAXRECORD as maxsize.
66196 (xdr_valdat): Use YPMAXRECORD as maxsize.
66197
66198 2012-10-01 Roland McGrath <roland@hack.frob.com>
66199
66200 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66201
66202 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66203 * csu/init-first.c: ... here.
66204 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66205 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66206 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66207 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66208 * sysdeps/i386/init-first.c: File removed.
66209 * sysdeps/sh/init-first.c: File removed.
66210
66211 2012-10-01 Joseph Myers <joseph@codesourcery.com>
66212
66213 [BZ #14645]
66214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66215 if x * y might underflow to zero and z is zero.
66216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66218 * math/libm-test.inc (min_subnorm_value): New variable.
66219 (fma_test): Add more tests.
66220 (fma_test_towardzero): Likewise.
66221 (fma_test_downward): Likewise.
66222 (fma_test_upward): Likewise.
66223 (initialize): Set min_subnorm_value.
66224
66225 2012-09-29 Joseph Myers <joseph@codesourcery.com>
66226
66227 [BZ #14638]
66228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66229 0 + 0.
66230 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66231 mode for addition resulting in exact zero.
66232 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66234 exact 0 + 0.
66235 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66237 * math/libm-test.inc (fma_test): Add more tests.
66238 (fma_test_towardzero): New function.
66239 (fma_test_downward): Likewise.
66240 (fma_test_upward): Likewise.
66241 (main): Call the new functions.
66242
66243 2012-09-28 David S. Miller <davem@davemloft.net>
66244
66245 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66246
66247 2012-09-28 Roland McGrath <roland@hack.frob.com>
66248
66249 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66250 instead of SIGALRM.
66251
66252 * sysdeps/gnu/_G_config.h: Moved to ...
66253 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66254 * sysdeps/mach/hurd/_G_config.h: Moved to ...
66255 * sysdeps/generic/_G_config.h: ... here.
66256
66257 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
66258
66259 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66260
66261 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66262 Conditionalize target on [libnss_test1.so-version].
66263
66264 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66265
66266 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66267 (elfobjdir): Move out of conditionals.
66268
66269 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66270 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66271 (__nss_lookup_function): Conditionalize label remove_from_tree on
66272 [!DO_STATIC_NSS || SHARED], matching its only use.
66273
66274 2012-09-28 David S. Miller <davem@davemloft.net>
66275
66276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66277 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66278 file.
66279 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66280 sysdep_routines.
66281 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66283 when HWCAP_SPARC_CRYPTO is present.
66284
66285 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66286
66287 * io/tst-mknodat.c: Create a FIFO instead of a socket.
66288
66289 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66290
66291 [BZ #6530]
66292 * stdio-common/vfprintf.c (process_string_arg): Revert
66293 2000-07-22 change.
66294
66295 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
66296
66297 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66298 for testcase.
66299 * stdio-common/tst-sprintf.c: Include <locale.h>
66300 (main): Test sprintf's handling of incomplete multibyte
66301 characters.
66302
66303 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
66304
66305 * elf/dl-runtime.c (VERSYMIDX): Removed.
66306 * elf/dl-version.c (VERSYMIDX): Likewise.
66307 * elf/do-rel.h (VERSYMIDX): Likewise.
66308 (VALIDX): Likewise.
66309 * elf/dynamic-link.h (VERSYMIDX): Likewise.
66310 * elf/rtld.c (VALIDX): Likewise.
66311 (ADDRIDX): Likewise.
66312 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66313 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66314 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66315 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66316 (VALIDX): Likewise.
66317 (ADDRIDX): Likewise.
66318
66319 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66320
66321 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66322
66323 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66324
66325 [BZ #11438]
66326 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66327 to global scope.
66328 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66329 addresses are in the same scope as 192.0.2/24.
66330 * posix/gai.conf: Document new scope table defaults.
66331
66332 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66333
66334 [BZ #5298]
66335 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66336 for ftell. Compute offsets from write pointers instead.
66337 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66338
66339 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66340
66341 [BZ #14543]
66342 * libio/Makefile (tests): New test case tst-fseek.
66343 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66344 combination works in wide mode.
66345 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66346 state when the external buffer state changes.
66347
66348 2012-09-27 David S. Miller <davem@davemloft.net>
66349
66350 [BZ #14376]
66351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66352 pass reloc->r_addend in as the 'high' argument to
66353 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66354
66355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66356
66357 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66358
66359 * rt/tst-aio2.c: Include <pthread.h>.
66360 * rt/tst-aio3.c: Likewise.
66361
66362 2012-09-27 Steve Ellcey <sellcey@mips.com>
66363
66364 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66365
66366 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66367
66368 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66369 contents on [SHARED].
66370
66371 2012-09-26 Marek Polacek <polacek@redhat.com>
66372
66373 [BZ #14530]
66374 [BZ #13741]
66375 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66376 for C++ and GCC <4.3 as well as for non GCC compilers.
66377
66378 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66379
66380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66381
66382 2012-09-25 Roland McGrath <roland@hack.frob.com>
66383
66384 * Makefile.in (all, install): Declare with .PHONY.
66385 Reported by Michael Hope <michael.hope@linaro.org>.
66386
66387 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66388
66389 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66390 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66391 system header.
66392 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66393 Likewise.
66394 (sydep_routines): Add the new and the internal functions.
66395 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66396 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66398 (GLIBC_2.17): Add the new function.
66399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66400 (GLIBC_2.17): Likewise.
66401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66402 (GLIBC_2.17): Likewise.
66403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66404 (GLIBC_2.17): Likewise.
66405 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66406
66407 2012-09-25 Alan Modra <amodra@gmail.com>
66408
66409 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66410 Add release barrier before setting once_control to say
66411 initialisation is done. Add hints on lwarx. Use macro in
66412 place of isync.
66413 (clear_once_control): Add release barrier.
66414
66415 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66416
66417 [BZ #13629]
66418 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66419 specially.
66420 * math/s_clog10.c (__clog10): Likewise.
66421 * math/s_clog10f.c (__clog10f): Likewise.
66422 * math/s_clog10l.c (__clog10l): Likewise.
66423 * math/s_clogf.c (__clogf): Likewise.
66424 * math/s_clogl.c (__clogl): Likewise.
66425 * math/Makefile (libm-calls): Add x2y2m1.
66426 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66427 (__x2y2m1): Likewise.
66428 (__x2y2m1l): Likewise.
66429 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66430 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66431 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66432 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66433 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66434 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66435 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66436 * sysdeps/i386/fpu/libm-test-ulps: Update.
66437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66438
66439 [BZ #14621]
66440 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66441 int as type of variable DEPTH.
66442 (glob): Use size_t instead of int as type of variables NEWCOUNT
66443 and OLD_PATHC.
66444
66445 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66446
66447 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66448 Add s_sincosf-sse2.
66449 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66450 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66451 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66452 macros for using routine as __sincosf_ia32.
66453 Use macro for function declaration and weak_alias.
66454 * sysdeps/i386/fpu/libm-test-ulps: Update.
66455
66456 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66458
66459 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66460 subnormal argument.
66461 * math/s_cexpf.c (__cexpf): Likewise.
66462 * math/s_csinf.c (__csinf): Likewise.
66463 * math/s_csinhf.c (__csinhf): Likewise.
66464 * math/s_ctanf.c (__ctanf): Likewise.
66465 * math/s_ctanhf.c (__ctanhf): Likewise.
66466 * math/s_ccosh.c (__ccoshf): Likewise.
66467 * math/s_cexp.c (__cexpl): Likewise.
66468 * math/s_csin.c (__csin): Likewise.
66469 * math/s_csinh.c (__csinh): Likewise.
66470 * math/s_ctan.c (__ctan): Likewise.
66471 * math/s_ctanh.c (ctanh): Likewise.
66472 * math/s_ccoshl.c (__ccoshl): Likewise.
66473 * math/s_cexpl.c (__cexpl): Likewise.
66474 * math/s_csinl.c (__csinl): Likewise.
66475 * math/s_csinhl.c (__csinhl): Likewise.
66476 * math/s_ctanl.c (__ctanl): Likewise.
66477 * math/s_ctanhl.c (__ctanhl): Likewise.
66478
66479 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66480
66481 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66482 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66483 (_IO_off_t): Define to __off_t, not _G_off_t.
66484 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66485 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66486 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66487 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66488 type of __dummy and __dummy2 fields.
66489 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66490 (_G_ssize_t): Likewise.
66491 (_G_off_t): Likewise.
66492 (_G_pid_t): Likewise.
66493 (_G_uid_t): Likewise.
66494 (_G_wchar_t): Likewise.
66495 (_G_wint_t): Likewise.
66496 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66497 (_G_ssize_t): Likewise.
66498 (_G_off_t): Likewise.
66499 (_G_pid_t): Likewise.
66500 (_G_uid_t): Likewise.
66501 (_G_wchar_t): Likewise.
66502 (_G_wint_t): Likewise.
66503 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66504 (_G_ssize_t): Likewise.
66505 (_G_off_t): Likewise.
66506 (_G_pid_t): Likewise.
66507 (_G_uid_t): Likewise.
66508 (_G_wchar_t): Likewise.
66509 (_G_wint_t): Likewise.
66510
66511 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66512
66513 * malloc/arena.c: Include malloc-sysdep.h.
66514 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66515 is sufficient to shrink the heap or an unmap is needed.
66516 * sysdeps/generic/malloc-sysdep.h: New file. Define
66517 new function check_may_shrink_heap.
66518 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66519 new function check_may_shrink_heap.
66520
66521 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66522
66523 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66524 comments.
66525
66526 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66527
66528 * catgets/test-gencat.sh: Add "set -e".
66529 * elf/tst-pathopt.sh: Likewise.
66530 * grp/tst_fgetgrent.sh: Likewise.
66531 * iconvdata/run-iconv-test.sh: Likewise.
66532 * intl/tst-gettext.sh: Likewise.
66533 * intl/tst-gettext2.sh: Likewise.
66534 * intl/tst-gettext4.sh: Likewise.
66535 * intl/tst-gettext6.sh: Likewise.
66536 * intl/tst-translit.sh: Likewise.
66537 * io/ftwtest-sh: Likewise.
66538 * libio/test-freopen.sh: Likewise.
66539 * malloc/tst-mtrace.sh: Likewise.
66540 * posix/globtest.sh: Likewise.
66541 * posix/tst-getconf.sh: Likewise.
66542 * posix/wordexp-tst.sh: Likewise.
66543 * stdio-common/tst-printf.sh: Likewise.
66544 * stdio-common/tst-unbputc.sh: Likewise.
66545 * stdlib/tst-fmtmsg.sh: Likewise.
66546 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66547 * catgets/Makefile: Do not specify -e option when running
66548 testsuite shell scripts.
66549 * elf/Makefile: Likewise.
66550 * grp/Makefile: Likewise.
66551 * iconvdata/Makefile: Likewise.
66552 * intl/Makefile: Likewise.
66553 * io/Makefile: Likewise.
66554 * libio/Makefile: Likewise.
66555 * malloc/Makefile: Likewise.
66556 * posix/Makefile: Likewise.
66557 * stdio-common/Makefile: Likewise.
66558 * stdlib/Makefile: Likewise.
66559 * sysdeps/x86_64/Makefile: Likewise.
66560
66561 * io/ftwtest-sh: Add copyright header.
66562 * posix/globtest.sh: Likewise.
66563 * posix/tst-getconf.sh: Likewise.
66564 * posix/wordexp-tst.sh: Likewise.
66565 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66566
66567 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66568
66569 [BZ #13679]
66570 * Makeconfig (+link): Defined as $(+link-static) if
66571 $(build-shared) isn't yes.
66572 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66573 isn't yes.
66574 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66575
66576 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66577
66578 [BZ #14562]
66579 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66580 new chunk size with MALLOC_ALIGN_MASK.
66581
66582 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66583
66584 [BZ #5044]
66585 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66586 <rounding-mode.h>.
66587 (__printf_fphex): Determine rounding using get_rounding_mode and
66588 round_away.
66589 * stdio-common/tst-printf-round.c (struct hex_test): New
66590 structure.
66591 (hex_tests): New variable.
66592 (test_hex_in_one_mode): New function.
66593 (do_test): Also run tests for hex float output.
66594
66595 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66596
66597 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66598 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66599 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66600 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66601 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66602 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66603 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66604 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66605
66606 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66607
66608 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66609 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66610 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66611 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66612
66613 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66614
66615 [BZ #14579]
66616 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66617 mode only.
66618 * elf/tst-rtld-load-self.sh: New test.
66619 * elf/Makefile: Run it.
66620
66621 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66622
66623 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66624 (tst-writev-ENV): Remove.
66625 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66626
66627 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66628
66629 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66630
66631 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66632
66633 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66634 unconditional.
66635 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66636 Likewise.
66637 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66638 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66639 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66640 Likewise.
66641
66642 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66643
66644 [BZ #14587]
66645 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66646 * config.make.in (have-cpp-asm-debuginfo): Removed.
66647 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66648 * configure: Regenerated.
66649
66650 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66651
66652 [BZ #5044]
66653 * stdio-common/printf_fp.c: Include <stdbool.h> and
66654 <rounding-mode.h>.
66655 (___printf_fp): Determine rounding using get_rounding_mode and
66656 round_away.
66657 * stdio-common/tst-printf-round.c: New file.
66658 * stdio-common/Makefile (tests): Add tst-printf-round.
66659 (link-libm): New variable.
66660 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66661
66662 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66663
66664 [BZ #14576]
66665 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66666 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66667 Likewise.
66668 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66669 Likewise.
66670
66671 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66672
66673 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66674 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66675 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66676 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66677
66678 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66679
66680 [BZ #14518]
66681 * include/rounding-mode.h: New file.
66682 * sysdeps/generic/get-rounding-mode.h: Likewise.
66683 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66684 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66685 (MAX_VALUE): New macro.
66686 (MIN_VALUE): Likewise.
66687 (overflow_value): New function.
66688 (underflow_value): Likewise.
66689 (round_and_return): Use overflow_value and underflow_value to
66690 determine return values in overflow and underflow cases. Use
66691 round_away to determine rounding depending on rounding mode.
66692 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66693 determine return values in overflow and underflow cases.
66694 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66695 (struct test_results): New structure.
66696 (struct test): Use struct test_results to store expected results
66697 for all rounding modes.
66698 (TEST): Include expected results for all rounding modes.
66699 (test_in_one_mode): New function.
66700 (do_test): Use test_in_one_mode to compute and check results.
66701 Check results for all rounding modes.
66702 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66703 $(link-libm).
66704
66705 2012-12-09 Allan McRae <allan@archlinux.org>
66706
66707 * sysdeps/i386/fpu/libm-test-ulps: Update
66708
66709 2012-09-11 Joseph Myers <joseph@codesourcery.com>
66710
66711 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66712 (_G_int32_t): Likewise.
66713 (_G_uint16_t): Likewise.
66714 (_G_uint32_t): Likewise.
66715 (_G_HAVE_BOOL): Likewise.
66716 (_G_HAVE_ATEXIT): Likewise.
66717 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66718 (_G_HAVE_IO_FILE_OPEN): Likewise.
66719 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66720 (_G_int32_t): Likewise.
66721 (_G_uint16_t): Likewise.
66722 (_G_uint32_t): Likewise.
66723 (_G_HAVE_BOOL): Likewise.
66724 (_G_HAVE_ATEXIT): Likewise.
66725 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66726 (_G_HAVE_IO_FILE_OPEN): Likewise.
66727 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66728 (_G_int32_t): Likewise.
66729 (_G_uint16_t): Likewise.
66730 (_G_uint32_t): Likewise.
66731 (_G_HAVE_BOOL): Likewise.
66732 (_G_HAVE_ATEXIT): Likewise.
66733 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66734 (_G_HAVE_IO_FILE_OPEN): Likewise.
66735
66736 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
66737
66738 * csu/libc-tls.c: Update copyright years.
66739
66740 2012-09-10 Joseph Myers <joseph@codesourcery.com>
66741
66742 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66743 [!_G_USING_THUNKS]: Remove conditional code.
66744 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66745 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66746
66747 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66748 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66749 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66750 (_G_VTABLE_LABEL_PREFIX): Likewise.
66751 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66752 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66753 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66754 (_G_VTABLE_LABEL_PREFIX): Likewise.
66755 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66756 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66757 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66758 (_G_VTABLE_LABEL_PREFIX): Likewise.
66759 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66760
66761 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66762
66763 * libio/Makefile: Include ../Makeconfig before tests.
66764 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66765 only if $(build-shared) is yes.
66766
66767 * iconv/gconv_db.c: Update copyright years.
66768
66769 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66770
66771 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66772 unwind info if defined PIC. Fix special cases description.
66773 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66774
66775 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66776 DP_HI_MASK entry.
66777 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66778
66779 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66780
66781 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66782
66783 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66784 is NULL.
66785
66786 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66787 (LDLIBS-tst-chk4): This.
66788 (LDFLAGS-tst-chk5): Renamed to ...
66789 (LDLIBS-tst-chk5): This.
66790 (LDFLAGS-tst-chk6): Renamed to ...
66791 (LDLIBS-tst-chk6): This.
66792 (LDFLAGS-tst-lfschk4): Renamed to ...
66793 (LDLIBS-tst-lfschk4): This.
66794 (LDFLAGS-tst-lfschk5): Renamed to ...
66795 (LDLIBS-tst-lfschk5): This.
66796 (LDFLAGS-tst-lfschk6): Renamed to ...
66797 (LDLIBS-tst-lfschk6): This.
66798
66799 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66800 on $(common-objpfx)soversions.mk.
66801
66802 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66803
66804 [BZ #10014]
66805 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66806 example host name.
66807
66808 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66809
66810 * malloc/arena.c (arena_get_retry): New function that gets
66811 another arena for the caller to try its request on.
66812 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66813 current arena cannot fulfill the request.
66814 (__libc_memalign): Likewise.
66815 (__libc_memalign): Likewise.
66816 (__libc_pvalloc): Likewise.
66817 (__libc_calloc): Likewise.
66818
66819 2012-09-05 John Tobey <john.tobey@gmail.com>
66820
66821 [BZ #13542]
66822 * manual/arith.texi (Operations on Complex): Fix description
66823 of carg branch cut.
66824
66825 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66826
66827 [BZ #10014]
66828 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66829 host name.
66830
66831 [BZ #10038]
66832 * manual/memory.texi (Memory): Make order of menu items match
66833 order of sections.
66834
66835 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66836
66837 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66838 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66839 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66840
66841 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66842
66843 * csu/libc-tls.c (static_dtv): Renamed to ...
66844 (_dl_static_dtv): This. Make it global.
66845 (_dl_initial_dtv): Removed.
66846 (__libc_setup_tls): Updated.
66847 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66848 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66849 DL_INITIAL_DTV.
66850
66851 2012-09-06 Petr Machata <pmachata@redhat.com>
66852
66853 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66854 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66855 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66856 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66857
66858 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66859
66860 [BZ #14545]
66861 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66862 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66863 freeing dtv[-1].
66864
66865 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66866
66867 [BZ #14544]
66868 * Makeconfig (link-static-before-libc): Replace $(+prector)
66869 with $(+prectorT).
66870 (link-static-after-libc): Replace $(+postctor) with
66871 $(+postctorT).
66872 (link-bounded): Replace $(+prector)/$(+postctor) with
66873 $(+prectorT)/$(+postctorT).
66874 (+prectorT): New macro.
66875 (+postctorT): Likewise.
66876
66877 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66878
66879 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66880 (round_str): Handle values above the maximum for IBM long double
66881 as inexact.
66882 * stdlib/tst-strtod-round.c (tests): Regenerated.
66883
66884 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66885
66886 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66887 assembler flag.
66888 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66889 zarch_nohighgprs around the zarch optimized routines.
66890 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66891 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66892 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66893 for zarch.
66894
66895 2012-09-05 David S. Miller <davem@davemloft.net>
66896
66897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66898
66899 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66900 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66901 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66902 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66903 entries.
66904
66905 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66906
66907 * malloc/arena.c: Fold copyright years.
66908 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66909
66910 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66911
66912 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66913
66914 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66915
66916 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66917
66918 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66919
66920 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66921 change internal state upon failure.
66922
66923 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66924
66925 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66926 * malloc/memusage.c (mmap): Likewise.
66927 (mmap64, mremap): Likewise. Adjust name in comment.
66928
66929 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66930
66931 * libio/fileops.c: Fix typos in comments.
66932 * libio/oldfileops.c: Likewise.
66933 * libio/wfileops.c: Likewise.
66934
66935 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66936
66937 [BZ #1349]
66938 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66939 (tst-malloc-usable-ENV): Set environment for test case.
66940 * malloc/hooks.c (malloc_check_get_size): New function to get
66941 requested size.
66942 * malloc/malloc.c (musable): Use malloc_check_get_size.
66943 * malloc/tst-malloc-usable.c: New test case.
66944
66945 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66946
66947 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66948
66949 2012-09-05 Allan McRae <allan@archlinux.org>
66950
66951 [BZ #13966]
66952 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66953 determine header location.
66954 * configure: Regenerated.
66955
66956 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66957
66958 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66959 float format.
66960 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66961 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66962 format.
66963 (test): Regenerate.
66964
66965 2012-09-04 David S. Miller <davem@davemloft.net>
66966
66967 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66968 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66969 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66970
66971 2012-09-04 Florian Weimer <fweimer@redhat.com>
66972
66973 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66974 failures.
66975
66976 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66977
66978 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66979
66980 [BZ #9914]
66981 * libio/iogetdelim.c: Include <limits.h>.
66982 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66983 + len + 1 would overflow.
66984
66985 2012-09-03 Andreas Jaeger <aj@suse.de>
66986
66987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66988 * sysdeps/i386/fpu/libm-test-ulps: Update.
66989
66990 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66991
66992 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66993 Add s_sinf-sse2, s_conf-sse2.
66994
66995 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66996 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66997 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66998 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66999
67000 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67001 for using routine as __sinf_ia32.
67002 Use macro for function declaration and weak_alias.
67003 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67004 for using routine as __cosf_ia32.
67005 Use macro for function declaration and weak_alias.
67006
67007 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67008 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67009
67010 * sysdeps/x86_64/fpu/s_sinf.S: New file.
67011 * sysdeps/x86_64/fpu/s_cosf.S: New file.
67012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67013
67014 * math/libm-test.inc (cos_test): Add more test cases.
67015 (sin_test): Likewise.
67016 (sincos_test): Likewise.
67017
67018 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67019
67020 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67021 (IFUNC_RESOLVE): Make pointers to the specialized implementations
67022 hidden.
67023 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67024
67025 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
67026
67027 [BZ #14538]
67028 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67029 first element of the GOT.
67030 (elf_machine_load_address): Return the difference between
67031 the runtime address of _DYNAMIC and elf_machine_dynamic ().
67032
67033 2012-09-01 Allan McRae <allan@archlinux.org>
67034
67035 [BZ #13412]
67036 * configure.in (AWK): Require gawk version 3.0 or later.
67037 * configure: Regenerated.
67038
67039 2012-09-01 Joseph Myers <joseph@codesourcery.com>
67040
67041 * sysdeps/unix/sysv/linux/kernel-features.h
67042 (__ASSUME_POSIX_CPU_TIMERS): Remove.
67043 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67044 [__NR_clock_getres]: Make code unconditional.
67045 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67046 (clock_getcpuclockid): Remove code left unreachable by removal of
67047 conditionals.
67048 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67049 code unconditional.
67050 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67051 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67052 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67053 Make code unconditional.
67054 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67055 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67056 * sysdeps/unix/sysv/linux/clock_settime.c
67057 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67058 conditional code.
67059 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67060 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67061
67062 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
67063
67064 [BZ #14476]
67065 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67066 scripts/test-installation.pl.
67067
67068 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67069 and $ld_so_version if it is set.
67070
67071 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
67072
67073 [BZ #14516]
67074 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67075 failure if reading from procfs failed.
67076 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67077
67078 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67079
67080 * sysdeps/unix/sysv/linux/kernel-features.h
67081 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67082 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67083 Remove conditional code.
67084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67085 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67086 Remove conditional code.
67087 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67088 * sysdeps/unix/sysv/linux/i386/fxstat.c
67089 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67090 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67091 * sysdeps/unix/sysv/linux/i386/fxstatat.c
67092 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67094 * sysdeps/unix/sysv/linux/i386/lxstat.c
67095 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67097 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67098 Remove conditional code.
67099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67100 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67101 Remove conditional code.
67102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67103 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67104 <kernel-features.h>.
67105 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67106 Remove.
67107 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67108 Remove conditional code.
67109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67110 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67111 Remove conditional.
67112
67113 2012-08-27 Mike Frysinger <vapier@gentoo.org>
67114
67115 [BZ #5400]
67116 * NEWS: Add fixed bug number.
67117
67118 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67119
67120 [BZ #14519]
67121 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67122 underflowing exponent in case of negative sign.
67123 * stdlib/tst-strtod-round-data: Add more tests.
67124 * stdlib/tst-strtod-round.c (tests): Regenerated.
67125
67126 [BZ #3479]
67127 * stdlib/strtod_l.c (NDIG): Remove.
67128 (HEXNDIG): Likewise.
67129 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67130 smallest representable value.
67131 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67132 lie within an exact representation of 1/2 ulp of the result.
67133 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67134 unconditionally.
67135 (TENS_P9_IDX): Define unconditionally.
67136 (TENS_P9_SIZE): Likewise.
67137 (TENS_P10_IDX): Likewise.
67138 (TENS_P10_SIZE): Likewise.
67139 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67140 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67141 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67142 entries for 10^2^13 and 10^2^14.
67143 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67144 (TENS_P13_IDX): Define.
67145 (TENS_P13_SIZE): Likewise.
67146 (TENS_P14_IDX): Likewise.
67147 (TENS_P14_SIZE): Likewise.
67148 (_fpioconst_pow10): Change array size to
67149 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
67150 unconditional.
67151 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67152 1024]: Add entries for 10^2^13 and 10^2^14.
67153 [LAST_POW10 > _LAST_POW10]: Remove #error.
67154 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67155 (_fpioconst_pow10): Change array size to
67156 FPIOCONST_POW10_ARRAY_SIZE.
67157 * stdlib/gen-fpioconst.c: New file.
67158 * stdlib/gen-tst-strtod-round.c: Likewise.
67159 * stdlib/tst-strtod-round-data: Likewise.
67160 * stdlib/tst-strtod-round.c: Likewise.
67161 * stdlib/Makefile (tests): Add tst-strtod-round.
67162
67163 [BZ #14459]
67164 * stdlib/strtod_l.c: Include <stdint.h>.
67165 (NDEBUG): Do not define.
67166 (round_and_return): Change EXPONENT parameter to type intmax_t.
67167 Rearrange calculations to avoid internal overflow possibilities.
67168 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67169 Rearrange calculations to avoid internal overflow possibilities.
67170 Assert that number fits inside MPNSIZE limbs.
67171 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67172 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
67173 calculations and add assertions to avoid internal overflow
67174 possibilities. Add casts to avoid signed/unsigned operations.
67175 * stdlib/tst-strtod-overflow.c: New file.
67176 * stdlib/Makefile (tests): Add tst-strtod-overflow.
67177
67178 2012-08-25 Marek Polacek <polacek@redhat.com>
67179
67180 * time/time.h: Fix some typos in comments.
67181
67182 2012-08-23 Roland McGrath <roland@hack.frob.com>
67183
67184 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67185 * posix/tst-rfc3484-2.c: Likewise.
67186 * posix/tst-rfc3484-3.c: Likewise.
67187
67188 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
67189
67190 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67191 (EF_ARM_ABI_FLOAT_HARD): Likewise.
67192
67193 2012-08-23 Joseph Myers <joseph@codesourcery.com>
67194
67195 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67196 #include of fxstatat64.c.
67197
67198 2012-08-22 Roland McGrath <roland@hack.frob.com>
67199
67200 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67201 * shadow/getspent_r.c: Likewise.
67202 * shadow/getspnam.c: Likewise.
67203 * shadow/getspnam_r.c: Likewise.
67204 * gshadow/getsgent.c: Likewise.
67205 * gshadow/getsgent_r.c: Likewise.
67206 * gshadow/getsgnam.c: Likewise.
67207 * gshadow/getsgnam_r.c: Likewise.
67208 * inet/getnetbyad.c: Likewise.
67209 * inet/getnetbyad_r.c: Likewise.
67210 * inet/getnetbynm.c: Likewise.
67211 * inet/getnetbynm_r.c: Likewise.
67212 * inet/getnetent.c: Likewise.
67213 * inet/getnetent_r.c: Likewise.
67214 * inet/getproto.c: Likewise.
67215 * inet/getproto_r.c: Likewise.
67216 * inet/getprtent.c: Likewise.
67217 * inet/getprtent_r.c: Likewise.
67218 * inet/getprtname.c: Likewise.
67219 * inet/getprtname_r.c: Likewise.
67220 * inet/getrpcbyname.c: Likewise.
67221 * inet/getrpcbyname_r.c: Likewise.
67222 * inet/getrpcbynumber.c: Likewise.
67223 * inet/getrpcbynumber_r.c: Likewise.
67224 * inet/getrpcent.c: Likewise.
67225 * inet/getrpcent_r.c: Likewise.
67226 * inet/getaliasent.c: Likewise.
67227 * inet/getaliasent_r.c: Likewise.
67228 * inet/getaliasname.c: Likewise.
67229 * inet/getaliasname_r.c: Likewise.
67230 * nscd/getgrgid_r.c: Likewise.
67231 * nscd/getgrnam_r.c: Likewise.
67232 * nscd/gethstbyad_r.c: Likewise.
67233 * nscd/gethstbynm3_r.c: Likewise.
67234 * nscd/getpwnam_r.c: Likewise.
67235 * nscd/getpwuid_r.c: Likewise.
67236 * nscd/getsrvbynm_r.c: Likewise.
67237 * nscd/getsrvbypt_r.c: Likewise.
67238 * nscd/gai.c: Likewise.
67239
67240 * configure.in (build_nscd): New substituted variable, set
67241 by --disable-build-nscd and defaults to $use_nscd.
67242 * configure: Regenerated.
67243 * config.make.in (build-nscd): New substituted variable.
67244 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67245 Change conditional to require [$(build-nscd) = yes] as well.
67246 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67247
67248 [BZ# 13696]
67249 * configure.in (use_nscd): New substituted variable, set by
67250 --disable-nscd. If enabled, define USE_NSCD.
67251 * configure: Regenerated.
67252 * config.h.in: Add USE_NSCD.
67253 * config.make.in (use-nscd): New substituted variable.
67254 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67255 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67256 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67257 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67258 (CFLAGS-getgrnam_r.c): Likewise.
67259 (CFLAGS-initgroups.c): Likewise.
67260 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67261 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67262 Variables removed.
67263 * inet/getnetgrent_r.c
67264 (nscd_setnetgrent): New function, broken out of ...
67265 (setnetgrent): ... here. Call it.
67266 (innetgr): Conditionalize nscd bits on [USE_NSCD].
67267 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67268 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67269 * nscd/Makefile (routines, aux): Move definitions after include of
67270 Makeconfig. Conditionalize on [$(use-nscd) != no].
67271 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67272 Conditionalize on [USE_NSCD].
67273 (is_nscd, nscd_init_cb): Likewise.
67274 (nss_load_library): Conditionalize init callback on [USE_NSCD].
67275 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67276 * nss/nss_db/db-init.c: Likewise.
67277 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67278 [USE_NSCD].
67279 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67280 (make_request): Use it.
67281 (cache_valid_p): New function.
67282 (__check_pf): Use it.
67283 * NEWS: Add item for --disable-nscd.
67284
67285 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
67286
67287 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67288 to support sed >= 4.2.1-20-ga9bf076.
67289 * configure: Regenerated.
67290
67291 2012-08-22 Roland McGrath <roland@hack.frob.com>
67292
67293 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67294 Conditionalize whole body on [IREL].
67295
67296 2012-08-22 Jeff Law <law@redhat.com>
67297
67298 [BZ #14505]
67299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67300 if the family is PF_UNSPEC.
67301
67302 2012-08-22 Mike Frysinger <vapier@gentoo.org>
67303
67304 * Makerules (lib-version): Rename from V.
67305 (install-lib-nosubdir): Change V to lib-version.
67306
67307 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
67308
67309 [BZ #14252]
67310 * powerpc32/power6/wcschr.c: New file.
67311 * powerpc32/power6/wcscpy.c: New file.
67312 * powerpc32/power6/wcsrchr.c: New file.
67313 * powerpc64/power6/wcschr.c: New file.
67314 * powerpc64/power6/wcscpy.c: New file.
67315 * powerpc64/power6/wcsrchr.c: New file.
67316
67317 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67318
67319 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67320 (two_way_short_needle): Use it.
67321 * string/strstr.c (AVAILABLE1_USES_J): Define.
67322 * string/strcasestr.c: Likewise.
67323
67324 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67325 array references.
67326 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67327
67328 [BZ #11607]
67329 * NEWS: Add an entry.
67330 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67331 define their defaults.
67332 (two_way_short_needle): Detect end-of-string on-the-fly.
67333 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67334 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67335 * string/bug-strcasestr1.c: New test.
67336 * string/Makefile: Run it.
67337
67338 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67339
67340 [BZ #11607]
67341 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67342 the first character.
67343
67344 2012-08-21 Roland McGrath <roland@hack.frob.com>
67345
67346 * csu/elf-init.c (__libc_csu_irel): Function removed.
67347 * csu/libc-start.c (apply_irel): New function.
67348 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67349
67350 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67351
67352 * sysdeps/unix/sysv/linux/kernel-features.h
67353 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67354 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67355 <kernel-features.h>.
67356 [__NR_fadvise64_64]: Make code unconditional.
67357 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67358 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67359 !__NR_fadvise64_64)]: Likewise.
67360 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67361 !__NR_fadvise64_64))]: Likewise.
67362 [__NR_fadvise64]: Make code unconditional.
67363 [!__NR_fadvise64]: Remove conditional code.
67364 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67365 <kernel-features.h>.
67366 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67367 unconditional.
67368 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67369 conditional code.
67370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67371 not include <kernel-features.h>.
67372 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67373 unconditional.
67374 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67375 conditional code.
67376 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67377 include <kernel-features.h>.
67378 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67379 unconditional.
67380 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67381 conditional code.
67382
67383 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67384
67385 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67386 slight instruction rearrangements per scrollpipe analysis.
67387 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67388
67389 2012-08-20 Roland McGrath <roland@hack.frob.com>
67390
67391 * manual/syslog.texi (syslog; vsyslog, closelog):
67392 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67393 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67394
67395 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67396 DSOCAPS to match condition on defining it.
67397
67398 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67399
67400 * sysdeps/unix/sysv/linux/kernel-features.h
67401 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67403 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67404 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67406 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67407 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67409 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67410 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67411
67412 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67413 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67414
67415 * sysdeps/unix/sysv/linux/kernel-features.h
67416 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67417 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67418 unconditional.
67419 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67420 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67421 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67422 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67423 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67424 Make code unconditional.
67425 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67426 (__mmap64) [!__NR_mmap2]: Likewise.
67427 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67428 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67429 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67430 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67431 [__NR_mmap2]: Make code unconditional.
67432 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67433 (__mmap64) [!__NR_mmap2]: Likewise.
67434
67435 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67436
67437 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67438
67439 2012-08-18 Andreas Jaeger <aj@suse.de>
67440
67441 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67442
67443 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67444
67445 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67446 * include/unistd.h (__have_sock_cloexec): Likewise.
67447 (__have_pipe2): Likewise.
67448 (__have_dup3): Likewise.
67449
67450 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67451
67452 [BZ #9685]
67453 * include/unistd.h (__have_pipe2): Change define into an extern int.
67454 (__have_dup3): Likewise.
67455 * socket/have_sock_cloexec.c: Include fcntl.h.
67456 (__have_pipe2): New variable.
67457 (__have_dup3): Likewise.
67458
67459 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67460
67461 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67462
67463 2012-08-17 Marek Polacek <polacek@redhat.com>
67464
67465 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67466 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67467
67468 2012-08-17 Roland McGrath <roland@hack.frob.com>
67469
67470 * configure.in: Add AC_SUBST for sysheaders.
67471 * configure: Regenerated.
67472 * config.make.in (sysheaders): New substituted variable.
67473
67474 * sysdeps/unix/mkfifo.c: Moved ...
67475 * sysdeps/posix/mkfifo.c: ... here.
67476 * sysdeps/unix/mkfifoat.c: Moved ...
67477 * sysdeps/posix/mkfifoat.c: ... here.
67478
67479 * sysdeps/unix/utime.c: Moved ...
67480 * sysdeps/posix/utime.c: ... here.
67481
67482 * sysdeps/unix/time.c: Moved ...
67483 * sysdeps/posix/time.c: ... here.
67484 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67485 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67486
67487 * sysdeps/unix/nice.c: Moved ...
67488 * sysdeps/posix/nice.c: ... here.
67489
67490 * sysdeps/unix/alarm.c: Moved ...
67491 * sysdeps/posix/alarm.c: ... here.
67492
67493 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67494
67495 2012-08-17 Jeff Law <law@redhat.com>
67496
67497 * intl/Makefile (codeset_mo): New variable.
67498 ($(codeset_mo)): New target.
67499 (tst-codeset.out): Depend on that. Remove explicit rule.
67500 (tst-gettext3.out, tst-gettext5.out): Likewise.
67501 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67502 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67503 * intl/tst-codeset.sh: Remove.
67504 * intl/tst-gettext3.sh: Likewise.
67505 * intl/tst-gettext5.sh: Likewise.
67506
67507 2012-08-17 Roland McGrath <roland@hack.frob.com>
67508
67509 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67510 * sysdeps/unix/syscalls.list: ... here.
67511
67512 * sysdeps/posix/getaddrinfo.c
67513 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67514 (gaiconf_init, gaiconf_reload): Use them.
67515 [!_STATBUF_ST_NSEC]
67516 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67517 Define using time_t rather than struct timespec.
67518
67519 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67520 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67521 Macros removed.
67522 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67523 [!NO_THREADS].
67524 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67525 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67526 Likewise.
67527
67528 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67529 __libc_cleanup_push argument.
67530
67531 * bits/param.h: New file.
67532 * misc/sys/param.h: New file.
67533 * include/sys/param.h: New file.
67534 * misc/Makefile (headers): Add bits/param.h.
67535 * sysdeps/generic/sys/param.h: File removed.
67536 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67537 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67538 * sysdeps/mach/hurd/bits/param.h: New file.
67539 * sysdeps/mach/hurd/sys/param.h: File removed.
67540
67541 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67542 last change.
67543
67544 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67545 [_IO_MTSAFE_IO].
67546 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67547 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67548 New macros.
67549
67550 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67551 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67552 rather than -D_IO_MTSAFE_IO conditionally.
67553 * stdio-common/Makefile (CPPFLAGS): Likewise.
67554 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67555 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67556 Use $(libio-mtsafe).
67557 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67558 of -D_IO_MTSAFE_IO.
67559 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67560 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67561 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67562 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67563 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67564 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67565 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67566 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67567 (CFLAGS-fread_u_chk.c): Likewise.
67568 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67569 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67570 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67571 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67572 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67573 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67574 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67575 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67576 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67577
67578 * libio/Makefile: Test [$(libc-reentrant) = yes]
67579 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67580
67581 * Makeconfig
67582 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67583 * sysdeps/pthread/configure: File removed.
67584 * sysdeps/pthread/Makeconfig: New file.
67585 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67586 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67587
67588 2012-08-16 Gary Benson <gbenson@redhat.com>
67589
67590 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67591 unmapping the first object in a namespace.
67592
67593 2012-08-16 Roland McGrath <roland@hack.frob.com>
67594
67595 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67596 (__internal_setnetgrent): ... this. Add internal_function to
67597 definition. Add libc_hidden_def.
67598 (setnetgrent): Update caller.
67599 (internal_endnetgrent): Renamed to ...
67600 (__internal_endnetgrent): ... this. Add internal_function to
67601 definition. Add libc_hidden_def.
67602 (endnetgrent): Update caller.
67603 (internal_getnetgrent_r): Renamed to ...
67604 (__internal_getnetgrent_r): ... this. Add internal_function to
67605 definition. Add libc_hidden_def.
67606 (__getnetgrent_r): Update caller.
67607 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67608
67609 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67610
67611 * stdlib/longlong.h: Update from GCC.
67612
67613 2012-08-16 Roland McGrath <roland@hack.frob.com>
67614
67615 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67616 on _QL, which is set by umul_ppmm but never used.
67617 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67618 variables, which are set by GMP macros but never used.
67619 * stdio-common/_itowa.c (_itowa): Likewise.
67620 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67621 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67622
67623 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67624
67625 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67626 struct La_sh_regs is not constant.
67627 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67628 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67629 and struct La_sparc64_regs are not constant.
67630
67631 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67632
67633 * sysdeps/unix/sysv/linux/kernel-features.h
67634 (__ASSUME_POSIX_TIMERS): Remove.
67635 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67636 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67637 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67638 Make code unconditional.
67639 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67640 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67641 Make code unconditional.
67642 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67643 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67644 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67645 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67646 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67647 Make code unconditional.
67648 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67649 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67650 (__libc_missing_posix_timers): Remove.
67651
67652 2012-08-15 Roland McGrath <roland@hack.frob.com>
67653
67654 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67655 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67656
67657 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67658
67659 * elf/dl-sym.c: Include <stdlib.h>.
67660
67661 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67662 constants, which avoids warnings in 32-bit builds.
67663
67664 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67665 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67666
67667 * misc/lseek.c: File moved to ...
67668 * io/lseek.c: ... here.
67669
67670 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67671
67672 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67673 shifting LEN more than 31 bits at once.
67674
67675 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67676
67677 [BZ #14195]
67678 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67679 segmentation fault for a case of two empty input strings.
67680 * string/test-strncasecmp.c (check1): Renamed to...
67681 (bz12205): ...this.
67682 (bz14195): Add new testcase for two empty input strings and N > 0.
67683 (test_main): Call new testcase, adapt for renamed function.
67684
67685 2012-08-15 Andreas Jaeger <aj@suse.de>
67686
67687 [BZ #14090]
67688 * crypt/md5test2.c: New test, based on test supplied by Serge
67689 Belyshev <belyshev@depni.sinp.msu.ru>.
67690 * crypt/Makefile (xtests): Add md5test-giant..
67691 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67692
67693 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67694
67695 [BZ #14090]
67696 * crypt/md5.c (md5_process_block): Don't assume the buffer
67697 length is less than 2**32.
67698 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67699 length is less than 2**64.
67700
67701 2012-08-15 Roland McGrath <roland@hack.frob.com>
67702
67703 * string/str-two-way.h: Include <sys/param.h>.
67704 (MAX): Macro removed.
67705
67706 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67707 Move #define and #undef of memmove to just before and after
67708 including <string.h>.
67709
67710 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67711 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67712 and after including <string.h>. Move declarations of
67713 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67714 to before #include "string/memmove.c".
67715
67716 * include/dirent.h: Declare __getdirentries.
67717
67718 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67719 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67720
67721 2012-08-14 Mike Frysinger <vapier@gentoo.org>
67722
67723 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67724 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67725 * sysdeps/i386/configure: Regenerated.
67726 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67727 STABS_CURRENT_FILE, and STABS_FUN.
67728 (END): Remove call to STABS_FUN_END.
67729 (STABS_CURRENT_FILE1): Delete.
67730 (STABS_CURRENT_FILE): Likewise.
67731 (STABS_FUN): Likewise.
67732 (STABS_FUN_END): Likewise.
67733 (STABS_FUN2): Likewise.
67734 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67735 * sysdeps/x86_64/configure: Regenerated.
67736
67737 2012-08-14 Roland McGrath <roland@hack.frob.com>
67738
67739 * elf/dl-open.c: Include <atomic.h>.
67740 * elf/dl-lookup.c: Likewise.
67741
67742 2012-08-14 Joseph Myers <joseph@codesourcery.com>
67743
67744 * sysdeps/unix/sysv/linux/kernel-features.h
67745 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67746 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67747 unconditionally.
67748 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67749 unconditionally.
67750 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67751 condition on __ASSUME_CLONE_THREAD_FLAGS.
67752
67753 2012-08-14 Andreas Jaeger <aj@suse.de>
67754
67755 * sysdeps/i386/fpu/libm-test-ulps: Update.
67756
67757 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67758
67759 * include/atomic.h (atomic_exchange_and_add): Split into ...
67760 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67761 New atomic macros.
67762
67763 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67764
67765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67766
67767 2012-08-13 Jeff Law <law@redhat.com>
67768
67769 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67770 null byte in the output string.
67771
67772 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67773
67774 * sysdeps/unix/sysv/linux/kernel-features.h
67775 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67776 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67777 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67778 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67779 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67780 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67781 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67782
67783 2012-08-09 Jeff Law <law@redhat.com>
67784
67785 [BZ #13939]
67786 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67787 When avoid_arena is set, don't retry in the that arena. Pick the
67788 next one, whatever it might be.
67789 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67790 (arena_lock): Pass in new parameter to arena_get2.
67791 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67792 arena_get2.
67793 (__libc_malloc): Unify retrying after main arena failure with
67794 __libc_memalign version.
67795 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67796
67797 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67798
67799 [BZ #14166]
67800 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67801 to __redirect_strstr.
67802 (__strstr_sse42): Use typeof __redirect_strstr.
67803 (__strstr_ia32): Likewise.
67804 (__libc_strstr): New prototype.
67805 (strstr): Renamed to ...
67806 (__libc_strstr): This.
67807 (strstr): New strong alias of __libc_strstr.
67808 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67809 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67810 __redirect_time.
67811 Include <time.h>.
67812 (__libc_time): New prototype.
67813 (time_ifunc): Replace time with __libc_time.
67814 (time): New strong alias and hidden definition of __libc_time.
67815 (__GI_time): Remove strong alias.
67816 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67817 Include <stddef.h>.
67818 (memmove): Redefined to __redirect_memmove.
67819 (__memmove_sse2): Use typeof __redirect_memmove.
67820 (__memmove_ssse3): Likewise.
67821 (__memmove_ssse3_back): Likewise.
67822 (__libc_memmove): New prototype.
67823 (memmove): Renamed to ...
67824 (__libc_memmove): This.
67825 (memmove): New strong alias of __libc_memmove.
67826
67827 2012-08-08 Mark Salter <msalter@redhat.com>
67828
67829 * elf/elf.h
67830 (R_MN10300_TLS_GD): Define.
67831 (R_MN10300_TLS_LD): Likewise.
67832 (R_MN10300_TLS_LDO): Likewise.
67833 (R_MN10300_TLS_GOTIE): Likewise.
67834 (R_MN10300_TLS_IE): Likewise.
67835 (R_MN10300_TLS_LE): Likewise.
67836 (R_MN10300_TLS_DTPMOD): Likewise.
67837 (R_MN10300_TLS_DTPOFF): Likewise.
67838 (R_MN10300_TLS_TPOFF): Likewise.
67839 (R_MN10300_SYM_DIFF): Likewise.
67840 (R_MN10300_ALIGN): Likewise.
67841 (R_MN10300_NUM): Update.
67842
67843 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67844
67845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67846 Remove.
67847
67848 2012-08-08 Roland McGrath <roland@hack.frob.com>
67849
67850 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67851
67852 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67853 sysdeps/unix -> sysdeps/posix move.
67854 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67855
67856 2012-08-07 Allan McRae <allan@archlinux.org>
67857
67858 [BZ #14303]
67859 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67860 (SUNOS_CPP): Likewise.
67861 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67862 not found.
67863 (open_input): Call CPP using execvp.
67864
67865 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67866
67867 * sysdeps/unix/sysv/linux/kernel-features.h
67868 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67869 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67870 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67871 (__ASSUME_WAITID_SYSCALL): Likewise.
67872 * sysdeps/unix/sysv/linux/dl-execstack.c
67873 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67874 code unconditional.
67875 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67876 conditional code.
67877 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67878 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67879 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67880 code.
67881 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67882 unconditional.
67883 [__ASSUME_WAITID_SYSCALL]: Likewise.
67884 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67885
67886 2012-08-07 Roland McGrath <roland@hack.frob.com>
67887
67888 * sysdeps/unix/closedir.c: Renamed to ...
67889 * sysdeps/posix/closedir.c: ... here.
67890 * sysdeps/unix/dirfd.c: Renamed to ...
67891 * sysdeps/posix/dirfd.c: ... here.
67892 * sysdeps/unix/dirstream.h: Renamed to ...
67893 * sysdeps/posix/dirstream.h: ... here.
67894 * sysdeps/unix/fdopendir.c: Renamed to ...
67895 * sysdeps/posix/fdopendir.c: ... here.
67896 * sysdeps/unix/opendir.c: Renamed to ...
67897 * sysdeps/posix/opendir.c: ... here.
67898 * sysdeps/unix/readdir.c: Renamed to ...
67899 * sysdeps/posix/readdir.c: ... here.
67900 * sysdeps/unix/readdir_r.c: Renamed to ...
67901 * sysdeps/posix/readdir_r.c: ... here.
67902 * sysdeps/unix/rewinddir.c: Renamed to ...
67903 * sysdeps/posix/rewinddir.c: ... here.
67904 * sysdeps/unix/seekdir.c: Renamed to ...
67905 * sysdeps/posix/seekdir.c: ... here.
67906 * sysdeps/unix/telldir.c: Renamed to ...
67907 * sysdeps/posix/telldir.c: ... here.
67908 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67909 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67910 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67911 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67912
67913 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67914 * bits/fcntl.h: ... here.
67915
67916 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67917 not 0.
67918 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67919 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67920 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67921 (struct flock): Move l_start, l_len to the beginning.
67922 Use __pid_t for l_pid.
67923 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67924 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67925 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67926 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67927 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67928 [__USE_LARGEFILE64] (struct flock64): New type.
67929 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67930
67931 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67932 * bits/dirent.h: ... here.
67933
67934 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67935 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67936
67937 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67938
67939 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67940 Change from 2.6.0 to 2.6.16.
67941 * sysdeps/unix/sysv/linux/configure: Regenerated.
67942 * sysdeps/unix/sysv/linux/kernel-features.h
67943 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67944 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67945 version.
67946 (__ASSUME_UTIMES): Likewise.
67947 (__ASSUME_CLONE_STOPPED): Remove.
67948 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67949 architectures, not kernel version.
67950 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67951 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67952 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67953 (__ASSUME_WAITID_SYSCALL): Likewise.
67954 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67955 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67956 * README: State 2.6.16 as minimum Linux kernel version. Do not
67957 refer to older versions.
67958
67959 2012-08-06 Roland McGrath <roland@hack.frob.com>
67960
67961 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67962 Define alphasort64 as an alias.
67963 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67964 Define versionsort64 as an alias.
67965 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67966 Define scandir64 as an alias.
67967 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67968 Define scandirat64 as an alias.
67969 * dirent/alphasort64.c (alphasort64):
67970 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67971 * dirent/versionsort64.c: Likewise.
67972 * dirent/scandir64.c: Likewise.
67973 * dirent/scandirat64.c: Likewise.
67974 * sysdeps/wordsize-64/alphasort.c: File removed.
67975 * sysdeps/wordsize-64/alphasort64.c: File removed.
67976 * sysdeps/wordsize-64/scandir.c: File removed.
67977 * sysdeps/wordsize-64/scandir64.c: File removed.
67978 * sysdeps/wordsize-64/scandirat.c: File removed.
67979 * sysdeps/wordsize-64/scandirat64.c: File removed.
67980 * sysdeps/wordsize-64/versionsort.c: File removed.
67981 * sysdeps/wordsize-64/versionsort64.c: File removed.
67982 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67983 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67984 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67985 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67986 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67987 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67989 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67990
67991 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67993 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67995 [defined __arch64__ || defined __sparcv9]
67996 (__INO_T_MATCHES_INO64_T): New macro.
67997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67998 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67999 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68000 * sysdeps/unix/sysv/linux/bits/dirent.h
68001 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68002 (_DIRENT_MATCHES_DIRENT64): New macro.
68003
68004 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68005 Define lockf64 as an alias.
68006 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68007 Define fseeko64 as an alias.
68008 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68009 Define ftello64 as an alias.
68010 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68011 Define _IO_fgetpos64 and fgetpos64 as aliases.
68012 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68013 Define _IO_fsetpos64 and fsetpos64 as aliases.
68014 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68015 Conditionalize body on this.
68016 * libio/fseeko64.c: Likewise.
68017 * libio/ftello64.c: Likewise.
68018 * libio/iofgetpos64.c: Likewise.
68019 * libio/iofsetpos64.c: Likewise.
68020 * sysdeps/wordsize-64/lockf.c: File removed.
68021 * sysdeps/wordsize-64/lockf64.c: File removed.
68022 * sysdeps/wordsize-64/fseeko.c: File removed.
68023 * sysdeps/wordsize-64/fseeko64.c: File removed.
68024 * sysdeps/wordsize-64/ftello.c: File removed.
68025 * sysdeps/wordsize-64/ftello64.c: File removed.
68026 * sysdeps/wordsize-64/iofgetpos.c: File removed.
68027 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68028 * sysdeps/wordsize-64/iofsetpos.c: File removed.
68029 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68030 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68031 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68032 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68034 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68037 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68038 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68040
68041 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68043 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68045 [defined __arch64__ || defined __sparcv9]
68046 (__OFF_T_MATCHES_OFF64_T): New macro.
68047 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68048 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68050 (__OFF_T_MATCHES_OFF64_T): New macro.
68051
68052 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68053
68054 * stdlib/secure-getenv.c (__secure_getenv): Replace
68055 GLIBC_2_16 with GLIBC_2_17.
68056
68057 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68058
68059 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68060 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68061
68062 2012-08-03 David S. Miller <davem@davemloft.net>
68063
68064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68065
68066 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68067
68068 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68069 Remove.
68070 (__ASSUME_CORRECT_SI_PID): Likewise.
68071 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68072 (__ASSUME_TMPFS_NAME): Likewise.
68073 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68074 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68075 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68076 (HAVE_AUX_SECURE): Make definition unconditional.
68077 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68078 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68079
68080 2012-08-03 Roland McGrath <roland@hack.frob.com>
68081
68082 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68083 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68084 * sysdeps/mach/hurd/eloop-threshold.h: New file.
68085 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68086 __eloop_threshold instead of SYMLOOP_MAX.
68087
68088 * sysdeps/generic/eloop-threshold.h: New file.
68089 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68090 of MAXSYMLINKS.
68091 * elf/chroot_canon.c (chroot_canon): Likewise.
68092
68093 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68094
68095 [BZ #13717]
68096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68097 Change to 2.6.0 everywhere.
68098 * sysdeps/unix/sysv/linux/configure: Regenerated.
68099 * sysdeps/unix/sysv/linux/kernel-features.h
68100 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68101 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68102 kernel versions.
68103 (__ASSUME_POSIX_TIMERS): Define unconditionally.
68104 (__ASSUME_FUTEX_REQUEUE): Remove.
68105 (__ASSUME_STATFS64): Define unconditionally.
68106 (__ASSUME_AT_SECURE): Likewise.
68107 (__ASSUME_CORRECT_SI_PID): Likewise.
68108 (__ASSUME_TGKILL): Define without depending on kernel version for
68109 i386.
68110 (__ASSUME_UTIMES): Likewise.
68111 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68112 kernel version.
68113 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68114 (__ASSUME_TMPFS_NAME): Likewise.
68115 * README: Update reference to Linux kernel versions.
68116
68117 2012-08-02 Marek Polacek <polacek@redhat.com>
68118
68119 [BZ# 14150]
68120 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
68121 libc_cv_asm_type_prefix with %.
68122 * configure: Regenerated.
68123 * include/libc-symbols.h: Remove comment about
68124 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68125 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68126 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68127 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68128 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68129 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68130 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68131 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68132 * elf/tst-unique2mod1.c: Likewise.
68133 * elf/tst-unique1mod2.c: Likewise.
68134 * elf/tst-unique1mod1.c: Likewise.
68135 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68136 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68137 Replace ASM_TYPE_DIRECTIVE with .type.
68138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68139 * sysdeps/i386/sysdep.h: Likewise.
68140 * sysdeps/x86_64/sysdep.h: Likewise.
68141 * sysdeps/sh/sysdep.h: Likewise.
68142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68143 Do not define ASM_TYPE_DIRECTIVE.
68144 * sysdeps/powerpc/sysdep.h: Likewise.
68145 * sysdeps/powerpc/powerpc32/sysdep.h:
68146 Replace ASM_TYPE_DIRECTIVE with .type.
68147 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68148 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68149 * sysdeps/i386/fpu/e_powf.S: Likewise.
68150 * sysdeps/i386/fpu/e_expl.S: Likewise.
68151 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68152 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68153 * sysdeps/i386/fpu/e_pow.S: Likewise.
68154 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68155 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68156 * sysdeps/i386/fpu/s_expm1.S: Likewise.
68157 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68158 * sysdeps/i386/fpu/e_log2.S: Likewise.
68159 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68160 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68161 * sysdeps/i386/fpu/e_powl.S: Likewise.
68162 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68163 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68164 * sysdeps/i386/fpu/e_logl.S: Likewise.
68165 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68166 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68167 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68168 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68169 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68170 * sysdeps/i386/fpu/e_log.S: Likewise.
68171 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68172 * sysdeps/i386/fpu/e_logf.S: Likewise.
68173 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68175 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68176 * sysdeps/i386/fpu/e_log10.S: Likewise.
68177 * sysdeps/i386/fpu/s_frexp.S: Likewise.
68178 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68179 * sysdeps/i386/fpu/s_asinh.S: Likewise.
68180 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68181 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68182 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68183 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68184 * sysdeps/i386/i686/strtok.S: Likewise.
68185 * sysdeps/i386/i386-mcount.S: Likewise.
68186 * sysdeps/i386/strtok.S: Likewise.
68187 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68188 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68190 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68191 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68192 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68193 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68194 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68196 * sysdeps/x86_64/_mcount.S: Likewise.
68197 * sysdeps/x86_64/strtok.S: Likewise.
68198 * sysdeps/sh/_mcount.S: Likewise.
68199
68200 2012-08-01 Roland McGrath <roland@hack.frob.com>
68201
68202 * libio/iofopen.c: Include <fcntl.h>.
68203 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68204 (_IO_fopen64, fopen64): Define as aliases.
68205 * libio/iofopen64.c: Include <fcntl.h>.
68206 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68207 Conditionalize body on this.
68208 * sysdeps/wordsize-64/iofopen.c: File removed.
68209 * sysdeps/wordsize-64/iofopen64.c: File removed.
68210
68211 2012-08-01 Marek Polacek <polacek@redhat.com>
68212
68213 * libc/Makeconfig: Use elf in place of binfmt-subdir.
68214 Use dlfcn directly instead of a variable.
68215 (binfmt-subdir): Do not define.
68216 (dlfcn): Likewise.
68217
68218 2012-08-01 Joseph Myers <joseph@codesourcery.com>
68219
68220 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68221 Remove all definitions.
68222 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68223 <kernel-features.h>.
68224 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68225 (miss_F_GETOWN_EX): Remove all definitions.
68226 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68227 macro definition.
68228 [!__ASSUME_FCNTL64]: Remove conditional code.
68229 [__ASSUME_FCNTL64]: Make code unconditional.
68230 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68231 <kernel-features.h>.
68232 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68233 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68234 (lockf64) [__NR_fcntl64]: Make code unconditional.
68235 (lockf64) [__ASSUME_FCNTL64]: Likewise.
68236
68237 * sysdeps/unix/sysv/linux/kernel-features.h
68238 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68239 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68240 Make code unconditional.
68241 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68242 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68244 [__NR_vfork]: Make code unconditional.
68245 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68246 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68248 [__NR_vfork]: Make code unconditional.
68249 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68250 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68251
68252 2012-08-01 Roland McGrath <roland@hack.frob.com>
68253
68254 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68255 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68256
68257 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68258 Define mkstemp64 as an alias.
68259 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68260 Define mkstemps64 as an alias.
68261 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68262 Define mkostemp64 as an alias.
68263 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68264 Define mkostemps64 as an alias.
68265 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68266 Conditionalize body on this.
68267 * misc/mkostemp64.c: Likewise.
68268 * misc/mkostemps64.c: Likewise.
68269 * misc/mkstemps64.c: Likewise.
68270 * sysdeps/wordsize-64/mkstemp64.c: File removed.
68271 * sysdeps/wordsize-64/mkostemp64.c: File removed.
68272 * sysdeps/wordsize-64/mkostemp.c: File removed.
68273 * sysdeps/wordsize-64/mkstemp.c: File removed.
68274 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68278
68279 [BZ #14138]
68280 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68281 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68282 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68283 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68284
68285 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68286 compat_symbol macros from <shlib-compat.h> rather than the underlying
68287 default_symbol_version and symbol_version macros, so that DEFAULT
68288 lines in shlib-versions are respected.
68289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68290
68291 2012-08-01 Florian Weimer <fweimer@redhat.com>
68292
68293 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68294 Declare with warn_unused_result.
68295 (setgid, setregid, setegid, setresgid): Likewise.
68296 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68297 Likewise.
68298 * WUR-REPORT: Remove set*id functions.
68299
68300 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
68301
68302 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68303
68304 2012-07-31 Roland McGrath <roland@hack.frob.com>
68305
68306 [BZ #10191]
68307 * include/sys/socket.h (__libc_accept, __libc_accept4):
68308 Add attribute_hidden.
68309 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68310
68311 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68312 use of PTR_MANGLE.
68313 * inet/getnetgrent_r.c (setup): Likewise.
68314
68315 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68316
68317 2012-07-31 David S. Miller <davem@davemloft.net>
68318
68319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68320
68321 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68322
68323 [BZ #13629]
68324 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68325 value between 1.0 and 2.0 and smaller part has absolute value less
68326 than 1.0.
68327 * math/s_clog10.c (__clog10): Likewise.
68328 * math/s_clog10f.c (__clog10f): Likewise.
68329 * math/s_clog10l.c (__clog10l): Likewise.
68330 * math/s_clogf.c (__clogf): Likewise.
68331 * math/s_clogl.c (__clogl): Likewise.
68332 * math/libm-test.inc (clog_test): Add more tests.
68333 (clog10_test): Likewise.
68334 * sysdeps/i386/fpu/libm-test-ulps: Update.
68335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68336
68337 2012-07-31 Florian Weimer <fweimer@redhat.com>
68338
68339 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68340 Exit with zero in case no suitable GID is found, and write a
68341 message to standard error.
68342
68343 2012-07-30 Roland McGrath <roland@hack.frob.com>
68344
68345 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68346 rather than to 1.
68347 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68348 (MAXPATHLEN): Removed.
68349 (NOGROUP, NODEV): New macros.
68350 (setbit, clrbit, isset, isclr): New macros.
68351 (howmany, roundup, powerof2): New macros.
68352 (DEV_BSIZE): New macro.
68353
68354 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68355 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68356
68357 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68358 definition on [!__NO_LONG_DOUBLE_MATH].
68359
68360 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68361 PTR_MANGLE and PTR_DEMANGLE.
68362
68363 * socket/accept4.c (accept4): Rename to __libc_accept4.
68364 Define accept4 as a weak alias.
68365
68366 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68367 on [_DIRENT_HAVE_D_TYPE].
68368 * io/ftw.c (ftw_dir): Likewise.
68369
68370 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68371
68372 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68373
68374 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68375 Use the BSD numbers rather than the arbitrary ones we had.
68376 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68377 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68378 (SIGXCPU, SIGXFSZ): New macros.
68379 (_NSIG): Now 32.
68380
68381 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68382 initializer on [_LIBC_REENTRANT].
68383
68384 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68385 definitions inside [_POSIX_MAPPED_FILES].
68386
68387 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68388
68389 * dirent/opendir.c: Include <fcntl.h>.
68390
68391 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68392 (__libc_getspecific): Likewise.
68393 (__libc_key_create): Likewise.
68394
68395 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68396 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68397 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68398 (tmpfile64): Define as alias.
68399 * sysdeps/wordsize-64/tmpfile.c: File removed.
68400 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68401 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68402 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68403
68404 * stdio-common/vfscanf.c: Include <stdbool.h>.
68405 * nss/makedb.c: Likewise.
68406 * stdio-common/_i18n_number.h: Likewise.
68407 * argp/argp-help.c: Likewise.
68408 * posix/wordexp.c: Likewise.
68409 * sysdeps/posix/spawni.c: Likewise.
68410 * nss/nss_files/files-initgroups.c: Likewise.
68411 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68412 * nss/nss_files/files-initgroups.c: Likewise.
68413 * nss/nss_db/db-netgrp.c: Likewise.
68414 * nss/nss_db/db-initgroups.c: Likewise.
68415 * io/fchmodat.c: Include <sys/stat.h>.
68416
68417 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68418 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68419
68420 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68421 [HAVE_MMAP].
68422
68423 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68424 Add multiple inclusion protection.
68425
68426 2012-07-27 David S. Miller <davem@davemloft.net>
68427
68428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68429
68430 2012-07-27 Gary Benson <gbenson@redhat.com>
68431
68432 [BZ #14298]
68433 * elf/rtld.c: Include <stap-probe.h>.
68434 (dl_main): Added static probes "init_start" and "init_complete".
68435 * elf/dl-load.c: Include <stap-probe.h>.
68436 (lose): Take new parameter "nsid".
68437 Added static probe "map_failed".
68438 (_dl_map_object_from_fd): Pass namespace id to lose.
68439 Added static probe "map_start".
68440 (open_verify): Pass namespace id to lose.
68441 * elf/dl-open.c: Include <stap-probe.h>.
68442 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68443 and "reloc_complete".
68444 * elf/dl-close.c: Include <stap-probe.h>.
68445 (_dl_close_worker): Added static probes "unmap_start" and
68446 "unmap_complete".
68447 * elf/rtld-debugger-interface.txt: New file documenting the above.
68448
68449 2012-07-26 Roland McGrath <roland@hack.frob.com>
68450
68451 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68452 rather than a string variable.
68453 * sunrpc/rpc_main.c (h_output): Likewise.
68454 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68455
68456 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68457
68458 * inet/check_native.c: New file.
68459
68460 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68461
68462 [BZ #13629]
68463 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68464 if larger part has absolute value 1.0.
68465 * math/s_clog10.c (__clog10): Likewise.
68466 * math/s_clog10f.c (__clog10f): Likewise.
68467 * math/s_clog10l.c (__clog10l): Likewise.
68468 * math/s_clogf.c (__clogf): Likewise.
68469 * math/s_clogl.c (__clogl): Likewise.
68470 * math/libm-test.inc (clog_test): Add more tests.
68471 (clog10_test): Likewise.
68472 * sysdeps/i386/fpu/libm-test-ulps: Update.
68473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68474
68475 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68476 (pltexit): Likewise.
68477 (La_regs): Likewise.
68478 (La_retval): Likewise.
68479 (int_retval): Likewise.
68480 Update #error for removed macros to refer only to definitions in
68481 tst-audit.h.
68482 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68483 macro.
68484 (pltexit): Likewise.
68485 (La_regs): Likewise.
68486 (La_retval): Likewise.
68487 (int_retval): Likewise.
68488 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68489 macro.
68490 (pltexit): Likewise.
68491 (La_regs): Likewise.
68492 (La_retval): Likewise.
68493 (int_retval): Likewise.
68494 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68495 macro.
68496 (pltexit): Likewise.
68497 (La_regs): Likewise.
68498 (La_retval): Likewise.
68499 (int_retval): Likewise.
68500 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68501 macro.
68502 (pltexit): Likewise.
68503 (La_regs): Likewise.
68504 (La_retval): Likewise.
68505 (int_retval): Likewise.
68506 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68507 macro.
68508 (pltexit): Likewise.
68509 (La_regs): Likewise.
68510 (La_retval): Likewise.
68511 (int_retval): Likewise.
68512 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68513 macro.
68514 (pltexit): Likewise.
68515 (La_regs): Likewise.
68516 (La_retval): Likewise.
68517 (int_retval): Likewise.
68518 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68519 macro definitions in tst-audit.h.
68520 * sysdeps/i386/tst-audit.h: New file.
68521 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68522 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68523 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68524 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68525 * sysdeps/sh/tst-audit.h: Likewise.
68526 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68527 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68528 * sysdeps/x86_64/tst-audit.h: Likewise.
68529
68530 2012-07-26 Andreas Jaeger <aj@suse.de>
68531
68532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68533 ptrace.
68534
68535 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68536 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68537 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68538 PTRACE_O_MASK.
68539 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68540 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68541 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68542
68543 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68544 value.
68545
68546 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68547 _sigsys.
68548 (si_call_addr, si_syscall, si_arch): Define new macro.
68549 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68550 _sigsys.
68551 (si_call_addr, si_syscall, si_arch): Define new marcro.
68552 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68553 _sigsys.
68554 (si_call_addr, si_syscall, si_arch): Define new macro.
68555 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68556 _sigsys.
68557 (si_call_addr, si_syscall, si_arch): Define new macro.
68558
68559 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68560
68561 [BZ #13717]
68562 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68563 Change to 2.4.21 where previously 2.4.1.
68564 * sysdeps/unix/sysv/linux/configure: Regenerated.
68565 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68566 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68567 Linux kernel version.
68568 (__ASSUME_STD_AUXV): Remove.
68569 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68570 kernel version.
68571 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68572 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68573 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68574 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68575 (__ASSUME_NETLINK_SUPPORT): Likewise.
68576 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68577 (__no_netlink_support): Remove conditional definition.
68578 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68579 Remove.
68580 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68581 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68582 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68583 (if_nameindex_ioctl): Remove.
68584 (if_nameindex_netlink): Do not handle __no_netlink_support.
68585 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68586 code.
68587 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68588 Remove conditional code.
68589 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68590 code.
68591 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68592 unconditional.
68593 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68594 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68595 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68596 Remove.
68597 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68598 [!__ASSUME_STD_AUXV]: Remove conditional code.
68599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68600 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68601 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68603 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68604 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68605 code.
68606 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68608 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68609 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68610 conditional code.
68611 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68613 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68614 code.
68615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68616 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68617 conditional code.
68618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68619 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68620 code unconditional.
68621 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68622 conditional code.
68623 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68624 unconditional.
68625 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68626 conditional code.
68627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68628 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68629 unconditional.
68630 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68631 conditional code.
68632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68633 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68634 code unconditional.
68635 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68636 conditional code.
68637 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68638 unconditional.
68639 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68640 conditional code.
68641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68642 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68643 code unconditional.
68644 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68645 conditional code.
68646 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68647 unconditional.
68648 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68649 conditional code.
68650
68651 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68652
68653 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68654 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68655 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68656 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68657 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68658 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68659 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68660 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68661 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68662 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68663 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68664 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68665 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68666 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68667 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68668 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68669 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68670 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68671 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68673 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68674 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68675 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68676
68677 2012-07-25 Florian Weimer <fweimer@redhat.com>
68678
68679 * Versions.def: Add GLIBC_2.17.
68680 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68681 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68682 Introduce __libc_secure_getenv.
68683 * stdlib/Versions (2.17): Add secure_getenv
68684 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68685 * stdlib/secure-getenv.c: Rename __secure_getenv to
68686 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68687 symbol __secure_getenv for GLIBC_2.0.
68688 * stdlib/tst-secure-getenv.c: New.
68689 * stdlib/Makefile (tests): Add testcase.
68690 * manual/startup.texi (Environment Access): Document
68691 secure_getenv.
68692 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68693 __libc_secure_getenv.
68694 * inet/ruserpass.c (ruserpass): Likewise.
68695 * malloc/mtrace.c (mtrace): Likewise.
68696 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68697 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68698 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68699 * sysdeps/posix/tempname.c: Likewise. Evaluate
68700 HAVE_SECURE_GETENV.
68701 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68702 __secure_getenv to __libc_secure_getenv.
68703 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68705 Likewise.
68706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68707 Likewise.
68708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68715
68716 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68717
68718 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68719 (struct La_i86_retval): Likewise.
68720 (struct La_x86_64_regs): Likewise.
68721 (struct La_x86_64_retval): Likewise.
68722 (struct La_x32_regs): Likewise.
68723 (struct La_x32_retval): Likewise.
68724 (struct La_ppc32_regs): Likewise.
68725 (struct La_ppc32_retval): Likewise.
68726 (struct La_ppc64_regs): Likewise.
68727 (struct La_ppc64_retval): Likewise.
68728 (struct La_sh_regs): Likewise.
68729 (struct La_sh_retval): Likewise.
68730 (struct La_s390_32_regs): Likewise.
68731 (struct La_s390_32_retval): Likewise.
68732 (struct La_s390_64_regs): Likewise.
68733 (struct La_s390_64_retval): Likewise.
68734 (struct La_sparc32_regs): Likewise.
68735 (struct La_sparc32_retval): Likewise.
68736 (struct La_sparc64_regs): Likewise.
68737 (struct La_sparc64_retval): Likewise.
68738 (struct audit_ifaces): Remove architecture-specific pltenter and
68739 pltexit members.
68740 * sysdeps/i386/ldsodefs.h: New file.
68741 * sysdeps/powerpc/ldsodefs.h: Likewise.
68742 * sysdeps/s390/ldsodefs.h: Likewise.
68743 * sysdeps/sh/ldsodefs.h: Likewise.
68744 * sysdeps/sparc/ldsodefs.h: Likewise.
68745 * sysdeps/x86_64/ldsodefs.h: Likewise.
68746
68747 2012-07-25 Marek Polacek <polacek@redhat.com>
68748
68749 [BZ #6808]
68750 * math/libm-test.inc (yn_test): Add another test.
68751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68752 to ERANGE when the result is +-Inf.
68753 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68754 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68755 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68756 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68757
68758 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68759
68760 * conform/data/time.h-data (NULL): Use macro-constant. Require
68761 equal to 0.
68762 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68763 clock_t.
68764 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68765
68766 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68767
68768 * configure.in <sysdeps resolving>: Correct printing
68769 Implies_before.
68770 * configure: Regenerate.
68771
68772 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68773
68774 * math/w_ilogb.c: Include <limits.h>.
68775 * math/w_ilogbl.c: Likewise.
68776
68777 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68778
68779 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68780 va_copy. Document allowing for unavailable va_copy only as
68781 pre-C99 compatibility.
68782 * manual/string.texi (Copying and Concatenation): Use va_copy
68783 instead of __va_copy in concat example.
68784
68785 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68786
68787 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68788 (__sendto): Use create_address_port. Initialize APORT and deallocate
68789 it if not null.
68790
68791 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68792 with O_NOLINK passed to __file_name_lookup.
68793
68794 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68795 with O_NOLINK passed to __file_name_lookup.
68796
68797 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68798 negative N or less than NGIDS.
68799
68800 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68801 type to string_t. Set ERANGE as errno and return it if NAME is not big
68802 enough. Use memcpy instead of strncpy.
68803
68804 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68805
68806 * elf/Makefile (check-data): Remove.
68807 (localplt.data): New vpath directive.
68808 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68809 instead of $(check-data).
68810 * scripts/data/localplt-generic.data: Move to ...
68811 * sysdeps/generic/localplt.data: ... here.
68812 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68813 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68814 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68816 ... here.
68817 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68819 ... here.
68820 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68822 ... here.
68823 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68825 ... here.
68826 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68828 ... here.
68829 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68831 ... here.
68832
68833 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68834
68835 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68836 PPC32 and PPC64 files.
68837 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68838 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68839
68840 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68841
68842 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68843 __makecontext_ret to ...
68844 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68845 ... here and call exit if uc_link is NULL. New file.
68846 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68847 __makecontext_ret.S.
68848 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68849 __makecontext_ret to ...
68850 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68851 ... here and call exit if uc_link is NULL. New file.
68852 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68853 __makecontext_ret.S.
68854
68855 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68856
68857 * elf/elf.h (R_390_IRELATIVE): New definition.
68858 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68859 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68860 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68861 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68862 (elf_machine_lazy_rel): Likewise.
68863 * sysdeps/s390/dl-irel.h: New file.
68864 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68865 * sysdeps/s390/s390-64/memset.S: New asm code.
68866 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68867 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68868 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68869 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68870 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68871 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68872 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68873 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68874 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68875 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68876 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68877 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68878 * sysdeps/s390/s390-32/memset.S: New asm code.
68879 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68880
68881 2012-07-17 Marek Polacek <polacek@redhat.com>
68882
68883 [BZ #14349]
68884 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68885 * sysdeps/s390/s390-64/configure.in: Likewise.
68886 * sysdeps/sparc/configure.in: Likewise.
68887 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68888 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68889 * sysdeps/i386/configure.in: Likewise.
68890 * sysdeps/x86_64/configure.in: Likewise.
68891 * sysdeps/sh/configure.in: Likewise.
68892 * sysdeps/s390/s390-32/configure: Regenerated.
68893 * sysdeps/s390/s390-64/configure: Likewise.
68894 * sysdeps/x86_64/configure: Likewise.
68895 * sysdeps/sh/configure: Likewise.
68896 * sysdeps/powerpc/powerpc64/configure: Likewise.
68897 * sysdeps/powerpc/powerpc32/configure: Likewise.
68898 * sysdeps/sparc/configure: Likewise.
68899 * sysdeps/i386/configure: Likewise.
68900
68901 * elf/dl-open.c: Comment fixes.
68902
68903 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68904
68905 * Makefile [CXX] (check-data): Remove.
68906 [CXX] (c++-types.data): New vpath directive.
68907 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68908 vpath. Do not allow for C++ type data being missing.
68909 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68910 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68911 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68912 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68913 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68914 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68915 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68917 ... here.
68918 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68920 ... here.
68921 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68923 ... here.
68924 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68926 ... here.
68927 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68929 ... here.
68930 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68932 ... here.
68933 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68935 ... here.
68936 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68938
68939 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68940 definitions to architecture-specific files.
68941 (TLS_IE): Likewise.
68942 (TLS_LD): Likewise.
68943 (TLS_GD): Likewise.
68944 * sysdeps/i386/tls-macros.h: New file.
68945 * sysdeps/powerpc/tls-macros.h: Likewise.
68946 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68947 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68948 * sysdeps/sh/tls-macros.h: Likewise.
68949 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68950 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68951 * sysdeps/x86_64/tls-macros.h: Likewise.
68952
68953 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68954
68955 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68956 zero value for regular exit case.
68957
68958 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68959 (__start_context): Preserve zero value for regular exit case.
68960
68961 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68962 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68963
68964 * manual/setjmp.texi (setcontext): Clarify normal process
68965 termination when uc_link is the null pointer.
68966 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68967 exit call.
68968
68969 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68970
68971 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68972 preprocessor. Test for each exception mask separately.
68973
68974 2012-07-16 Andreas Jaeger <aj@suse.de>
68975
68976 * po/ru.po: Update from translation team.
68977
68978 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68979
68980 * conform/data/string.h-data (NULL): Use macro-constant. Require
68981 equal to 0.
68982 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68983 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68984 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68985 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68987
68988 2012-07-13 Andreas Jaeger <aj@suse.de>
68989
68990 * po/fr.po: Update from translation team.
68991
68992 2012-07-12 Marek Polacek <polacek@redhat.com>
68993
68994 [BZ #14173]
68995 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68997 loop condition.
68998
68999 2012-07-12 Joseph Myers <joseph@codesourcery.com>
69000
69001 [BZ #13717]
69002 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69003 Change to 2.4.1 where previously 2.4.0.
69004 * sysdeps/unix/sysv/linux/configure: Regenerated.
69005 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69006 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69007 version.
69008 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69009 (__ASSUME_AT_CLKTCK): Remove.
69010 (__ASSUME_AT_PAGESIZE): Likewise.
69011 (__ASSUME_AT_XID): Likewise.
69012 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69013 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69014 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69015 unconditionally.
69016 (HAVE_AUX_PAGESIZE): Likewise.
69017 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69018 [__ASSUME_AT_CLKTCK]: Make code unconditional.
69019 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69020
69021 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
69022
69023 [BZ #14307]
69024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69025 the temporary buffer used to invoke __gethostbyname2_r,
69026 __gethostbyaddr_r and gethostbyname4_r to make room for struct
69027 host_data / struct gaih_addrtuple.
69028 * resolv/nss_dns/dns-host.c (global scope): Move definition of
69029 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69030 header file nss/nsswitch.h.
69031 * nss/nsswitch.h (global scope): Add definition of implementation
69032 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69033 resolv/nss_dns/dns-host.c).
69034
69035 2012-07-11 Andreas Jaeger <aj@suse.de>
69036
69037 * po/fr.po: Update from translation team.
69038
69039 * po/sv.po: Update from translation team
69040 * po/fr.po: Another update from translation team.
69041
69042 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69043
69044 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69045 for subnormals or multiply small sinh result by itself.
69046 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69048
69049 2012-07-11 David S. Miller <davem@davemloft.net>
69050
69051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69052
69053 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
69054
69055 [BZ #14347]
69056 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69057 (INTERNAL_MARK): Shift it here.
69058
69059 2012-07-10 Marek Polacek <polacek@redhat.com>
69060
69061 [BZ #14151]
69062 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
69063 libc_cv_asm_global_directive with .globl.
69064 * configure: Regenerated.
69065 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69066 with .globl.
69067 * sysdeps/i386/configure: Regenerated.
69068 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69069 with .globl.
69070 * sysdeps/x86_64/configure: Regenerated.
69071 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69072 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69073 * elf/tst-unique2mod2.c: Likewise.
69074 * elf/tst-unique2mod1.c: Likewise.
69075 * elf/tst-unique1mod2.c: Likewise.
69076 * elf/tst-unique1mod1.c: Likewise.
69077 * sysdeps/s390/s390-32/sysdep.h: Likewise.
69078 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69079 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69080 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69081 * sysdeps/mach/sysdep.h: Likewise.
69082 * sysdeps/i386/sysdep.h: Likewise.
69083 * sysdeps/i386/i386-mcount.S: Likewise.
69084 * sysdeps/x86_64/_mcount.S: Likewise.
69085 * sysdeps/x86_64/sysdep.h: Likewise.
69086 * sysdeps/sh/_mcount.S: Likewise.
69087 * sysdeps/sh/sysdep.h: Likewise.
69088 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69089 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69090 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69091 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69092 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69093 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69094 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69095 * locale/localeinfo.h: Likewise.
69096 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69097 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69098
69099 2012-07-09 Roland McGrath <roland@hack.frob.com>
69100
69101 [BZ #14336]
69102 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69103 system".
69104 * manual/message.texi (The Uniforum approach): Likewise.
69105 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69106 (glibc iconv Implementation): Likewise.
69107
69108 2012-07-09 Joseph Myers <joseph@codesourcery.com>
69109
69110 [BZ #14337]
69111 * math/s_clog.c (__clog): Avoid scaling a value down where that
69112 could result in underflow.
69113 * math/s_clog10.c (__clog10): Likewise.
69114 * math/s_clog10f.c (__clog10f): Likewise.
69115 * math/s_clog10l.c (__clog10l): Likewise.
69116 * math/s_clogf.c (__clogf): Likewise.
69117 * math/s_clogl.c (__clogl): Likewise.
69118 * math/libm-test.inc (clog_test): Add more tests.
69119 (clog10_test): Likewise.
69120 * sysdeps/i386/fpu/libm-test-ulps: Update.
69121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69122
69123 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
69124
69125 [BZ #14283]
69126 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69127 by 7 not 8 to examine high bit of fractional part.
69128
69129 [BZ #14042]
69130 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69131 for call to __mcount_internal.
69132 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69133 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69134 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69135
69136 2012-07-06 Joseph Myers <joseph@codesourcery.com>
69137
69138 [BZ #14154]
69139 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69140 approximation for values within 0x1p-13f of an odd multiple of
69141 pi/4.
69142 * math/libm-test.inc (tan_test): Do not allow spurious underflow
69143 exception. Add more tests.
69144 * sysdeps/i386/fpu/libm-test-ulps: Update.
69145
69146 [BZ #6778]
69147 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69148 inputs and return -1 for them. Do not check for +Inf in case not
69149 reachable for +Inf.
69150 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69151 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69152 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69153 and return -1 for them. Do not check for +Inf in case not
69154 reachable for +Inf.
69155 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69156 define.
69157 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69158 and return -1 for them. Do not check for +Inf in case not
69159 reachable for +Inf.
69160 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
69161 spurious underflow.
69162 * sysdeps/i386/fpu/libm-test-ulps: Update.
69163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69164
69165 2012-07-06 Mike Frysinger <vapier@gentoo.org>
69166
69167 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69168
69169 2012-07-05 Joseph Myers <joseph@codesourcery.com>
69170
69171 [BZ #14157]
69172 [BZ #14331]
69173 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69174 could result in spurious underflow. Scale down values above
69175 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69176 * math/s_csqrtf.c (__csqrtf): Likewise.
69177 * math/s_csqrtl.c (__csqrtl): Likewise.
69178 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
69179 spurious underflow.
69180 * sysdeps/i386/fpu/libm-test-ulps: Update.
69181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69182
69183 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
69184
69185 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69186 xopen-msg.sed.
69187 * catgets/xopen-msg.awk: New file.
69188 * catgets/xopen-msg.sed: Removed.
69189
69190 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69191 po2text.sed.
69192 * intl/po2test.awk: New file.
69193 * intl/po2test.sed: Removed.
69194
69195 2012-07-04 Joseph Myers <joseph@codesourcery.com>
69196
69197 [BZ #14328]
69198 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69199 or multiply small sinh result by itself.
69200 * math/s_ctanf.c (__ctanf): Likewise.
69201 * math/s_ctanh.c (__ctanh): Likewise.
69202 * math/s_ctanhf.c (__ctanhf): Likewise.
69203 * math/s_ctanhl.c (__ctanhl): Likewise.
69204 * math/s_ctanl.c (__ctanl): Likewise.
69205 * math/libm-test.inc (ctan_test_tonearest): New function.
69206 (ctan_test_towardzero): Likewise.
69207 (ctan_test_downward): Likewise.
69208 (ctan_test_upward): Likewise.
69209 (ctanh_test_tonearest): Likewise.
69210 (ctanh_test_towardzero): Likewise.
69211 (ctanh_test_downward): Likewise.
69212 (ctanh_test_upward): Likewise.
69213 (main): Call these new functions.
69214 * sysdeps/i386/fpu/libm-test-ulps: Update.
69215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69216
69217 2012-07-03 Mike Frysinger <vapier@gentoo.org>
69218
69219 * .gitignore: Delete /ports entry.
69220
69221 2012-07-03 Andreas Jaeger <aj@suse.de>
69222
69223 * po/bg.po: Update from translation team.
69224 * po/cs.po: Likewise.
69225 * po/de.po: Likewise.
69226 * po/hr.po: Likewise.
69227 * po/nl.pl: Likewise.
69228 * po/pl.po: Likewise.
69229 * po/vi.po: Likewise.
69230
69231 2012-07-03 Joseph Myers <joseph@codesourcery.com>
69232
69233 * Makeconfig [!+link] (+link-before-libc): New variable.
69234 [!+link] (+link-after-libc): Likewise.
69235 [!+link] (+link-tests): Likewise.
69236 [!+link] (+link): Define in terms of $(+link-before-libc) and
69237 $(+link-after-libc).
69238 [!+link-static] (+link-static-before-libc): New variable.
69239 [!+link-static] (+link-static-after-libc): Likewise.
69240 [!+link-static] (+link-static-tests): Likewise.
69241 [!+link-static] (+link-static): Define in terms of
69242 $(+link-static-before-libc) and $(+link-static-after-libc).
69243 [build-shared] (link-libc-before-gnulib): New variable.
69244 [build-shared] (link-libc-tests): Likewise.
69245 [build-shared] (link-libc): Define in terms of
69246 $(link-libc-before-gnulib).
69247 [!build-shared] (link-libc-tests): New variable.
69248 (link-libc-static-tests): New variable.
69249 [!gnulib] (gnulib-arch): New variable.
69250 [!gnulib] (gnulib-tests): Likewise.
69251 [!gnulib] (static-gnulib-arch): Likewise.
69252 [!gnulib] (static-gnulib-tests): Likewise.
69253 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
69254 Define with "=" instead of ":=".
69255 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69256 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
69257 * Rules (binaries-all-notests): New variable.
69258 (binaries-all-tests): Likewise.
69259 (binaries-static-notests): Likewise.
69260 (binaries-static-tests): Likewise.
69261 (binaries-all): Define using $(binaries-all-notests) and
69262 $(binaries-all-tests).
69263 (binaries-static): Define using $(binaries-static-notests) and
69264 $(binaries-static-tests).
69265 (binaries-shared-tests): New variable.
69266 (binaries-shared-notests): Likewise.
69267 (binaries-shared): Remove variable.
69268 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69269 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69270 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69271 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69272 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69273 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69274 * elf/Makefile (sln-modules): New variable.
69275 (extra-objs): Add $(sln-modules:=.o).
69276 (ldconfig-modules): Add static-stubs.
69277 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69278 * elf/static-stubs.c: New file.
69279
69280 [BZ #14283]
69281 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69282 by 7 not 8 to examine high bit of fractional part. Use volatile
69283 variables when splitting into final array of floats if
69284 __FLT_EVAL_METHOD__ != 0.
69285 * math/libm-test.inc (cos_test): Add another test.
69286 (sin_test): Likewise.
69287 * sysdeps/i386/fpu/libm-test-ulps: Update.
69288
69289 [BZ #14273]
69290 * math/libm-test.inc (cosh_test): Add more tests.
69291
69292 * version.h (RELEASE): Set to "development".
69293 (VERSION): Set to "2.16.90".
69294
69295 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
69296
69297 * NEWS: Update copyright. Remove last-updated date.
69298 Mention math library bug fixes and timezone data changes.
69299 * README: Mention GNU/Hurd, x32, and HPPA support status.
69300
69301 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
69302
69303 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69304
69305 2012-06-27 Andreas Jaeger <aj@suse.de>
69306
69307 * manual/contrib.texi (Contributors): Add Samuel Thibault.
69308
69309 2012-06-25 Andreas Jaeger <aj@suse.de>
69310
69311 * sysdeps/s390/fpu/libm-test-ulps: Update.
69312
69313 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69314 Thomas Schwinge <thomas@codesourcery.com>
69315
69316 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69317 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69318 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69319 fanotify_mark.
69320
69321 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69322
69323 * sysdeps/mach/start.c: Remove file.
69324 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69325 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69326 * sysdeps/sh/init-first.c: Likewise.
69327
69328 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69329 registers for frame unwinding purposes, add CFI directives.
69330 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69332 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69333 Likewise.
69334
69335 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69336 __fortify_fail returning.
69337 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69338
69339 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69340 sysdeps/sh/____longjmp_chk.S.
69341 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69342 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69343 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69344 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69345
69346 * sysdeps/sh/abort-instr.h: New file.
69347 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69348 process in case exit returns.
69349
69350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69351 initialize the GOT register before use.
69352
69353 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69354 calculation of ARGC > 4.
69355
69356 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69357 meaningful names to some local labels.
69358
69359 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69360 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69361
69362 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69363 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69364 (__arch_compare_and_exchange_val_16_acq): Likewise.
69365 (__arch_compare_and_exchange_val_32_acq): Likewise.
69366 (atomic_exchange_and_add): Fix gUSA sequence.
69367 (atomic_add): Likewise.
69368 (atomic_add_negative): Likewise.
69369 (atomic_add_zero): Likewise.
69370 (atomic_bit_test_set): Likewise.
69371
69372 2012-06-22 Andreas Schwab <schwab@redhat.com>
69373
69374 [BZ #13579]
69375 * include/link.h (struct link_map): Add l_free_initfini.
69376 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69377 l_initfini.
69378 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69379 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69380 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69381 set.
69382
69383 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69384
69385 * configure.in: Use AC_LANG_SOURCE.
69386 * configure: Regenerate.
69387
69388 2012-06-22 Roland McGrath <roland@hack.frob.com>
69389
69390 * configure.in (libc_cv_localstatedir): New substituted variable.
69391 * configure: Regenerated.
69392 * config.make.in (localstatedir): New variable, substituted from
69393 libc_cv_localstatedir.
69394 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69395 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69396 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69397 * sysdeps/gnu/configure: Regenerated.
69398
69399 2012-06-21 Jeff Law <law@redhat.com>
69400
69401 [BZ #14277]
69402 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69403 free. Simplify list management for _LIBC case.
69404
69405 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69406
69407 [BZ #14273]
69408 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69409 Clear sign bit of 64-bit integer value before comparing against
69410 overflow value.
69411
69412 * sysdeps/mach/configure: Regenerated.
69413
69414 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69415
69416 [BZ #14278]
69417 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69418
69419 2012-06-21 Jeff Law <law@redhat.com>
69420
69421 [BZ #13882]
69422 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69423 uint16_t for elements in the "seen" array to avoid char overflows.
69424 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69425 * elf/dl-open.c (dl_open_worker): Likewise.
69426
69427 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69428
69429 * scripts/list-sources.sh: Scan PORTS for translations.
69430 * po/libc.pot: Regenerated.
69431
69432 2012-06-21 Andreas Jaeger <aj@suse.de>
69433
69434 [BZ #12194]
69435 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69436 warning.
69437 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69438 * bits/byteswap-16.h (__bswap_16): Likewise.
69439 * bits/byteswap.h (__bswap_constant_16): Likewise.
69440
69441 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69442
69443 [BZ #14117]
69444 * sysdeps/i386/fpu_control.h: Removed.
69445 * sysdeps/x86_64/fpu_control.h: Moved to ...
69446 * sysdeps/x86/fpu_control.h: Here.
69447
69448 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69449 (_FPU_SETCW): Likewise.
69450
69451 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69452
69453 [BZ #14117]
69454 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69455 * sysdeps/x86/fpu/bits/mathinline.h: This.
69456 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69457
69458 [BZ #14050]
69459 [BZ #14117]
69460 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69461 functions if __x86_64__ is defined.
69462
69463 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69464
69465 * string/endian.h: Add !__ASSEMBLER__ condition for including
69466 conversion interfaces.
69467
69468 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69469
69470 [BZ #14241]
69471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69472 of ABS(x) in calculating zero to negative powers other than odd
69473 integers.
69474 * math/libm-test.inc (pow_test): Add more tests.
69475
69476 2012-06-15 Andreas Jaeger <aj@suse.de>
69477
69478 * manual/contrib.texi (Contributors): Update entry of Liubov
69479 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69480 Machado Filho.
69481
69482 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69483
69484 * string/string.h: Add __wur to GNU version of strerror_r.
69485
69486 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69487
69488 [BZ #14229]
69489 * string/Makefile (tests): Add tst-strtok_r.
69490 * string/tst-strtok_r.c: New file.
69491 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69492 RAX_LP/RDX_LP on SAVE_PTR.
69493
69494 2012-06-14 Roland McGrath <roland@hack.frob.com>
69495
69496 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69497
69498 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69499
69500 * libm_test.inc (csqrt_test): Allow more spurious underflow
69501 exceptions.
69502 (j0_test): Likewise.
69503 (j1_test): Likewise.
69504 (y0_test): Likewise.
69505 (y1_test): Likewise.
69506
69507 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69508
69509 * po/Makefile (libc.pot): Use UTF-8 charset.
69510
69511 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69512
69513 [BZ #14210]
69514 Suppress sign-conversion warning from FD_SET.
69515 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69516 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69517 not unsigned long int.
69518 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69519
69520 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69521
69522 [BZ #14050]
69523 [BZ #14117]
69524 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69525 __extern_always_inline instead of __extern_inline.
69526 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69527 (__signbit): Likewise.
69528 (__signbitl): Support C++ namespace.
69529 (lrintf): New inline function.
69530 (lrint): Likewise.
69531 (llrintf): Likewise.
69532 (llrint): Likewise.
69533 (fmaxf): Likewise.
69534 (fmax): Likewise.
69535 (fminf): Likewise.
69536 (fmin): Likewise.
69537 (rint): Likewise.
69538 (rintf): Likewise.
69539 (ceil): Likewise.
69540 (ceilf): Likewise.
69541 (floor): Likewise.
69542 (floorf): Likewise.
69543 (nearbyint): Likewise.
69544 (nearbyintf): Likewise.
69545
69546 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69547
69548 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69549 non-default versions.
69550
69551 2012-06-11 Roland McGrath <roland@hack.frob.com>
69552
69553 [BZ #14218]
69554 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69555
69556 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69557
69558 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69559 (FE_UPWARD, FE_DOWNWARD): Don't define.
69560 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69561 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69562
69563 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69564 reading it.
69565 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69566 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69567
69568 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69569
69570 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69572 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69573 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69574
69575 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69576
69577 [BZ #14117]
69578 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69579 * sysdeps/i386/fpu/Implies: New file.
69580 * sysdeps/x86_64/fpu/Implies: Likewise.
69581 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69582 * sysdeps/x86/fpu/bits/fenv.h: This.
69583
69584 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69585 __SSE_MATH__.
69586
69587 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69588
69589 [BZ #14134]
69590 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69591 character 0xffff that matches the last element of the
69592 conversion table.
69593
69594 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69595
69596 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69597 fmodl commit.
69598
69599 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69600
69601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69602 values higher than 25.6283.
69603
69604 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69605
69606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69607 subnormal exponent extraction and add some __builtin_expect.
69608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69609 Fix for subnormal mantissa calculation.
69610
69611 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69612
69613 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69614 cpu2 is -1 and errno is not ENOSYS.
69615
69616 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69617
69618 [BZ #14117]
69619 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69620 * sysdeps/x86/bits/string.h: This.
69621 * sysdeps/x86_64/bits/string.h: Removed.
69622
69623 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69624 if not compiling for x86-64, but compiling for >= i486.
69625
69626 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69627 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69628
69629 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69630 New macro from Linux kernel 3.4.0.
69631 (FP_XSTATE_MAGIC2): Likewise.
69632 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69633 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69634 (struct _fpx_sw_bytes): New struct.
69635 (struct _xsave_hdr): Likewise.
69636 (struct _ymmh_state): Likewise.
69637 (struct _xstate): Likewise.
69638
69639 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69640 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69641 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69642 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69643 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69644 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69645
69646 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69647 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69648 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69649 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69650 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69651 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69652
69653 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69654
69655 [BZ #13743]
69656 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69657 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69658 (sysdep_headers): Include sys/platform/ppc.h.
69659 * sysdeps/powerpc/test-gettimebase.c: Test for
69660 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69661 * manual/Makefile (appendices): Include platform.texi.
69662 * manual/contrib.texi (Contributors): Update @node pointers.
69663 * manual/maint.texi (Maintenance): Likewise.
69664 (Platform): New node.
69665 * manual/platform.texi: New file. Document the new features.
69666
69667 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69668 Jakub Jelinek <jakub@redhat.com>
69669
69670 [BZ #14188]
69671 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69672 where __builtin_expect is unavailable.
69673
69674 2012-06-03 David S. Miller <davem@davemloft.net>
69675
69676 * stdlib/longlong.h: Updated from GCC.
69677
69678 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69679
69680 [BZ #14042]
69681 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69682 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69683 __mcount_internal.
69684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69685 (GLIBC_2.16): Likewise.
69686
69687 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69688
69689 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69690
69691 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69692
69693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69694 (default-abi): New variable.
69695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69696 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69697 variable.
69698 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69699 Likewise.
69700 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69701 Likewise.
69702 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69703 Likewise.
69704
69705 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69706 definition. Document in comment.
69707
69708 2012-06-01 David S. Miller <davem@davemloft.net>
69709
69710 * stdlib/longlong.h: Updated from GCC.
69711
69712 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69713
69714 [BZ #14117]
69715 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69716 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69717 sys/debugreg.h sys/io.h here.
69718 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69719 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69720 sys/io.h.
69721 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69722 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69723 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69724 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69725 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69726 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69727
69728 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69729 Define only if __x86_64__ is defined.
69730
69731 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69732
69733 [BZ #14048]
69734 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69735 Use int64_t for variable i.
69736 * math/libm-test.inc (fmod_test): Add more tests.
69737
69738 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69739 z computation is not scheduled after fetestexcept.
69740 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69741 Use math_force_eval instead of asm to ensure calculation scheduled
69742 before exception test.
69743 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69744 Ensure a1 + u.d computation is not scheduled after fetestexcept.
69745
69746 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
69747
69748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69749 computation is not scheduled after fetestexcept.
69750
69751 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69752
69753 [BZ #14117]
69754 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69755 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69756
69757 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69758
69759 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69760 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69761
69762 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69763
69764 [BZ #14117]
69765 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69766 <bits/wordsize.h>.
69767 (__WCHAR_MIN): Support __WORDSIZE == 64.
69768 (__WCHAR_MAX): Likewise.
69769
69770 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69771 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69772
69773 [BZ #14183]
69774 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69775 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69776
69777 [BZ #14117]
69778 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69779 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69780
69781 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69782 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69783
69784 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69785 Defined to 1 if __x86_64__ isn't defined.
69786 (_STAT_VER_LINUX_OLD): New.
69787 (st_atime): Remove duplicate.
69788 (st_mtime): Likewise.
69789 (st_ctime): Likewise.
69790
69791 2012-05-31 David S. Miller <davem@davemloft.net>
69792
69793 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69794 entries.
69795
69796 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69797
69798 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69799 gen-libm-test.pl.
69800
69801 [BZ #14132]
69802 * elf/dl-reloc.c: Include <_itoa.h>.
69803 (_dl_reloc_bad_type): Remove use of INTUSE.
69804 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69805 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69806 * stdio-common/psiginfo.c (psiginfo): Likewise.
69807 * stdio-common/psignal.c (psignal): Likewise.
69808 * string/strsignal.c (strsignal): Likewise.
69809 * include/signal.h (_sys_siglist): Declare hidden proto.
69810 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69811 INTVARDEF with libc_hidden_data_def.
69812 * stdio-common/itoa-udigits.c: Likewise.
69813 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69814 (_itoa_lower_digits_internal): Remove declaration.
69815 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69816 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69817 (_sys_sigabbrev_internal): Remove aliases.
69818 (_sys_siglist): Define hidden alias.
69819
69820 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69821
69822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69823 bits/sysctl.h.
69824
69825 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69826
69827 [BZ #14117]
69828 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69829 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69830
69831 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69832 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69833 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69834 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69836 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69837
69838 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69839 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69840 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69841
69842 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69843 with __addr.
69844 (insw): Likewise.
69845 (insl): Likewise.
69846 (outsb): Likewise.
69847 (outsw): Likewise.
69848 (outsl): Likewise.
69849
69850 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69851 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69852 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69853
69854 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69855 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69856 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69857 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69858 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69859 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69860
69861 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69862 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69863
69864 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69865 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69866
69867 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69869 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69870
69871 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69872 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69873 to ...
69874 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69875
69876 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69877 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69878 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69879
69880 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69881 for x86-64.
69882 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69883
69884 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69885
69886 * math/math.h (M_El): Use two more decimal places.
69887 (M_LOG2El): Likewise.
69888 (M_LOG10El): Likewise.
69889 (M_LN2l): Likewise.
69890 (M_LN10l): Likewise.
69891 (M_PIl): Likewise.
69892 (M_PI_2l): Likewise.
69893 (M_PI_4l): Likewise.
69894 (M_1_PIl): Likewise.
69895 (M_2_PIl): Likewise.
69896 (M_2_SQRTPIl): Likewise.
69897 (M_SQRT2l): Likewise.
69898 (M_SQRT1_2l): Likewise.
69899
69900 2012-05-31 David S. Miller <davem@davemloft.net>
69901
69902 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69903 values between float registers.
69904 * sysdeps/sparc/sparc64/memset.S: Likewise.
69905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69906
69907 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69908
69909 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69910 -D_FORTIFY_SOURCE=1.
69911 (CPPFLAGS-tst-longjmp_chk.c): Define.
69912 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69913 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69914 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69915 CFLAGS-tst-wchar-h.c.
69916
69917 2012-05-31 Marek Polacek <polacek@redhat.com>
69918
69919 [BZ #14132]
69920 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69921 __endmntent_internal): Remove declaration.
69922 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69923 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69924 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69925
69926 2012-05-30 David S. Miller <davem@davemloft.net>
69927
69928 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69929 (___Q_simulate_exceptions): Use real FP ops rather than writing
69930 into the %fsr.
69931 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69932 Likewise.
69933
69934 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69935
69936 [BZ #14117]
69937 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69938 * sysdeps/x86/bits/xtitypes.h: This.
69939
69940 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69941 * sysdeps/x86/bits/wordsize.h: This.
69942
69943 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69944 * sysdeps/x86/bits/huge_vall.h: This.
69945
69946 * sysdeps/i386/bits/select.h: Removed.
69947 * sysdeps/x86_64/bits/select.h: Renamed to ...
69948 * sysdeps/x86/bits/select.h: This.
69949
69950 * sysdeps/i386/bits/setjmp.h: Removed.
69951 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69952 * sysdeps/x86/bits/setjmp.h: This.
69953
69954 * sysdeps/i386/bits/mathdef.h: Removed.
69955 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69956 * sysdeps/x86/bits/mathdef.h: This.
69957
69958 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69959
69960 [BZ #14132]
69961 * include/sys/socket.h (__connect_internal)
69962 (__libc_sa_len_internal): Remove declaration.
69963 (__connect, __libc_sa_len): Declare hidden_proto.
69964 (SA_LEN): Remove use of INTUSE.
69965 * socket/connect.c: Add libc_hidden_def.
69966 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69967 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69968 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69969 alias.
69970 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69971 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69972 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69973 of adding _internal alias.
69974
69975 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69976
69977 [BZ #14117]
69978 * sysdeps/i386/bits/link.h: Removed.
69979 * sysdeps/i386/bits/linkmap.h: Likewise.
69980 * sysdeps/x86_64/bits/link.h: Renamed to ...
69981 * sysdeps/x86/bits/link.h: This.
69982 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69983 * sysdeps/x86/bits/linkmap.h: This.
69984
69985 * sysdeps/i386/bits/endian.h: Removed.
69986 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69987 * sysdeps/x86/bits/endian.h: This.
69988
69989 * sysdeps/i386/bits/byteswap.h: Removed.
69990 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69991 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69992 * sysdeps/x86/bits/byteswap.h: This.
69993 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69994 * sysdeps/x86/bits/byteswap-16.h: This.
69995 * sysdeps/i386/Implies: Add x86.
69996 * sysdeps/x86_64/Implies: Likewise.
69997
69998 2012-05-30 David S. Miller <davem@davemloft.net>
69999
70000 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70001 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70002 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70003 (FP_TRAPPING_EXCEPTIONS): Define.
70004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70005 (FP_TRAPPING_EXCEPTIONS): Define.
70006 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70007 subnormals only when inexact has been signalled or underflow
70008 exceptions are enabled.
70009 (_FP_PACK_CANONICAL): Likewise.
70010
70011 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70012
70013 [BZ #14183]
70014 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70015 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70016
70017 2012-05-30 Richard Henderson <rth@twiddle.net>
70018
70019 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70020 with #ifndef NOT_IN_libc.
70021
70022 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
70023 marked to avoid plt entry.
70024
70025 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70026
70027 [BZ #14112]
70028 * Makeconfig (default-abi): New macro.
70029 (abi-includes): Likewise.
70030 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
70031 $(abi-$(default-abi)-lib-soname) for soname if defined.
70032 ($(common-objpfx)gnu/lib-names.stmp): Generate from
70033 abi-variants.
70034 * Makefile (installed-stubs): Likewise.
70035 * include/stubs-biarch.h: Removed.
70036 * scripts/lib-names.awk: Only handle one library at a time.
70037 * scripts/soversions.awk: Remove WORDSIZE support.
70038 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70039 entries.
70040 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70041 Removed.
70042 (syscall-list-default-condition): Likewise.
70043 (syscall-list-default-condition): Likewise.
70044 (syscall-list-includes): Likewise.
70045 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70046 syscall-list-* with abi-*. Handle undefined abi-variants.
70047 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70048 * sysdeps/unix/sysv/linux/i386/Implies: New file.
70049 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70050 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70051 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70052 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70053 Removed.
70054 (syscall-list-32-options): Likewise.
70055 (syscall-list-32-condition): Likewise.
70056 (syscall-list-64-options): Likewise.
70057 (syscall-list-64-condition): Likewise.
70058 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70059 macro.
70060 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70061 Renamed to ...
70062 (abi-*): This.
70063 (abi-64-ld-soname): New macro.
70064 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70065 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70066 Renamed to ...
70067 (abi-*): This.
70068 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70069 * sysdeps/x86_64/x32/shlib-versions: Likewise.
70070
70071 2012-05-30 Joseph Myers <joseph@codesourcery.com>
70072
70073 * sysdeps/unix/sysv/linux/kernel-features.h
70074 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70075 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70076 include <kernel-features.h>.
70077 [!__NR_ftruncate64]: Remove conditional code.
70078 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70079 [__NR_ftruncate64]: Make code unconditional.
70080 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70081 * sysdeps/unix/sysv/linux/truncate64.c: Do not
70082 include <kernel-features.h>.
70083 [!__NR_ftruncate64]: Remove conditional code.
70084 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70085 [__NR_ftruncate64]: Make code unconditional.
70086 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70088 include <kernel-features.h>.
70089 [!__NR_ftruncate64]: Remove conditional code.
70090 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70091 [__NR_ftruncate64]: Make code unconditional.
70092 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70094 include <kernel-features.h>.
70095 [!__NR_ftruncate64]: Remove conditional code.
70096 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70097 [__NR_ftruncate64]: Make code unconditional.
70098 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70099
70100 * configure.in (libc_cv_fpie): Weaken to a compile test using
70101 LIBC_TRY_CC_OPTION.
70102 * configure: Regenerated.
70103
70104 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70105
70106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70110 Refreshed.
70111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70117 Refreshed.
70118
70119 2012-05-27 David S. Miller <davem@davemloft.net>
70120
70121 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70122 (___Q_zero): New.
70123 (__Q_simulate_exceptions): Return void. Change to simulate
70124 exceptions by writing into the %fsr.
70125 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70126 (__Qp_handle_exceptions): Likewise.
70127 (numbers): Delete.
70128 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70129 __Qp_handle_exceptions.
70130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70131 __Qp_handle_exceptions.
70132 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70133 as unused and give dummy FP_RND_NEAREST initializer.
70134 (FP_INHIBIT_RESULTS): Define.
70135 (___Q_simulate_exceptions): Update declaration.
70136 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70137 formatting.
70138 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70139 as unused and give dummy FP_RND_NEAREST initializer.
70140 (__Qp_handle_exceptions): Update declaration.
70141 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70142 formatting.
70143
70144 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
70145
70146 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70147 the temporary FPU control word.
70148 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70149 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70150 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70151 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70152 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70153 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70154 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70155 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70156 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70157 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70158 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70159
70160 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70161
70162 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70163 fields.
70164
70165 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
70166
70167 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70168 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70169 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70170 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70171 Likewise.
70172 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70173 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70174 Likewise.
70175
70176 2012-05-27 Ulrich Drepper <drepper@gmail.com>
70177
70178 * po/h.po: Update from translation team.
70179
70180 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
70181
70182 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70183
70184 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70185 handling of denormals.
70186 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70187 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70188 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70189 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70193 Likewise.
70194
70195 2012-05-26 Marek Polacek <polacek@redhat.com>
70196
70197 [BZ #14152]
70198 * math/libm-test.inc (fma_test): Don't always expect underflow
70199 exception.
70200
70201 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70202
70203 [BZ #12416]
70204 * elf/tst-execstack.c: Include stackinfo.h.
70205 (do_test): Adjust test case to ensure that pthread_getattr_np
70206 behaviour remains the same after marking stack executable.
70207
70208 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70209
70210 * sysdeps/unix/sysv/linux/kernel-features.h
70211 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70212 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70213 kernel-features.h.
70214 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70215 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70216 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70217 kernel-features.h.
70218 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70219 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70220
70221 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
70222
70223 * configure.in: Define the default includes to being none.
70224 * configure: Regenerated.
70225
70226 2012-05-25 Roland McGrath <roland@hack.frob.com>
70227
70228 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70229 * sysdeps/x86_64/setjmp.S: Likewise.
70230 * sysdeps/i386/bsd-setjmp.S: Likewise.
70231 * sysdeps/i386/bsd-_setjmp.S: Likewise.
70232 * sysdeps/i386/setjmp.S: Likewise.
70233 * sysdeps/i386/__longjmp.S: Likewise.
70234 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70235 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70236
70237 * include/stap-probe.h: New file.
70238 * configure.in: Handle --enable-systemtap.
70239 * configure: Regenerated.
70240 * config.h.in (USE_STAP_PROBE): New #undef.
70241 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70242 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70243 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70244
70245 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70246
70247 [BZ #13717]
70248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70249 to 2.4.0 where earlier.
70250 * sysdeps/unix/sysv/linux/configure: Regenerated.
70251 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70252 <kernel-features.h>.
70253 [__ASSUME_32BITUIDS]: Make code unconditional.
70254 [!__ASSUME_32BITUIDS]: Remove conditional code.
70255 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70256 <kernel-features.h>.
70257 [__ASSUME_32BITUIDS]: Make code unconditional.
70258 [!__ASSUME_32BITUIDS]: Remove conditional code.
70259 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70260 [__ASSUME_32BITUIDS]: Make code unconditional.
70261 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70262 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70263 <kernel-features.h>.
70264 [__ASSUME_32BITUIDS]: Make code unconditional.
70265 [!__ASSUME_32BITUIDS]: Remove conditional code.
70266 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70267 <kernel-features.h>.
70268 [__ASSUME_32BITUIDS]: Make code unconditional.
70269 [!__ASSUME_32BITUIDS]: Remove conditional code.
70270 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70271 <kernel-features.h>.
70272 [__ASSUME_32BITUIDS]: Make code unconditional.
70273 [!__ASSUME_32BITUIDS]: Remove conditional code.
70274 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70275 <kernel-features.h>.
70276 [__ASSUME_32BITUIDS]: Make code unconditional.
70277 [!__ASSUME_32BITUIDS]: Remove conditional code.
70278 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70279 <kernel-features.h>.
70280 [__ASSUME_32BITUIDS]: Make code unconditional.
70281 [!__ASSUME_32BITUIDS]: Remove conditional code.
70282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70283 <kernel-features.h>.
70284 [__ASSUME_32BITUIDS]: Make code unconditional.
70285 [!__ASSUME_32BITUIDS]: Remove conditional code.
70286 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70287 <kernel-features.h>.
70288 [__ASSUME_32BITUIDS]: Make code unconditional.
70289 [!__ASSUME_32BITUIDS]: Remove conditional code.
70290 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70291 <kernel-features.h>.
70292 [__ASSUME_32BITUIDS]: Make code unconditional.
70293 [!__ASSUME_32BITUIDS]: Remove conditional code.
70294 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70295 <kernel-features.h>.
70296 [__ASSUME_32BITUIDS]: Make code unconditional.
70297 [!__ASSUME_32BITUIDS]: Remove conditional code.
70298 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70299 <kernel-features.h>.
70300 [__ASSUME_32BITUIDS]: Make code unconditional.
70301 [!__ASSUME_32BITUIDS]: Remove conditional code.
70302 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70303 <kernel-features.h>.
70304 [__NR_setresgid] (__setresgid): Do not declare.
70305 [__ASSUME_32BITUIDS]: Make code unconditional.
70306 [!__ASSUME_32BITUIDS]: Remove conditional code.
70307 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70308 <kernel-features.h>.
70309 [__NR_setresuid] (__setresuid): Do not declare.
70310 [__ASSUME_32BITUIDS]: Make code unconditional.
70311 [!__ASSUME_32BITUIDS]: Remove conditional code.
70312 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70313 <kernel-features.h>.
70314 [__ASSUME_32BITUIDS]: Make code unconditional.
70315 [!__ASSUME_32BITUIDS]: Remove conditional code.
70316 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70317 <kernel-features.h>.
70318 [__ASSUME_32BITUIDS]: Make code unconditional.
70319 [!__ASSUME_32BITUIDS]: Remove conditional code.
70320 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70321 <kernel-features.h>.
70322 [__ASSUME_32BITUIDS]: Make code unconditional.
70323 [!__ASSUME_32BITUIDS]: Remove conditional code.
70324 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70325 <kernel-features.h>.
70326 [__ASSUME_32BITUIDS]: Make code unconditional.
70327 [!__ASSUME_32BITUIDS]: Remove conditional code.
70328 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70329 <kernel-features.h>.
70330 [__ASSUME_32BITUIDS]: Make code unconditional.
70331 [!__ASSUME_32BITUIDS]: Remove conditional code.
70332 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70333 <kernel-features.h>.
70334 [__ASSUME_32BITUIDS]: Make code unconditional.
70335 [!__ASSUME_32BITUIDS]: Remove conditional code.
70336 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70337 <kernel-features.h>.
70338 [__ASSUME_32BITUIDS]: Make code unconditional.
70339 [!__ASSUME_32BITUIDS]: Remove conditional code.
70340 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70341 <kernel-features.h>.
70342 [__ASSUME_32BITUIDS]: Make code unconditional.
70343 [!__ASSUME_32BITUIDS]: Remove conditional code.
70344 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70345 <kernel-features.h>.
70346 [__ASSUME_32BITUIDS]: Make code unconditional.
70347 [!__ASSUME_32BITUIDS]: Remove conditional code.
70348 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70349 <kernel-features.h>.
70350 [__ASSUME_32BITUIDS]: Make code unconditional.
70351 [!__ASSUME_32BITUIDS]: Remove conditional code.
70352 * sysdeps/unix/sysv/linux/kernel-features.h
70353 (__ASSUME_SETRESUID_SYSCALL): Remove.
70354 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70355 (__ASSUME_32BITUIDS): Likewise.
70356 (__ASSUME_LDT_WORKS): Likewise.
70357 (__ASSUME_O_DIRECTORY): Likewise.
70358 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70359 architecture but not kernel version.
70360 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70361 (__ASSUME_MMAP2_SYSCALL): Likewise.
70362 (__ASSUME_STAT64_SYSCALL): Likewise.
70363 (__ASSUME_IPC64): Likewise.
70364 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70365 <kernel-features.h>.
70366 [__ASSUME_32BITUIDS]: Make code unconditional.
70367 [!__ASSUME_32BITUIDS]: Remove conditional code.
70368 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70369 <kernel-features.h>.
70370 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70371 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70372 132096]: Remove conditional code.
70373 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70374 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70375 <kernel-features.h>.
70376 [__ASSUME_32BITUIDS]: Make code unconditional.
70377 [!__ASSUME_32BITUIDS]: Remove conditional code.
70378 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70379 <kernel-features.h>.
70380 [__ASSUME_32BITUIDS]: Make code unconditional.
70381 [!__ASSUME_32BITUIDS]: Remove conditional code.
70382 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70383 <kernel-features.h>.
70384 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70385 unconditional.
70386 (__setresgid): Do not declare.
70387 [__ASSUME_32BITUIDS]: Make code unconditional.
70388 [!__ASSUME_32BITUIDS]: Remove conditional code.
70389 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70390 <kernel-features.h>.
70391 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70392 unconditional.
70393 (__setresuid): Do not declare.
70394 [__ASSUME_32BITUIDS]: Make code unconditional.
70395 [!__ASSUME_32BITUIDS]: Remove conditional code.
70396 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70397 <kernel-features.h>.
70398 [__ASSUME_32BITUIDS]: Make code unconditional.
70399 [!__ASSUME_32BITUIDS]: Remove conditional code.
70400 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70401 <kernel-features.h>.
70402 [__ASSUME_32BITUIDS]: Make code unconditional.
70403 [!__ASSUME_32BITUIDS]: Remove conditional code.
70404
70405 2012-05-25 Richard Henderson <rth@twiddle.net>
70406
70407 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70408 dl_hwcap to ifunc resolver.
70409 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70410 elf_ifunc_invoke.
70411 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70412 dl_hwcap to ifunc resolver.
70413 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70414
70415 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70416
70417 [BZ #14153]
70418 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70419 for |x| <= 2**-26, not 2**-57.
70420 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70421 exception.
70422
70423 2012-05-24 Jeff Law <law@redhat.com>
70424
70425 * stdio-common/Makefile (tests): Add bug25.
70426 * stdio-common/bug25.c: New test.
70427
70428 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70429
70430 [BZ #13576]
70431 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70432 multiple of MALLOC_ALIGNMENT in size.
70433 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70434
70435 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70436
70437 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70438 Require >= 256.
70439 (FILENAME_MAX): Use macro-int-constant.
70440 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70441 (_IOFBF): Use macro-int-constant.
70442 (_IOLBF): Likewise.
70443 (_IONBF): Likewise.
70444 (SEEK_CUR): Likewise.
70445 (SEEK_END): Likewise.
70446 (SEEK_SET): Likewise.
70447 (TMP_MAX): Likewise.
70448 (EOF): Use macro-int-constant. Require < 0.
70449 (NULL): Use macro-constant. Require == 0.
70450 (stdin): Require type to be FILE *.
70451 (stdout): Likewise.
70452 (stderr): Likewise.
70453 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70454 macro-int-constant.
70455 (EXIT_SUCCESS): Likewise.
70456 (NULL): Use macro-constant. Require == 0.
70457 (RAND_MAX): Use macro-int-constant.
70458 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70459 [C99-based standards] (strtof): Require function.
70460 [C99-based standards] (strtold): Likewise.
70461 [C99-based standards] (strtoll): Likewise.
70462 [C99-based standards] (strtoull): Likewise.
70463 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70464 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70465 [ISO || ISO99 || ISO11] (math.h): Likewise.
70466 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70467 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70468 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70469
70470 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70471
70472 [BZ #14132]
70473 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70474 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70475 * intl/dgettext.c (DCGETTEXT): Likewise.
70476 * intl/gettext.c (DCGETTEXT): Likewise.
70477 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70478 * posix/regex_internal.h (gettext): Likewise.
70479 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70480 Remove declaration.
70481 * include/argz.h (__argz_count_internal)
70482 (__argz_stringify_internal): Remove declaration.
70483 (__argz_count, __argz_stringify): Declare hidden proto.
70484 * intl/dcgettext.c: Remove use of INTDEF.
70485 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70486 * string/argz-stringify.c: Likewise.
70487 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70488 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70489 Declare hidden proto.
70490 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70491 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70492 Declare hidden proto.
70493 * include/stdio.h (__asprintf_internal): Don't declare.
70494 (__asprintf): Don't define as macro. Declare hidden proto.
70495 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70496 (__fsetlocking): Declare hidden proto.
70497 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70498 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70499 hidden proto.
70500 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70501 (_IO_setlinebuf): Remove use of INTUSE.
70502 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70503 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70504 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70505 Remove declaration.
70506 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70507 (_IO_do_flush): Remove use of INTUSE.
70508 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70509 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70510 (_IO_adjust_column, _IO_least_wmarker)
70511 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70512 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70513 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70514 (_IO_default_doallocate, _IO_wdefault_doallocate)
70515 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70516 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70517 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70518 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70519 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70520 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70521 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70522 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70523 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70524 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70525 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70526 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70527 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70528 proto.
70529 (_IO_flush_all_internal, _IO_adjust_column_internal)
70530 (_IO_default_uflow_internal, _IO_default_finish_internal)
70531 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70532 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70533 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70534 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70535 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70536 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70537 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70538 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70539 (_IO_file_close_internal, _IO_file_close_it_internal)
70540 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70541 (_IO_file_init_internal, _IO_file_attach_internal)
70542 (_IO_file_fopen_internal, _IO_file_read_internal)
70543 (_IO_file_sync_internal, _IO_file_seek_internal)
70544 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70545 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70546 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70547 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70548 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70549 (_IO_list_all_internal, _IO_link_in_internal)
70550 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70551 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70552 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70553 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70554 (_IO_do_write_internal, _IO_padn_internal)
70555 (_IO_getline_info_internal, _IO_getline_internal)
70556 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70557 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70558 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70559 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70560 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70561 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70562 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70563 with libc_hidden_ver, remove use of INTUSE.
70564 * libio/genops.c: Likewise.
70565 * libio/freopen.c: Likewise.
70566 * libio/freopen64.c: Likewise.
70567 * libio/iofclose.c: Likewise.
70568 * libio/iofdopen.c: Likewise.
70569 * libio/iofflush.c: Likewise.
70570 * libio/iofflush_u.c: Likewise.
70571 * libio/iofgets.c: Likewise.
70572 * libio/iofgets_u.c: Likewise.
70573 * libio/iofopen.c: Likewise.
70574 * libio/iofopncook.c: Likewise.
70575 * libio/iofread.c: Likewise.
70576 * libio/iofread_u.c: Likewise.
70577 * libio/ioftell.c: Likewise.
70578 * libio/iofwrite.c: Likewise.
70579 * libio/iogetline.c: Likewise.
70580 * libio/iogets.c: Likewise.
70581 * libio/iogetwline.c: Likewise.
70582 * libio/iopadn.c: Likewise.
70583 * libio/iopopen.c: Likewise.
70584 * libio/ioseekoff.c: Likewise.
70585 * libio/ioseekpos.c: Likewise.
70586 * libio/iosetbuffer.c: Likewise.
70587 * libio/iosetvbuf.c: Likewise.
70588 * libio/ioungetc.c: Likewise.
70589 * libio/ioungetwc.c: Likewise.
70590 * libio/iovdprintf.c: Likewise.
70591 * libio/iovsprintf.c: Likewise.
70592 * libio/iovsscanf.c: Likewise.
70593 * libio/memstream.c: Likewise.
70594 * libio/obprintf.c: Likewise.
70595 * libio/oldfileops.c: Likewise.
70596 * libio/oldiofclose.c: Likewise.
70597 * libio/oldiofdopen.c: Likewise.
70598 * libio/oldiofopen.c: Likewise.
70599 * libio/oldiopopen.c: Likewise.
70600 * libio/oldstdfiles.c: Likewise.
70601 * libio/putc.c: Likewise.
70602 * libio/setbuf.c: Likewise.
70603 * libio/setlinebuf.c: Likewise.
70604 * libio/stdfiles.c: Likewise.
70605 * libio/strops.c: Likewise.
70606 * libio/vasprintf.c: Likewise.
70607 * libio/vscanf.c: Likewise.
70608 * libio/vsnprintf.c: Likewise.
70609 * libio/vswprintf.c: Likewise.
70610 * libio/wfiledoalloc.c: Likewise.
70611 * libio/wfileops.c: Likewise.
70612 * libio/wgenops.c: Likewise.
70613 * libio/wmemstream.c: Likewise.
70614 * libio/wstrops.c: Likewise.
70615 * libio/__fpurge.c: Likewise.
70616 * libio/__fsetlocking.c: Likewise.
70617 * assert/assert.c: Likewise.
70618 * debug/fgets_chk.c: Likewise.
70619 * debug/fgets_u_chk.c: Likewise.
70620 * debug/fread_chk.c: Likewise.
70621 * debug/fread_u_chk.c: Likewise.
70622 * debug/gets_chk.c: Likewise.
70623 * debug/obprintf_chk.c: Likewise.
70624 * debug/vasprintf_chk.c: Likewise.
70625 * debug/vdprintf_chk.c: Likewise.
70626 * debug/vsnprintf_chk.c: Likewise.
70627 * debug/vsprintf_chk.c: Likewise.
70628 * malloc/mtrace.c: Likewise.
70629 * misc/error.c: Likewise.
70630 * misc/syslog.c: Likewise.
70631 * stdio-common/asprintf.c: Likewise.
70632 * stdio-common/fxprintf.c: Likewise.
70633 * stdio-common/getw.c: Likewise.
70634 * stdio-common/isoc99_fscanf.c: Likewise.
70635 * stdio-common/isoc99_scanf.c: Likewise.
70636 * stdio-common/isoc99_vfscanf.c: Likewise.
70637 * stdio-common/isoc99_vscanf.c: Likewise.
70638 * stdio-common/isoc99_vsscanf.c: Likewise.
70639 * stdio-common/printf-prs.c: Likewise.
70640 * stdio-common/printf_fp.c: Likewise.
70641 * stdio-common/printf_fphex.c: Likewise.
70642 * stdio-common/printf_size.c: Likewise.
70643 * stdio-common/putw.c: Likewise.
70644 * stdio-common/scanf.c: Likewise.
70645 * stdio-common/sprintf.c: Likewise.
70646 * stdio-common/tmpfile.c: Likewise.
70647 * stdio-common/vfprintf.c: Likewise.
70648 * stdio-common/vfscanf.c: Likewise.
70649 * stdlib/strfmon_l.c: Likewise.
70650 * sunrpc/openchild.c: Likewise.
70651 * sunrpc/xdr_stdio.c: Likewise.
70652 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70653 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70654
70655 2012-05-24 Roland McGrath <roland@hack.frob.com>
70656
70657 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70658
70659 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70660 in the third column, to generate for the shared library an IFUNC
70661 that uses _dl_vdso_vsym.
70662 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70663 * Makeconfig (object-suffixes-noshared): New variable.
70664
70665 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70666 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70667 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70668 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70669
70670 [BZ #14132]
70671 * include/sys/time.h (__gettimeofday): Remove macro.
70672 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70673 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70674 Remove INTDEF.
70675 (__gettimeofday): Add libc_hidden_def.
70676 (gettimeofday): Add libc_hidden_weak.
70677 * sysdeps/mach/gettimeofday.c: Likewise.
70678 * sysdeps/posix/gettimeofday.c: Likewise.
70679 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70680 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70682 (__gettimeofday_internal): Remove strong_alias.
70683 (__gettimeofday): Add libc_hidden_def.
70684 (gettimeofday): Add libc_hidden_weak.
70685 * sysdeps/unix/syscalls.list (gettimeofday):
70686 Remove __gettimeofday_internal alias.
70687
70688 2012-05-24 Daniel Jacobowitz <drow@false.org>
70689 H.J. Lu <hongjiu.lu@intel.com>
70690
70691 [BZ #12495]
70692 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70693 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70694 (largebin_index_32_big): New.
70695 (largebin_index): Use it for 16-byte alignment.
70696 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
70697 correction with front_misalign.
70698
70699 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70700
70701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70703 Likewise.
70704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70705 Likewise.
70706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70707 Likewise.
70708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70709 Likewise.
70710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70711 Likewise.
70712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70713 Likewise.
70714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70715 Likewise.
70716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70717 Likewise.
70718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70719 Likewise.
70720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70721 Likewise.
70722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70723 Likewise.
70724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70725 Likewise.
70726
70727 * scripts/data/c++-types-x32-linux-gnu.data: New file.
70728 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70729
70730 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70731
70732 [BZ #10846]
70733 [BZ #14036]
70734 * math/libm-test.inc (exp_test): Add test from bug 14036.
70735 (pow_test): Add test from bug 10846.
70736
70737 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70738 and other flags.
70739 (special_function): Do not include flags in test name.
70740 (parse_args): Likewise.
70741 * sysdeps/i386/fpu/libm-test-ulps: Update.
70742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70743 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70744 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70746
70747 * math/gen-libm-test.pl (%beautify): Add entries for underflow
70748 exceptions.
70749 * math/libm-test.inc ("Philosophy"): Update comment about
70750 exception testing.
70751 (UNDERFLOW_EXCEPTION): New macro.
70752 (UNDERFLOW_EXCEPTION_OK): Likewise.
70753 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70754 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70755 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70756 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70757 (INVALID_EXCEPTION_OK): Update value.
70758 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70759 (OVERFLOW_EXCEPTION_OK): Likewise.
70760 (IGNORE_ZERO_INF_SIGN): Likewise.
70761 (test_exceptions): Handle underflow exceptions.
70762 (acos_test): Update for underflow exception expectations.
70763 (cexp_test): Likewise.
70764 (clog_test): Likewise.
70765 (clog10_test): Likewise.
70766 (csqrt_test): Likewise.
70767 (ctan_test): Likewise.
70768 (ctanh_test): Likewise.
70769 (exp_test): Likewise.
70770 (exp10_test): Likewise.
70771 (exp2_test): Likewise.
70772 (expm1_test): Likewise.
70773 (fma_test): Likewise.
70774 (j0_test): Likewise.
70775 (jn_test): Likewise.
70776 (nexttoward_test): Likewise.
70777 (pow_test): Likewise.
70778 (scalbn_test): Likewise.
70779 (scalbln_test): Likewise.
70780 (tan_test): Likewise.
70781 (y1_test): Likewise.
70782 * sysdeps/i386/fpu/libm-test-ulps: Update.
70783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70784
70785 2012-05-23 David S. Miller <davem@davemloft.net>
70786
70787 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70788 (__libc_sigaction): Remove unused local variables.
70789
70790 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70791
70792 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70793
70794 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70795
70796 mktime: avoid signed integer overflow
70797 * time/mktime.c (__mktime_internal): Do not mishandle the case
70798 where diff == INT_MIN.
70799
70800 mktime: simplify computation of average
70801 * time/mktime.c (ranged_convert): Use new time_t_avg function
70802 instead of rolling our own (probably-slower) code.
70803
70804 mktime: do not assume signed right shift propagates sign bit
70805 * time/mktime.c (isdst_differ): New static function.
70806 (__mktime_internal): No need to normalize tm_isdst now.
70807 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70808 tm_isdst values.
70809
70810 mktime: merge another wrapv change from gnulib
70811 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70812 from some compilers.
70813
70814 mktime: remove incorrect attempt at unusual arithmetics
70815 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70816 The code didn't really work on such machines anyway.
70817 (TYPE_MINIMUM): Assume two's complement.
70818 (twos_complement_arithmetic): Verify that long_int and time_t
70819 are two's complement (or unsigned, in the latter case).
70820
70821 mktime: check signed shifts on long_int and time_t, too
70822 * time/mktime.c (SHR): Check that shifts work as desired
70823 on the types long_int and time_t too, as SHR is used on
70824 such types.
70825
70826 mktime: do not assume 'long' is wide enough
70827 * time/mktime.c (verify): Move decl up.
70828 (long_int): New type.
70829 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70830 to remove assumption in the code that 'long' is wide enough to
70831 store year values. This assumption is not true on x32 and on
70832 some non-glibc platforms.
70833
70834 mktime: merge wrapv change from gnulib
70835 * time/mktime.c (WRAPV): New macro.
70836 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70837 (guess_time_tm, __mktime_internal): Do not assume that signed
70838 integer overflow wraps around; modern compilers generate code
70839 where this assumption is no longer valid.
70840
70841 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70842
70843 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70844 Replace "jmp L(pseudo_end)" with "ret".
70845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70846 Likewise.
70847
70848 2012-05-23 Andreas Jaeger <aj@suse.de>
70849
70850 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70851 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70852
70853 2012-05-23 Andreas Jaeger <aj@suse.de>
70854 Maximilian Attems <max@stro.at>
70855
70856 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70857 New macros.
70858
70859 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70860
70861 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70862 code so that pseudo_end is just ret and the stack pointer is
70863 correct also for static library in error case.
70864
70865 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70866
70867 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70868 move to syscalls.list.
70869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70873
70874 * manual/install.texi (Running make install): Do not mention Linux
70875 kernel version for which pt_chown is not needed.
70876 (Linux): Do not mention problems with nscd with 2.0 kernels.
70877 * INSTALL: Regenerated.
70878
70879 2012-05-23 Andreas Jaeger <aj@suse.de>
70880
70881 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70882 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70883 macro.
70884 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70885 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70886 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70887 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70888 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70889 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70891 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70892 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70893 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70894 * sysdeps/unix/sysv/linux/bits/in.h
70895 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70896
70897 2012-05-22 Roland McGrath <roland@hack.frob.com>
70898
70899 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70900 (PREPARE_VERSION): Just use assert instead, it will be elided
70901 under [NDEBUG] anyway.
70902
70903 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70904
70905 * sysdeps/unix/sysv/linux/Makefile: Include
70906 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70907 (sysdep_routines): Remove sysctl.
70908 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70909 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70910 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70911 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70912 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70913
70914 2012-05-22 Andreas Jaeger <aj@suse.de>
70915
70916 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70917 that pseudo_end is just ret and the stack pointer is correct also
70918 for static library in error case.
70919
70920 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70921
70922 [BZ #14122]
70923 * nss/nsswitch.c (defconfig_entries): New variable.
70924 (__nss_database_lookup): Don't leak defconfig entries.
70925 (nss_parse_service_list): Don't leak on error paths.
70926 (free_database_entries): New function.
70927 (free_defconfig): New function.
70928 (free_mem): Move common code to free_database_entries.
70929
70930 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70931
70932 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70933 Add arch_prctl.
70934 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70935
70936 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70937 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70939 New macro.
70940 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70941 (INTERNAL_SYSCALL_TYPES): Likewise.
70942 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70943 (LOAD_REGS_TYPES_[1-6]): Likewise.
70944 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70945 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70946
70947 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70948
70949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70950 copysignl for GLIBC_2_0.
70951 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70952 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70954 logbl for GLIBC_2_0.
70955 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70956 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70957
70958 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70959
70960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70961 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70962
70963 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70964 Use "neg %eax".
70965
70966 * time/mktime.c: Update copyright years.
70967
70968 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70969
70970 mktime: merge comment-quoting-style change from gnulib
70971 * time/mktime.c: Quote 'like this' in comments.
70972 The GNU coding standards suggest that we no longer quote `like this',
70973 as "`" and "'" are typically rendered asymmetrically nowadays.
70974 The typical gnulib style is to quote 'like this' when quoting
70975 code, and "like this" when quoting English.
70976
70977 * time/mktime.c (compile-command): Add "-I.".
70978
70979 mktime: merge mktime-internal.h change from gnulib
70980 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70981
70982 mktime: merge time_r change from gnulib
70983 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70984
70985 mktime: merge DEBUG change from gnulib
70986 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70987 case system <time.h> has a #define.
70988
70989 mktime: merge <sys/types.h> change from gnulib
70990 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70991 since <time.t> is now guaranteed to define time_t.
70992
70993 mktime: merge HAVE_CONFIG_H change from gnulib
70994 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70995
70996 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70997
70998 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70999 Use "neg %eax".
71000
71001 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71002 __rlim_t cast.
71003 (struct rusage): Use anonymous union to pad each field to
71004 __syscall_slong_t.
71005
71006 2012-05-21 David S. Miller <davem@davemloft.net>
71007
71008 * Makefules (o-iterator): Remove .s cases.
71009 (compile-command.s): Delete.
71010 (COMPILE.s): Delete.
71011 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71012
71013 2012-05-21 Joseph Myers <joseph@codesourcery.com>
71014
71015 * configure.in (libc_cv_predef_stack_protector): Only consider
71016 "foobar" and "__stack_chk_fail" lines in libc_undefs.
71017 * configure: Regenerated.
71018
71019 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71020
71021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71022 New macro. Use R*LP on int and pointer.
71023 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71024 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71025 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71026 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71027
71028 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71029 [__WORDSIZE_TIME64_COMPAT32] instead of
71030 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71031 (struct utmp): Likewise.
71032 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71033 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71034 Renamed to ...
71035 (__WORDSIZE_TIME64_COMPAT32): This.
71036 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71037 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71038 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71039 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71040 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71041 (__WORDSIZE_TIME64_COMPAT32): New macro.
71042
71043 2012-05-21 Andreas Jaeger <aj@suse.de>
71044
71045 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71046 only if [SHARED]. Add prototype for __wcschr_ia32.
71047
71048 2012-05-21 Roland McGrath <roland@hack.frob.com>
71049
71050 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71051 of %rbp unmolested in the jmp_buf while mangling the low bits.
71052 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71053 unmolested high bits of %rbp while demangling the low bits.
71054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71055
71056 2012-05-21 Andreas Jaeger <aj@suse.de>
71057
71058 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71059 * sunrpc/svc_simple.c: Use it for registerrpc.
71060 * sunrpc/xcrypt.c: Use it for passwd2des.
71061
71062 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71063
71064 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71065
71066 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71067 Don't define if [__SYSCALL_WORDSIZE != 32].
71068 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71069 New macro.
71070
71071 2012-05-21 Bruno Haible <bruno@clisp.org>
71072 Andreas Jaeger <aj@suse.de>
71073
71074 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71075 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71076 inptr and inend for must_buffer_ch.
71077 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71078 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71079 * stdio-common/Makefile (tests): Remove bug15.
71080 (bug15-ENV): Remove macro.
71081 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71082 anymore.
71083
71084 2012-05-19 Andreas Jaeger <aj@suse.de>
71085 Roland McGrath <roland@hack.frob.com>
71086
71087 * manual/contrib.texi: Completely rewritten. It contains now an
71088 alphabetical list of contributors and their contributions.
71089
71090 2012-05-21 Richard Henderson <rth@twiddle.net>
71091
71092 * misc/getauxval.c (__getauxval): Use unsigned long int.
71093 * misc/sys/auxv.h: Include <sys/cdefs.h>.
71094 (getauxval): Use unsigned long int.
71095
71096 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71097
71098 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71099
71100 2012-05-21 Roland McGrath <roland@hack.frob.com>
71101
71102 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71103 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71104 __alignof__ (long double).
71105
71106 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71107
71108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71109
71110 2012-05-20 Richard Henderson <rth@twiddle.net>
71111
71112 * misc/getauxval.c: New file.
71113 * misc/sys/auxv.h: New file.
71114 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71115 (routines): Add getauxval.
71116 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71117 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71118 * elf/dl-sysdep.c (_dl_auxv): Remove.
71119 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71120 * elf/dl-support.c (_dl_auxv): New variable.
71121 (_dl_aux_init): Initialize it.
71122 * manual/startup.texi (Auxiliary Vector): New node.
71123 * sysdeps/generic/bits/hwcap.h: New file.
71124 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71125 * sysdeps/powerpc/sysdep.h: ... here. Include it.
71126 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71127 * sysdeps/sparc/sysdep.h: ... here. Include it.
71128 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71129 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71131 Update.
71132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71140
71141 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71142
71143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71144
71145 2012-05-19 David S. Miller <davem@davemloft.net>
71146
71147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71148
71149 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71150
71151 [BZ #14123]
71152 * math/s_ccosh.c: Include <float.h>
71153 (__ccosh): Avoid internal overflow calculating sinh and cosh
71154 values before multiplying by sin and cos values.
71155 * math/s_ccoshf.c: Likewise.
71156 * math/s_ccoshl.c: Likewise.
71157 * math/s_csin.c: Likewise.
71158 * math/s_csinf.c: Likewise.
71159 * math/s_csinl.c: Likewise.
71160 * math/s_csinh.c: Likewise.
71161 * math/s_csinhf.c: Likewise.
71162 * math/s_csinhl.c: Likewise.
71163 * math/libm-test.inc (ccos_test): Add more tests.
71164 (ccosh_test): Likewise.
71165 (csin_test): Likewise.
71166 (csinh_test): Likewise.
71167 * sysdeps/i386/fpu/libm-test-ulps: Update.
71168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71169
71170 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
71171
71172 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71173 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71174
71175 * sysdeps/x86_64/x32/_itoa.h: Add comment.
71176
71177 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71178
71179 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71180 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71181 * sysdeps/powerpc/soft-fp/Versions: Likewise.
71182 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71183 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71184 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71185 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71186 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71187 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71188 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71189 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71190 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71191 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71192 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71193 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71194 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71195 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71196 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71197 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71198 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71199 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71200 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71201 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71202 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71203 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71204 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71205 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71206 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71207 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71208 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71209 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71210
71211 2012-05-18 Andreas Jaeger <aj@suse.de>
71212
71213 * csu/.gitignore: Delete.
71214
71215 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71216
71217 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71218 (timex): Use __syscall_slong_t.
71219
71220 2012-05-18 Andreas Jaeger <aj@suse.de>
71221 Carlos O'Donell <carlos_odonell@mentor.com>
71222
71223 * manual/install.texi (Configuring and compiling): Update
71224 description about files modified in the source directory.
71225 * INSTALL: Regenerated.
71226
71227 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71228
71229 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71230 value. Use "or" to set return value to -1.
71231 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71232 negate return value.
71233
71234 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71235
71236 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71237 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71238 failure if the compiler has Graphite support disabled.
71239 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71240 Likewise.
71241 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71242 (CFLAGS-memmove.c): Likewise.
71243 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71244 Likewise.
71245
71246 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71247
71248 * sysdeps/x86_64/x32/_itoa.h: New file.
71249
71250 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71251 getdents system call only if kernel and user dirents have the
71252 same d_ino and d_off.
71253
71254 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71255 LLONG_MAX != LONG_MAX.
71256 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71257 (_fitoa_word): Likewise.
71258
71259 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71260 years.
71261 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71262 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71263 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71264
71265 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71266 include <bits/wordsize.h>. Check __x86_64__ instead of
71267 __WORDSIZE.
71268 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71269 if __x86_64__ is defined. Use anonymous union on fpstate.
71270
71271 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71272 anonymous union.
71273
71274 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
71275
71276 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71277 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71278 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71279 Refer to _rtld_local_ro instead of _rtld_global_ro.
71280 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71281 Likewise.
71282 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71283 Likewise.
71284 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71285 Likewise.
71286 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71287 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71288 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71289
71290 [BZ #10882]
71291 * sysdeps/powerpc/powerpc32/dl-machine.c
71292 (__elf_machine_runtime_setup) [PROF]: Don't reference
71293 _dl_prof_resolve.
71294
71295 2012-05-18 Andreas Jaeger <aj@suse.de>
71296
71297 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71298 function only available for GCCs before 3.4 since GCC 3.4
71299 introduced a builtin.
71300 (lrint): Likewise.
71301 (llrintf): Likewise.
71302 (llrint): Likewise.
71303 (fmaxf): Likewise.
71304 (fmax): Likewise.
71305 (fminf): Likewise.
71306 (fmin): Likewise.
71307 (rint): Likewise.
71308 (rintf): Likewise.
71309 (nearbyint): Likewise.
71310 (nearbyintf): Likewise.
71311 (ceil): Likewise.
71312 (ceilf): Likewise.
71313 (floor): Likewise.
71314 (floorf): Likewise.
71315
71316 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71317
71318 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71319 on both fields and cast pointer to __syscall_ulong_t.
71320
71321 * bits/types.h (__fsword_t): New type.
71322 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71323 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71324 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71325 (__FSWORD_T_TYPE): Likewise.
71326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71327 (__FSWORD_T_TYPE): Likewise.
71328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71329 (__FSWORD_T_TYPE): Likewise.
71330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71331 (__FSWORD_T_TYPE): Likewise.
71332 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71333 __SWORD_TYPE with __fsword_t.
71334 (statfs64): Likewise.
71335
71336 2012-05-17 David S. Miller <davem@davemloft.net>
71337
71338 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71339
71340 2012-05-17 Andreas Jaeger <aj@suse.de>
71341
71342 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71343 warning.
71344
71345 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71346
71347 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71348
71349 2012-05-17 Andreas Jaeger <aj@suse.de>
71350
71351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71352 when it is used.
71353
71354 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71355
71356 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71357
71358 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71359
71360 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71361 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71362
71363 2012-05-17 Andreas Jaeger <aj@suse.de>
71364 Carlos O'Donell <carlos_odonell@mentor.com>
71365
71366 [BZ #14059]
71367 * sysdeps/x86_64/multiarch/init-arch.h
71368 (bit_YMM_Usable): Rename to...
71369 (bit_AVX_Usable): ... this.
71370 (bit_FMA4_Usable): New macro.
71371 (bit_XMM_state): New macro.
71372 (bit_YMM_state): New macro.
71373 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71374 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71375 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71376 (CPUID_OSXSAVE): New macro.
71377 (CPUID_AVX): New macro.
71378 (CPUID_FMA4): New macro.
71379 (index_YMM_Usable): Rename to...
71380 (index_AVX_Usable): ... this.
71381 (HAS_AVX): Use HAS_ARCH_FEATURE.
71382 (HAS_FMA4): Likewise.
71383 (HAS_YMM_USABLE): Remove.
71384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71385 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71386 are present.
71387 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71388 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71389 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71390 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71391 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71392
71393 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71394
71395 * math/libm-test.c: Support platforms without multiple rounding modes.
71396 * math/bug-nextafter.c: Support platforms without FP exceptions.
71397 * math/bug-nexttoward.c: Likewise.
71398 * math/test-fenv.c: Likewise.
71399 * math/test-misc.c: Likewise.
71400 * stdlib/bug-getcontext.c: Likewise.
71401
71402 2012-05-17 Andreas Jaeger <aj@suse.de>
71403
71404 * manual/examples/search.c (critter_cmp): Change signature to
71405 avoid warnings.
71406 * manual/string.texi (Collation Functions): Likewise.
71407
71408 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71409
71410 * bits/types.h: Fold copyright years.
71411 * bits/typesizes.h: Likewise.
71412 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71416 * time/time.h: Likewise.
71417
71418 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71419
71420 [BZ #208]
71421 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71422 in instead of returning them. Return void.
71423 (__libc_mallinfo): Accumulate over all arenas.
71424 (__malloc_stats): Adjust for change in int_mallinfo interface.
71425
71426 2012-05-16 Roland McGrath <roland@hack.frob.com>
71427
71428 [BZ #10375]
71429 * configure.in (NM): Add AC_CHECK_TOOL for it.
71430 (libc_extra_cflags): New substituted variable.
71431 Check for -fstack-protector being used implicitly.
71432 * configure: Regenerated.
71433 * config.make.in (config-extra-cflags): New variable,
71434 gets @libc_extra_cflags@.
71435 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71436
71437 [BZ #10375]
71438 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71439 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71440 * configure: Regenerated.
71441 * config.make.in (CPPUNDEFS): New substituted variable.
71442 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71443 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71444 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71445
71446 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71447
71448 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71449 (mq_attr): Use __syscall_slong_t.
71450
71451 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71452
71453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71454 Check __x86_64__ instead of __WORDSIZE.
71455 (_STAT_VER_LINUX): Likewise.
71456 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71457 __syscall_ulong_t and __syscall_slong_t.
71458 (stat64): Likewise.
71459
71460 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71461
71462 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71463
71464 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71465
71466 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71467
71468 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71469
71470 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71471 __syscall_ulong_t.
71472
71473 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71474 include <bits/wordsize.h>. Check __x86_64__ instead of
71475 __WORDSIZE.
71476 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71477 defined.
71478 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71479
71480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71481 include <bits/wordsize.h>. Check __x86_64__ instead of
71482 __WORDSIZE.
71483 (user_regs_struct): Use "__extension__ unsigned long long"
71484 instead of "unsigned long" if __x86_64__ is defined.
71485 (user): Likewise. Pad after pointer field if __ILP32__ is
71486 defined.
71487
71488 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71489
71490 * configure.in (makeinfo): Require version 4.5 or later. Allow
71491 versions 5 to 9.
71492 * configure: Regenerated.
71493 * manual/install.texi (texinfo): Increase version requirement to
71494 4.5 or later.
71495 * INSTALL: Regenerated.
71496
71497 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71498
71499 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71500
71501 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71502
71503 * sysdeps/x86_64/x32/ffs.c: New file.
71504
71505 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71506 __syscall_ulong_t.
71507 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71508 defined. Use __syscall_ulong_t.
71509 (shminfo): Use __syscall_ulong_t.
71510 (shm_info): Likewise.
71511
71512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71513 __syscall_ulong_t.
71514
71515 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71516 <bits/wordsize.h>.
71517 (msgqnum_t): Use __syscall_ulong_t.
71518 (msglen_t): Likewise.
71519 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71520 __syscall_ulong_t.
71521
71522 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71524
71525 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71526
71527 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71528 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71529
71530 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71531 __syscall_slong_t.
71532
71533 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71534 include <bits/wordsize.h>. Check __x86_64__ instead of
71535 __WORDSIZE.
71536
71537 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71538 "unsigned long long int" if __x86_64__ is defined.
71539 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71540
71541 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71542 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71543 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71544
71545 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71546 <stdint.h>.
71547 (GET_PC): Cast to uintptr_t first.
71548 (GET_FRAME): Likewise.
71549 (GET_STACK): Likewise.
71550
71551 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71552 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71553 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71554 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71555 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71556 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71557 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71558 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71559 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71560 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71561 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71562 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71563 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71566 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71567 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71568 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71569 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71570 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71572 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71573 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71574 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71575 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71576 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71578 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71580
71581 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71582
71583 * Makerules (+depfiles): Also collect depfiles from .oS in
71584 $(extra-objs).
71585 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71586 .oS, $(libnldbl-routines)).
71587
71588 * Makerules (native-compile-mkdep-flags): Define.
71589 * sunrpc/Makefile (extra-objs): Add $(addprefix
71590 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71591 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71592 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71593 calling $(make-target-directory).
71594
71595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71596
71597 * bits/types.h (__snseconds_t): Removed.
71598 * time/time.h (struct timespec): Replace __snseconds_t with
71599 __syscall_slong_t.
71600 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71601 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71602 Likewise.
71603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71604 (__SNSECONDS_T_TYPE): Likewise.
71605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71606 (__SNSECONDS_T_TYPE): Likewise.
71607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71608 (__SNSECONDS_T_TYPE): Likewise.
71609
71610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71611
71612 * sysdeps/mach/hurd/bits/typesizes.h
71613 (__SYSCALL_SLONG_TYPE): New macro.
71614 (__SYSCALL_ULONG_TYPE): Likewise.
71615
71616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71617
71618 * bits/types.h (__syscall_slong_t): New type.
71619 (__syscall_ulong_t): Likewise.
71620
71621 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71622 (__SYSCALL_ULONG_TYPE): Likewise.
71623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71624 (__SYSCALL_SLONG_TYPE): Likewise.
71625 (__SYSCALL_ULONG_TYPE): Likewise.
71626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71627 (__SYSCALL_SLONG_TYPE): Likewise.
71628 (__SYSCALL_ULONG_TYPE): Likewise.
71629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71630 (__SYSCALL_SLONG_TYPE): Likewise.
71631 (__SYSCALL_ULONG_TYPE): Likewise.
71632
71633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71634
71635 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71636 Add sigaltstack-offsets.sym.
71637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71638 <sigaltstack-offsets.h>.
71639 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71640 longjmp_msg pointer.
71641 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71642 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71643 signal stack.
71644 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71645
71646 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71647
71648 * elf/stackguard-macros.h: Remove file.
71649 * sysdeps/generic/stackguard-macros.h: New file.
71650 * sysdeps/i386/stackguard-macros.h: Likewise.
71651 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71652 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71653 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71654 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71655 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71656 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71657 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71658 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71659 <elf/stackguard-macros.h>.
71660
71661 [BZ #14109]
71662 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71663 __aligned__ in attribute.
71664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71665 (gregset_t): Likewise.
71666
71667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71668
71669 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71670 * sysdeps/x86_64/64/Implies-after: Here. New file.
71671 * sysdeps/x86_64/x32/Implies-after: New file.
71672
71673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71674
71675 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71676 and access return value for _dl_profile_fixup. Use R10_LP to
71677 load frame size.
71678
71679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71680
71681 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71682
71683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71684
71685 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71686 * sysdeps/x86_64/x32/sysdep.h: New file.
71687
71688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71689
71690 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71691 * sysdeps/x86_64/setjmp.S: Likewise.
71692
71693 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71694
71695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71696 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71697 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71698 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71699 remove unused global constant.
71700
71701 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71702
71703 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71704 include of <not-cancel.h>.
71705
71706 2012-05-15 Roland McGrath <roland@hack.frob.com>
71707
71708 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71709
71710 2012-05-15 Jeff Law <law@redhat.com>
71711 Andreas Jaeger <aj@suse.de>
71712
71713 [BZ #13594]
71714 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71715 out from...
71716 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71717 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71718 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71719 code changing __hst_map_handle.map.
71720
71721 2012-05-15 Roland McGrath <roland@hack.frob.com>
71722
71723 * configure.in (sysnames): Look for Implies-before and Implies-after
71724 files.
71725 * configure: Regenerated.
71726
71727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71728
71729 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71730 8-byte data alignment with LP_SIZE alignment.
71731
71732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71733
71734 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71735 into R10_LP.
71736
71737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71738
71739 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71740
71741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71742
71743 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71744 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71745 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71746 Likewise.
71747 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71748
71749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71750
71751 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71752 (stackinfo_sub_sp): Likewise.
71753
71754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71755
71756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71757 RAX_LP.
71758
71759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71760
71761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71762 into R*_LP.
71763
71764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71765
71766 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71767 sizes into R*_LP.
71768
71769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71770
71771 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71772
71773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71774
71775 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71776 into R11_LP and load __x86_64_shared_cache_size_half into
71777 R8_LP.
71778
71779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71780
71781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71782 R8_LP.
71783
71784 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71785
71786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71787 logb for POWER7.
71788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71789 logbf for POWER7.
71790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71791 logbl for POWER7.
71792 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71793 powerpc32/power7/fpu/s_logb.c via #include.
71794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71795 powerpc32/power7/fpu/s_logbf.c via #include.
71796 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71797 powerpc32/power7/fpu/s_logbl.c via #include.
71798
71799 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71800
71801 * README.libm: Remove file.
71802
71803 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71804
71805 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71806 count for x32. Use R*_LP and omit operand-size suffix.
71807
71808 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71809
71810 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71811 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71812 * sysdeps/x86_64/x32/shlib-versions: New file.
71813
71814 2012-05-14 Roland McGrath <roland@hack.frob.com>
71815
71816 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71817 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71818 Use _dl_fatal_printf instead.
71819
71820 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71821
71822 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71823 set if not set by the user. Do not allow for being unset.
71824 * sysdeps/unix/sysv/linux/configure: Regenerated.
71825
71826 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71827
71828 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71829 the `q' suffix from lea and replace .quad with ASM_ADDR.
71830
71831 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71832
71833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71834 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71835 instead of $17.
71836 (PTR_DEMANGLE): Likewise.
71837
71838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71839
71840 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71841 (LP_OP): Likewise.
71842 (ASM_ADDR): Likewise.
71843 (RAX_LP): Likewise.
71844 (RBP_LP): Likewise.
71845 (RBX_LP): Likewise.
71846 (RCX_LP): Likewise.
71847 (RDI_LP): Likewise.
71848 (RSI_LP): Likewise.
71849 (RSP_LP): Likewise.
71850 (R8_LP): Likewise.
71851 (R9_LP): Likewise.
71852 (R10_LP): Likewise.
71853 (R10_LP): Likewise.
71854 (R11_LP): Likewise.
71855 (R12_LP): Likewise.
71856 (R13_LP): Likewise.
71857 (R14_LP): Likewise.
71858 (R15_LP): Likewise.
71859
71860 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71861
71862 * sysdeps/x86_64/x32/dl-machine.h: New file.
71863
71864 2012-05-14 Andreas Jaeger <aj@suse.de>
71865
71866 * manual/Makefile (subdir): Remove export of subdir.
71867 (all): Remove target.
71868 (.PHONY): Remove all from list.
71869 (mkinstalldirs): Remove.
71870 (.PHONY): Remove installdirs from list.
71871 ($(inst_infodir)/libc.info): Use make-target-directory.
71872 (installdirs): Remove.
71873 (subdir_%): Remove.
71874 (glibc-targets): Remove.
71875 (lib): Remove.
71876 (stubs): Remove.
71877 ($(objpfx)stubs ../po/manual.pot): Remove.
71878 ($(objpfx)stamp%): Remove.
71879 (make-target-directory): Remove.
71880 (subdir_install): Remove.
71881 (routines): Remove.
71882 (aux): Remove.
71883 (sources): Remove.
71884 (objects): Remove.
71885 (headers): Remove.
71886
71887 [BZ #13750]
71888 * manual/.gitignore: Remove, it's not needed anymore.
71889 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71890 all files in it.
71891 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71892 directory.
71893 (texis): Renamed to $(objpfx)texis.
71894 (texis-path): New, contains path to generated files.
71895 (chapters.%): Use texis-path for complete path, add extra argument
71896 libc-texinfo.sh.
71897 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71898 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71899 (summary,texi, stamp-summary): Use complete path of
71900 files. Generate files in build dir.
71901 (dir-add.texi): Build in build dir.
71902 (libm-err.texi,stamp-libm-err): Likewise.
71903 (version.texi, stamp-version): Likewise.
71904 (.%c.texi): Likewise.
71905 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71906 (mostlyclean): Remove target.
71907 (realclean): Remove target.
71908 (generated): Add new variable with contents from mostlyclean and
71909 realclean, remove entries duplicated in common-mostlyclean, add
71910 stamp-libm-err and stamp-version.
71911 (generated-dirs): Add libc directory.
71912 ($(inst_infodir)/libc.info): Install files from build dir.
71913
71914 * manual/install.texi (Configuring and compiling): Adjust since
71915 the info files are not part of the tar ball anymore.
71916
71917 2012-05-14 Andreas Jaeger <aj@suse.de>
71918
71919 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71920 variable.
71921
71922 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71923
71924 [BZ #13717]
71925 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71926 to 2.2.0 where earlier.
71927 * sysdeps/unix/sysv/linux/configure: Regenerated.
71928 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71929 Remove conditional code.
71930 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71931 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71932 Remove conditional code.
71933 [!__NR_lchown]: Likewise.
71934 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71935 [__NR_lchown]: Likewise.
71936 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71937 comment referencing __ASSUME_LCHOWN_SYSCALL.
71938 * sysdeps/unix/sysv/linux/i386/sigaction.c
71939 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71940 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71941 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71942 Remove conditional code.
71943 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71944 (__protocol_available): Remove #if 0 code.
71945 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71946 conditional code.
71947 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71948 * sysdeps/unix/sysv/linux/kernel-features.h
71949 (__ASSUME_GETCWD_SYSCALL): Don't define.
71950 (__ASSUME_REALTIME_SIGNALS): Likewise.
71951 (__ASSUME_PREAD_SYSCALL): Likewise.
71952 (__ASSUME_PWRITE_SYSCALL): Likewise.
71953 (__ASSUME_POLL_SYSCALL): Likewise.
71954 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71955 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71956 non-SPARC.
71957 (__ASSUME_SIOCGIFNAME): Don't define.
71958 (__ASSUME_MSG_NOSIGNAL): Likewise.
71959 (__ASSUME_SENDFILE): Define unconditionally.
71960 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71961 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71962 conditional code.
71963 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71964 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71965 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71966 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71967 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71968 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71969 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71971 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71972 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71974 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71977 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71978 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71983 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71984 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71989 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71990 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71994 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71995 Remove conditional code.
71996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71997 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71998 Remove conditional code.
71999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72000 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72001 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72002 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72003 Remove conditional code.
72004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72005 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72006 Remove conditional code.
72007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72008 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72009 Remove conditional code.
72010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72011 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72012 Remove conditional code.
72013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72014 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72015 Remove conditional code.
72016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72017 * sysdeps/unix/sysv/linux/sh/pwrite64.c
72018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72020 * sysdeps/unix/sysv/linux/sigaction.c
72021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72023 * sysdeps/unix/sysv/linux/sigpending.c
72024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72026 * sysdeps/unix/sysv/linux/sigprocmask.c
72027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72029 * sysdeps/unix/sysv/linux/sigsuspend.c
72030 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72031 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72032 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72033 (__libc_missing_rt_sigs): Remove.
72034 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72035 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72036 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72037 Remove conditional code.
72038 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72039 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72040 return 1.
72041 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72042 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72043 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72044 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72045
72046 2012-05-14 Andreas Jaeger <aj@suse.de>
72047
72048 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72049 it's not used in glibc.
72050 (__coshm1): Likewise.
72051 (__acosh1p): Likewise.
72052 (__sgn): Likewise.
72053
72054 * manual/string.texi (Copying and Concatenation): Add missing
72055 variable in concat example.
72056 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72057
72058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72059
72060 [BZ #14103]
72061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72062 __builtin_clzl with __builtin_clzll.
72063
72064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72065
72066 [BZ #14104]
72067 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72068 libc_freeres_ptr.
72069
72070 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72071
72072 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72073 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72074 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72075 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72076
72077 2012-05-14 Mike Frysinger <vapier@gentoo.org>
72078
72079 * NEWS: Update ia64 info.
72080
72081 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
72082
72083 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72084 used as bcopy.
72085
72086 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
72087
72088 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72089 * sysdeps/unix/syscalls.list (dup3): Likewise.
72090 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72091 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72092
72093 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72094
72095 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72096 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72097
72098 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72099
72100 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72101 thread pointer.
72102 (TLS_IE): Use mov/add instead of movq/addq to load thread
72103 pointer.
72104 (TLS_GD_PREFIX): New.
72105 (TLS_GD): Use it.
72106
72107 2012-05-11 David S. Miller <davem@davemloft.net>
72108
72109 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72110 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72111 (_FPU_SETCW): Likewise.
72112
72113 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72114
72115 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72116 is 32-byte aligned.
72117
72118 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
72119
72120 [BZ #11837]
72121 * iconvdata/gb18030.c: Update tables.
72122 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
72123 characters specially.
72124 (BODY for TO_LOOP): Add encoding of missing ranges.
72125
72126 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
72127
72128 [BZ #13673]
72129 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72130 * sysdeps/mach/hurd/dup3.c: Likewise.
72131 * sysdeps/mach/hurd/readlinkat.c: Likewise.
72132 * sysdeps/powerpc/memmove.c:: Likewise.
72133
72134 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72135
72136 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72137 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72138
72139 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72140
72141 * elf/elf.h (R_X86_64_RELATIVE64): New.
72142 (R_X86_64_NUM): Updated.
72143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72144 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
72145 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72146 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72147 tst-quad1pie tst-quad2pie
72148 (modules-names): Add tst-quadmod1 tst-quadmod2.
72149 ($(objpfx)tst-quad1): New dependency.
72150 ($(objpfx)tst-quad2): Likewise.
72151 ($(objpfx)tst-quad1pie): Likewise.
72152 ($(objpfx)tst-quad2pie): Likewise.
72153 * sysdeps/x86_64/tst-quad1.c: New file.
72154 * sysdeps/x86_64/tst-quad1pie.c: New file.
72155 * sysdeps/x86_64/tst-quad2.c: Likewise.
72156 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72157 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72158 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72159 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72160 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72161
72162 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72163
72164 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72165 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72166 * streams/stropts.h (t_scalar_t): Define type.
72167
72168 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72169 (_PATH_PRESERVE): Set to "/var/lib".
72170 (_PATH_RWHODIR): Set to "/var/spool/rwho".
72171
72172 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72173 instead of int.
72174
72175 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72176 if __dir_mkfile succeeded.
72177
72178 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72179 checking for _hurd_dtablesize. Unlock it right after having
72180 finished _hurd_dtable allocation.
72181
72182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72183
72184 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72185 * sysdeps/mach/hurd/configure: Regenerated.
72186 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72187 special-casing to...
72188 * sysdeps/gnu/configure.in: ... this new file.
72189 * sysdeps/unix/sysv/linux/configure: Regenerated.
72190 * sysdeps/gnu/configure: New generated file.
72191
72192 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72193 for Linux: use nsec instead of usec, as well as:
72194 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72195 members of type struct timespec.
72196 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72197 New macros.
72198 (struct stat64): Likewise.
72199 (_STATBUF_ST_NSEC): New macro.
72200 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72201
72202 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72203 __strtoul_internal rather than strtoul.
72204
72205 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72206
72207 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72208 and reject them.
72209
72210 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72211
72212 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72213 which preserves existing values.
72214 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72215
72216 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72217
72218 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72219 TIMEOUT values. Return EINVAL for NFDS values either negative or
72220 greater than FD_SETSIZE.
72221
72222 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72223
72224 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72225 allocated, call __vm_protect to finish enabling the existing space, and
72226 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72227 allocate the remainder.
72228
72229 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72230
72231 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72232 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
72233
72234 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72235
72236 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72237 sysdeps/mach/hurd/readlink.c.
72238
72239 * posix/tst-sysconf.c (posix_options): Only use
72240 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72241 _POSIX_SYNCHRONIZED_IO when they are defined
72242 * sysdeps/mach/hurd/bits/posix_opt.h:
72243 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72244 (_XOPEN_REALTIME): Undefine macro.
72245 (_XOPEN_REALTIME_THREADS): Undefine macro.
72246 (_XOPEN_SHM): Undefine macro.
72247 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72248 macro to -1.
72249 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72250 macro to -1.
72251 (_POSIX_ASYNC_IO): Undefine macro.
72252 (_POSIX_PRIORITIZED_IO): Undefine macro.
72253 (_POSIX_SPIN_LOCKS): Define macro to -1.
72254
72255 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72256 SA_NODEFER, SA_RESETHAND.
72257 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72258 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72259 F_DUPFD_CLOEXEC.
72260
72261 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72262
72263 * elf/Makefile (pldd-modules): Define unconditionally.
72264
72265 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72266
72267 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72268
72269 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72270
72271 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72272 Return ENOENT when name is empty.
72273 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72274
72275 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72276
72277 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72278
72279 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72280
72281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72282
72283 Fix mlock in all cases except non-readable pages.
72284 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72285 instead of VM_PROT_ALL as parameter to __vm_wire function.
72286
72287 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72288 (__mkdir): When path is `/', just fail with EEXIST.
72289 * sysdeps/mach/hurd/mkdirat.c: Likewise.
72290
72291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72292
72293 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72294 <sys/uio.h> (for writev).
72295 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72296 and <sys/param.h> (for MIN).
72297
72298 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72299
72300 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72301 REQUESTED_TIME. Properly set the remaining time and return EINTR
72302 if interrupted.
72303
72304 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72305
72306 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72307 Depend on against $(link-rpcuserlibs).
72308
72309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72310
72311 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72312 (__libc_stack_end): Do not use attribute_relro.
72313 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72314 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72315 to libthread-provided value.
72316 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72317 attribute_relro.
72318
72319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72320
72321 [BZ #3748]
72322 * bits/libc-lock.h (__libc_once_get): New macro.
72323 * sysdeps/mach/bits/libc-lock.h: Likewise.
72324 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72326 instead of using implementation details.
72327
72328 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72329 * libio/freopen.c: Likewise.
72330 * libio/freopen64.c: Likewise.
72331 * misc/syslog.c: Likewise.
72332 * nscd/connections.c: Likewise.
72333 * nscd/netgroupcache.c: Likewise.
72334 * sysdeps/posix/getcwd.c: Likewise.
72335
72336 2012-05-10 Roland McGrath <roland@hack.frob.com>
72337
72338 * math/w_ilogbf.c: Add #include <limits.h>.
72339
72340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72341
72342 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72343 path instead of returning without unlocking.
72344
72345 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72346 immediate-write ioctls.
72347 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72348
72349 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72350
72351 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72352 __builtin_frame_address instead of making assumptions about the
72353 location of the return address relative to DATA. Force early load of
72354 the return address.
72355 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72356 __builtin_frame_address.
72357
72358 dup3 for GNU Hurd.
72359 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72360 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72361 implement dup3 and do some further code clean-ups.
72362 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72363 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72364
72365 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72366
72367 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72368
72369 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72370 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72371 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72372 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72373 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72374 d->port.lock.
72375
72376 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72377 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72378 when handler == SIG_ERR, not when handler != SIG_ERR.
72379
72380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72381
72382 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72383 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72384 definitions.
72385
72386 accept4 for GNU Hurd.
72387 * include/sys/socket.h (__libc_accept4): New prototype.
72388 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72389 to implement __libc_accept4.
72390 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72391 __libc_accept4.
72392 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72393
72394 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72395 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72396 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72397 signal-defines.sym.
72398
72399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72400
72401 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72402
72403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72404
72405 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72406 assertion on O_CLOEXEC flag.
72407 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72408 * hurd/intern-fd.c: Likewise.
72409 * hurd/port2fd.c: Likewise.
72410
72411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72412
72413 [BZ #3906]
72414 * bits/in.h (IPV6_PKTINFO): Define new macro.
72415 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72416
72417 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72418
72419 [BZ #13954]
72420 [BZ #13955]
72421 [BZ #13956]
72422 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72424 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72425 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72428 * math/libm-test.inc (logb_test) : Additional logb tests.
72429
72430 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72431 Andreas Jaeger <aj@suse.de>
72432
72433 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72434 * configure: Regenerated.
72435 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72436 * config.make.in (link-obsolete-rpc): New substituted variable.
72437 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72438 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72439 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72440 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72441 so that libc.a contains the symbols.
72442 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72443 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72444 * sunrpc/auth_none.c: Likewise.
72445 * sunrpc/auth_unix.c: Likewise.
72446 * sunrpc/authdes_prot.c: Likewise.
72447 * sunrpc/authuxprot.c: Likewise.
72448 * sunrpc/clnt_gen.c: Likewise.
72449 * sunrpc/clnt_perr.c: Likewise.
72450 * sunrpc/clnt_raw.c: Likewise.
72451 * sunrpc/clnt_simp.c: Likewise.
72452 * sunrpc/clnt_tcp.c: Likewise.
72453 * sunrpc/clnt_udp.c: Likewise.
72454 * sunrpc/clnt_unix.c: Likewise.
72455 * sunrpc/des_crypt.c: Likewise.
72456 * sunrpc/des_soft.c: Likewise.
72457 * sunrpc/get_myaddr.c: Likewise.
72458 * sunrpc/key_call.c: Likewise.
72459 * sunrpc/key_prot.c: Likewise.
72460 * sunrpc/netname.c: Likewise.
72461 * sunrpc/pm_getmaps.c: Likewise.
72462 * sunrpc/pm_getport.c: Likewise.
72463 * sunrpc/pmap_clnt.c: Likewise.
72464 * sunrpc/pmap_prot.c: Likewise.
72465 * sunrpc/pmap_prot2.c: Likewise.
72466 * sunrpc/pmap_rmt.c: Likewise.
72467 * sunrpc/publickey.c: Likewise.
72468 * sunrpc/rpc_cmsg.c: Likewise.
72469 * sunrpc/rpc_common.c: Likewise.
72470 * sunrpc/rpc_dtable.c: Likewise.
72471 * sunrpc/rpc_prot.c: Likewise.
72472 * sunrpc/rpc_thread.c: Likewise.
72473 * sunrpc/rtime.c: Likewise.
72474 * sunrpc/svc.c: Likewise.
72475 * sunrpc/svc_auth.c: Likewise.
72476 * sunrpc/svc_raw.c: Likewise.
72477 * sunrpc/svc_run.c: Likewise.
72478 * sunrpc/svc_tcp.c: Likewise.
72479 * sunrpc/svc_udp.c: Likewise.
72480 * sunrpc/svc_unix.c: Likewise.
72481 * sunrpc/svcauth_des.c: Likewise.
72482 * sunrpc/xcrypt.c: Likewise.
72483 * sunrpc/xdr.c: Likewise.
72484 * sunrpc/xdr_array.c: Likewise.
72485 * sunrpc/xdr_float.c: Likewise.
72486 * sunrpc/xdr_intXX_t.c: Likewise.
72487 * sunrpc/xdr_mem.c: Likewise.
72488 * sunrpc/xdr_rec.c: Likewise.
72489 * sunrpc/xdr_ref.c: Likewise.
72490 * sunrpc/xdr_sizeof.c: Likewise.
72491 * sunrpc/xdr_stdio.c: Likewise.
72492
72493 2012-05-10 Roland McGrath <roland@hack.frob.com>
72494
72495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72496 change. Update copyright years.
72497
72498 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72499
72500 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72501
72502 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72503 Joseph Myers <joseph@codesourcery.com>
72504 Paul Pluzhnikov <ppluzhnikov@google.com>
72505
72506 [BZ #14012]
72507 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72508 requiring rpcgen.
72509 [cross-compiling] (extra-libs): Likewise.
72510 [cross-compiling] (extra-libs-others): Likewise.
72511 [cross-compiling] (librpcsvc-routines): Likewise.
72512 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72513 [cross-compiling] (omit-deps): Likewise.
72514 (sunrpc-CPPFLAGS): New variable.
72515 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72516 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72517 (cross-rpcgen-objs): New variable.
72518 (extra-objs): Append $(cross-rpcgen-objs).
72519 ($(cross-rpcgen-objs)): New rule.
72520 ($(objpfx)cross-rpcgen): Likewise.
72521 (rpcgen-cmd): Define to use $(built-program-file). Expand
72522 comment.
72523 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72524 ($(objpfx)x%.stmp): Likewise.
72525 * sunrpc/proto.h [IS_IN_build] (_): Define.
72526 [IS_IN_build] (_libc_intl_domainname): Likewise.
72527
72528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72529
72530 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72531 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72532 and R_X86_64_TPOFF64.
72533
72534 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72535
72536 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72537 sysdeps/unix/sysv/syscalls.list.
72538 (stime): Likewise.
72539 (utime): Likewise.
72540 * sysdeps/unix/sysv/syscalls.list: Remove file.
72541
72542 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72543
72544 [BZ #3440]
72545 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72546 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72547 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72548 (__LC_IDENTIFICATION): Make these macros useful in #if
72549 expressions, as required by C99.
72550
72551 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72552
72553 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72554 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72555 after this.
72556
72557 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72558
72559 * stdlib/longlong.h: Updated from GCC.
72560
72561 2012-05-09 Andreas Jaeger <aj@suse.de>
72562
72563 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72564 default is first entry.
72565 (run_mode): Set type.
72566 (main): Remove informal message about syslog.
72567 (options): Fix typo.
72568
72569 [BZ #14053]
72570 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72571 to asm.
72572 (lrint): Likewise.
72573 (llrintf): Likewise.
72574 (llrint): Likewise.
72575 (rint): Likewise.
72576 (rintf): Likewise.
72577 (nearbyint): Likewise.
72578 (nearbyintf): Likewise.
72579
72580 2012-05-09 Andreas Jaeger <aj@suse.de>
72581 Pedro Alves <palves@redhat.com>
72582
72583 * nscd/nscd.c (run_mode): Use enum.
72584 (main): Cleanup coding style issue.
72585
72586 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72587 Andreas Jaeger <aj@suse.de>
72588
72589 * nscd/nscd.c (go_background): Replaced with...
72590 (run_mode): ... this.
72591 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72592 (options): Add -F --foreground.
72593 (main): Implement it.
72594 (parse_opt): Parse it.
72595
72596 2012-05-09 Andreas Jaeger <aj@suse.de>
72597
72598 [BZ #14083]
72599 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72600 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72601 -Wconversion warning.
72602 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72603 Likewise.
72604
72605 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72606
72607 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72608 == 0.
72609 (LC_ALL): Use macro-int-constant.
72610 (LC_COLLATE): Likewise.
72611 (LC_CTYPE): Likewise.
72612 (LC_MESSAGES): Likewise.
72613 (LC_MONETARY): Likewise.
72614 (LC_NUMERIC): Likewise.
72615 (LC_TIME): Likewise.
72616 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72617 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72619 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72620 Specify type.
72621 [C99-based standards] (float_t): Expect type.
72622 [C99-based standards] (double_t): Expect type.
72623 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72624 type.
72625 [C99-based standards] (HUGE_VALL): Likewise.
72626 [C99-based standards] (INFINITY): Likewise.
72627 [C99-based standards] (NAN): Likewise.
72628 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72629 [C99-based standards] (FP_NAN): Likewise.
72630 [C99-based standards] (FP_NORMAL): Likewise.
72631 [C99-based standards] (FP_SUBNORMAL): Likewise.
72632 [C99-based standards] (FP_ZERO): Likewise.
72633 [C99-based standards] (FP_FAST_FMA): Use
72634 optional-macro-int-constant. Specify type. Require == 1.
72635 [C99-based standards] (FP_FAST_FMAF): Likewise.
72636 [C99-based standards] (FP_FAST_FMAL): Likewise.
72637 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72638 [C99-based standards] (FP_ILOGBNAN): Likewise.
72639 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72640 Specify type.
72641 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72642 [C99-based standards] (math_errhandling): Specify type.
72643 [ISO99 || ISO11] (signgam): Do not allow.
72644 [non-C99-based standards] (copysignf): Do not allow.
72645 [non-C99-based standards] (exp2f): Likewise.
72646 [non-C99-based standards] (log2f): Likewise.
72647 [non-C99-based standards] (modff): Allow.
72648 [non-C99-based standards] (erff): Do not allow.
72649 [non-C99-based standards] (erfcf): Likewise.
72650 [non-C99-based standards] (gammaf): Likewise.
72651 [non-C99-based standards] (hypotf): Likewise.
72652 [non-C99-based standards] (j0f): Likewise.
72653 [non-C99-based standards] (j1f): Likewise.
72654 [non-C99-based standards] (jnf): Likewise.
72655 [non-C99-based standards] (lgammaf): Likewise.
72656 [non-C99-based standards] (tgammaf): Likewise.
72657 [non-C99-based standards] (y0f): Likewise.
72658 [non-C99-based standards] (y1f): Likewise.
72659 [non-C99-based standards] (ynf): Likewise.
72660 [non-C99-based standards] (isnanf): Likewise.
72661 [non-C99-based standards] (acoshf): Likewise.
72662 [non-C99-based standards] (asinhf): Likewise.
72663 [non-C99-based standards] (atanhf): Likewise.
72664 [non-C99-based standards] (cbrtf): Likewise.
72665 [non-C99-based standards] (expm1f): Likewise.
72666 [non-C99-based standards] (ilogbf): Likewise.
72667 [non-C99-based standards] (log1pf): Likewise.
72668 [non-C99-based standards] (logbf): Likewise.
72669 [non-C99-based standards] (nextafterf): Likewise.
72670 [non-C99-based standards] (remainderf): Likewise.
72671 [non-C99-based standards] (rintf): Likewise.
72672 [non-C99-based standards] (scalbf): Likewise.
72673 [non-C99-based standards] (copysignl): Likewise.
72674 [non-C99-based standards] (exp2l): Likewise.
72675 [non-C99-based standards] (log2l): Likewise.
72676 [non-C99-based standards] (modfl): Allow.
72677 [non-C99-based standards] (erfl): Do not allow.
72678 [non-C99-based standards] (erfcl): Likewise.
72679 [non-C99-based standards] (gammal): Likewise.
72680 [non-C99-based standards] (hypotl): Likewise.
72681 [non-C99-based standards] (j0l): Likewise.
72682 [non-C99-based standards] (j1l): Likewise.
72683 [non-C99-based standards] (jnl): Likewise.
72684 [non-C99-based standards] (lgammal): Likewise.
72685 [non-C99-based standards] (tgammal): Likewise.
72686 [non-C99-based standards] (y0l): Likewise.
72687 [non-C99-based standards] (y1l): Likewise.
72688 [non-C99-based standards] (ynl): Likewise.
72689 [non-C99-based standards] (isnanl): Likewise.
72690 [non-C99-based standards] (acoshl): Likewise.
72691 [non-C99-based standards] (asinhl): Likewise.
72692 [non-C99-based standards] (atanhl): Likewise.
72693 [non-C99-based standards] (cbrtl): Likewise.
72694 [non-C99-based standards] (expm1l): Likewise.
72695 [non-C99-based standards] (ilogbl): Likewise.
72696 [non-C99-based standards] (log1pl): Likewise.
72697 [non-C99-based standards] (logbl): Likewise.
72698 [non-C99-based standards] (nextafterl): Likewise.
72699 [non-C99-based standards] (remainderl): Likewise.
72700 [non-C99-based standards] (rintl): Likewise.
72701 [non-C99-based standards] (scalbl): Likewise.
72702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72703 [non-C99-based standards] (FP_*): Do not allow.
72704 [C99-based standards] (FP_*): Change to
72705 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72706 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72707 allow.
72708 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72709 (SIG_ERR): Likewise.
72710 [X/Open-based standards] (SIG_HOLD): Likewise.
72711 (SIG_IGN): Likewise.
72712 (SIGABRT): Use macro-int-constant. Specify type. Require
72713 positive value.
72714 (SIGFPE): Likewise.
72715 (SIGILL): Likewise.
72716 (SIGINT): Likewise.
72717 (SIGSEGV): Likewise.
72718 (SIGTER): Likewise.
72719 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72720 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72721 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72722 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72723 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72724 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72725 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72726 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72727 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72728 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72729 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72730 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72731 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72732 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72733 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72734 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72735 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72736 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72737 [X/Open-based standards] (SIGTRAP): Likewise.
72738 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72739 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72740 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72741 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72742 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72743 allow.
72744
72745 2012-05-08 Ian Wienand <ianw@vmware.com>
72746
72747 [BZ #14080]
72748 * time/tzset.c (__tzset_parse_tz): Update default rules for
72749 daylight time changes in the Energy Policy Act of 2005.
72750
72751 2012-05-09 Andreas Jaeger <aj@suse.de>
72752
72753 [BZ #13983]
72754 * elf/ldconfig.c (parse_conf): Change string to make clear that
72755 ldconfig only issued a warning if ld.so.conf does not exist.
72756
72757 2012-05-08 David S. Miller <davem@davemloft.net>
72758
72759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72760 movxtod instead of popping the value on the stack.
72761
72762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72763
72764 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72765
72766 * config.h.in: Add HAVE_ARM_PCS_VFP.
72767
72768 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72769
72770 [BZ #13979]
72771 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72772 checking but the checks are disabled for any reason.
72773
72774 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72775
72776 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72777 and ELF64_R_TYPE with ELFW(R_TYPE).
72778
72779 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72780
72781 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72782 (ulimit): Likewise.
72783
72784 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72785 (settimeofday): Likewise.
72786
72787 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72788
72789 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72790 a struct th_u2 inside the union, and move tu_block/tu_code into
72791 a new th_u3 union of tu_block/tu_code inside of that. Move
72792 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72793 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72794 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72795 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72796 (th_stuff): Change to th_u1.tu_stuff.
72797 (th_data): Define.
72798 (th_msg): Change to th_u1.th_u2.tu_data.
72799
72800 2012-05-07 David S. Miller <davem@davemloft.net>
72801
72802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72803
72804 [BZ #14074]
72805 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72806 (SETUP_PIC_REG): Use it.
72807 (SETUP_PIC_REG_LEAF): Use it.
72808
72809 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72810
72811 [BZ #13885]
72812 [BZ #13923]
72813 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72814 USE_AS_EXPM1L.
72815 (EXPL_FINITE): Likewise.
72816 (FLDLOG): Likewise.
72817 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72818 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72819 e_expl.S.
72820 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72821 USE_AS_EXPM1L.
72822 (EXPL_FINITE): Likewise.
72823 (FLDLOG): Likewise.
72824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72825 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72826 e_expl.S.
72827 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72828 test of -max_value argument for long double.
72829 * sysdeps/i386/fpu/libm-test-ulps: Update.
72830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72831
72832 2012-05-06 David S. Miller <davem@davemloft.net>
72833
72834 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72835 quad soft-float symbols whose references which are compiler
72836 generated.
72837 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72838
72839 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72840
72841 [BZ #13884]
72842 [BZ #13914]
72843 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72844 USE_AS_EXP10L.
72845 (EXPL_FINITE): Likewise.
72846 (FLDLOG): Likewise.
72847 (c0): Likewise.
72848 (c1): Likewise.
72849 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72850 Adjust comments for base varying.
72851 (__expl_finite): Change alias to EXPL_FINITE.
72852 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72853 e_expl.S.
72854 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72855 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72856 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72857 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72858 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72859 USE_AS_EXP10L.
72860 (EXPL_FINITE): Likewise.
72861 (FLDLOG): Likewise.
72862 (c0): Likewise.
72863 (c1): Likewise.
72864 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72865 Adjust comments for base varying.
72866 (__expl_finite): Change alias to EXPL_FINITE.
72867 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72868 tests for bugs.
72869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72870
72871 [BZ #14064]
72872 * math/libm-test.inc (check_float_internal): Correct ulp
72873 calculation for subnormal expected results.
72874
72875 2012-05-06 Andreas Jaeger <aj@suse.de>
72876
72877 * Makeconfig (+math-flags): New, set to -frounding-math.
72878 (+cflags): Add +math-flags so that all of glibc gets compiled with
72879 it.
72880
72881 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72882
72883 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72884
72885 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72886 Disable one test.
72887
72888 [BZ #13787]
72889 [BZ #13922]
72890 [BZ #14036]
72891 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72892 (__ieee754_expl): Allow for and saturate large arguments.
72893 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72894 (u_threshold): Likewise.
72895 (__exp): Call __ieee754_exp before checking for overflow and
72896 underflow.
72897 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72898 (u_threshold): Likewise.
72899 (__expf): Call __ieee754_expf before checking for overflow and
72900 underflow.
72901 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72902 (u_threshold): Likewise.
72903 (__expl): Call __ieee754_expl before checking for overflow and
72904 underflow.
72905 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72906 (__ieee754_expl): Allow for and saturate large arguments.
72907 * math/libm-test.inc (exp_test): Add another test. Do not allow
72908 missing overflow exception on overflow.
72909 (expm1_test): Do not allow missing overflow exception on overflow.
72910
72911 * sysdeps/i386/fpu/e_expl.c: Move to ...
72912 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72913 rather than using inline asm.
72914 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72915 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72916 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72917
72918 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72919 (nice): Likewise.
72920 (poll): Likewise.
72921 (signal): Likewise.
72922 (time): Likewise.
72923 (times): Likewise.
72924
72925 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72926
72927 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72928 sysdeps/unix/common/syscalls.list.
72929 (fchmod): Likewise.
72930 (fchown): Likewise.
72931 (ftruncate): Likewise.
72932 (getrusage): Likewise.
72933 (gettimeofday): Likewise.
72934 (setpgid): Likewise.
72935 (setregid): Likewise.
72936 (setreuid): Likewise.
72937 (sigaction): Likewise.
72938 (truncate): Likewise.
72939 (vhangup): Likewise.
72940 * sysdeps/unix/common/syscalls.list: Remove file.
72941 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72942 * sysdeps/unix/sysv/linux/Implies: Likewise.
72943
72944 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72945
72946 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72948 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72949 Moved to ...
72950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72951 Here.
72952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72953 to ...
72954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72956 to ...
72957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72958 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72959 to ...
72960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72961 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72962 to ...
72963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72964 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72965 to ...
72966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72967 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72968 to ...
72969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72970 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72971 to ...
72972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72973 Here.
72974 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72975 to ...
72976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72977 Here.
72978 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72979 to ...
72980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72981 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72982 Moved to ...
72983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72984 Here.
72985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72986 to ...
72987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72988
72989 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72990
72991 * sysdeps/unix/common/bits/dirent.h: Remove file.
72992 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72993
72994 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72995 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72996 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72997 * sysdeps/unix/bsd/isatty.c: Likewise.
72998 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72999 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73000 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73001
73002 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73003
73004 [BZ #13563]
73005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73006 long double comparison inaccuracies.
73007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73009
73010 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
73011
73012 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73013 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73014
73015 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73016
73017 [BZ #14049]
73018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73019 nonzero digits before rounding a hex value.
73020 * stdlib/tst-strtod.c (tests): Add another test.
73021
73022 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73023
73024 * sysdeps/s390/fpu/libm-test-ulps: Update.
73025
73026 2012-05-03 Andreas Jaeger <aj@suse.de>
73027
73028 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73029 does not get optimized out.
73030 (malloc_opt_barrier): New.
73031
73032 2012-05-03 Andreas Jaeger <aj@suse.de>
73033 Roland McGrath <roland@hack.frob.com>
73034
73035 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73036 intermediate file deletion.
73037 (generated): Add .symlist files.
73038
73039 2012-05-03 Joseph Myers <joseph@codesourcery.com>
73040
73041 [BZ #13775]
73042 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73043 Redirect under this condition.
73044 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73045 [__USE_GNU] (__dprintf_chk): Not under this condition.
73046 [__USE_GNU] (__vdprintf_chk): Likewise.
73047 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73048 under this condition.
73049 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73050 [__USE_XOPEN2K8] (dprintf): Define under this condition.
73051 [__USE_XOPEN2K8] (vdprintf): Likewise.
73052 [__USE_GNU] (__dprintf_chk): Not under this condition.
73053 [__USE_GNU] (__vdprintf_chk): Likewise.
73054 [__USE_GNU] (dprintf): Likewise.
73055 [__USE_GNU] (vdprintf): Likewise.
73056
73057 2012-05-03 Roland McGrath <roland@hack.frob.com>
73058
73059 * elf/Makefile (common-generated): Set this instead of generated for
73060 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
73061 $(all-built-dso)-derived lists.
73062
73063 2012-05-03 Andreas Jaeger <aj@suse.de>
73064
73065 * sysdeps/i386/fpu/libm-test-ulps: Update.
73066
73067 * FAQ: Removed.
73068 * FAQ.in: Likewise.
73069 * scripts/gen-FAQ.pl: Likewise.
73070 * manual/install.texi (Installation): Point to online location of
73071 FAQ.
73072 * Makefile (files-for-dist): Remove FAQ.
73073 (FAQ): Remove.
73074
73075 2012-05-02 Allan McRae <allan@archlinux.org>
73076
73077 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73078 (LDFLAGS-reldepmod5.so): Likewise.
73079 (LDFLAGS-reldep6mod1.so): Likewise.
73080 (LDFLAGS-reldep6mod4.so): Likewise.
73081 (LDFLAGS-reldep8mod3.so): Likewise.
73082 (LDFLAGS-unload4mod1.so): Likewise.
73083 (LDFLAGS-unload4mod2.so): Likewise.
73084 (LDFLAGS-tst-initorder): Likewise.
73085 (LDFLAGS-tst-initordera2.so): Likewise.
73086 (LDFLAGS-tst-initordera3.so): Likewise.
73087 (LDFLAGS-tst-initordera4.so): Likewise.
73088 (LDFLAGS-tst-initorderb2.so): Likewise.
73089 (LDFLAGS-noload): Likewise.
73090 (LDFLAGS-next): Likewise.
73091 (LDFLAGS-order2mod1.so): Likewise.
73092 (LDFLAGS-order2mod2.so): Likewise.
73093 (LDFLAGS-tst-initorder2): Likewise.
73094 (LDFLAGS-tst-initorder2a.so): Likewise.
73095 (LDFLAGS-tst-initorder2b.so): Likewise.
73096 (LDFLAGS-tst-initorder2c.so): Likewise.
73097 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73098
73099 2012-05-02 David S. Miller <davem@davemloft.net>
73100
73101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73102
73103 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
73104
73105 [BZ #14055]
73106 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73107
73108 2012-05-02 Andreas Jaeger <aj@suse.de>
73109
73110 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73111 since we manipulate rounding mode.
73112 (CPPFLAGS-test-idouble.c): Likewise.
73113 (CPPFLAGS-test-ifloat.c): Likewise.
73114 (CFLAGS-test-ldouble.c): Likewise.
73115 (CFLAGS-test-double.c): Likewise.
73116 (CFLAGS-test-float.c): Likewise.
73117 (CFLAGS-test-misc.c): Likewise.
73118 (CFLAGS-test-test-fenv.c): Likewise.
73119
73120 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73121
73122 [BZ #2550]
73123 [BZ #2570]
73124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73125 comparisons to determine direction to adjust input.
73126
73127 2012-05-01 Roland McGrath <roland@hack.frob.com>
73128
73129 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73130 output to the target.
73131
73132 * scripts/localplt.awk: New file.
73133 * elf/Makefile ($(objpfx)check-localplt): Target removed.
73134 (check-localplt-CFLAGS): Variable removed.
73135 ($(all-built-dso:=.jmprel)): New static pattern rule.
73136 (generated): Add those targets.
73137 (localplt-built-dso): New variable.
73138 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73139
73140 * elf/check-localplt.c: File removed.
73141
73142 * scripts/check-execstack.awk: New file.
73143 * elf/Makefile ($(objpfx)check-execstack): Target removed.
73144 (check-execstack-CFLAGS): Variable removed.
73145 ($(objpfx)check-execstack.h): Target removed.
73146 ($(objpfx)execstack-default): New target.
73147 (generated): Add that instead of check-execstack.h.
73148 ($(all-built-dso:=.phdr)): New static pattern rule.
73149 (generated): Add those targets.
73150 * elf/check-execstack.c: File removed.
73151
73152 * scripts/check-textrel.awk: New file.
73153 * elf/Makefile ($(objpfx)check-textrel): Target removed.
73154 (check-textrel-CFLAGS): Variable removed.
73155 (all-built-dso): Use := to define.o
73156 ($(all-built-dso:=.dyn)): New static pattern rule.
73157 (generated): Add those targets.
73158 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73159 * config.make.in (READELF): New substituted variable.
73160 * elf/check-textrel.c: File removed.
73161
73162 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73163
73164 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73165 allow.
73166 * conform/data/ctype.h-data [C99-based standards] (isblank):
73167 Expect function.
73168 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73169 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73171 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73172 Specify type. Require positive value.
73173 (EILSEQ): Likewise.
73174 (ERANGE): Likewise.
73175 [ISO || POSIX] (EILSEQ): Do not expect.
73176 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73177 Specify type. Require positive value.
73178 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73179 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73180 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73181 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73182 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73183 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73184 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73185 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73186 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73187 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73188 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73189 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73190 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73191 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73192 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73193 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73194 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73195 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73196 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73197 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73198 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73199 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73200 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73201 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73202 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73203 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73204 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73205 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73206 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73207 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73208 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73209 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73210 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73211 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73212 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73213 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73214 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73215 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73216 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73217 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73218 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73219 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73220 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73221 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73222 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73223 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73224 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73225 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73226 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73227 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73228 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73229 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73230 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73231 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73232 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73233 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73234 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73235 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73236 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73237 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73238 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73239 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73240 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73241 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73242 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73243 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73244 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73245 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73246 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73247 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73248 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73249 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73250 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73251 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73252 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73253 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73254 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73255 Require >= 2.
73256 (FLT_ROUNDS): Expect as macro, not constant.
73257 (FLT_MANT_DIG): Use macro-int-constant.
73258 (DBL_MANT_DIG): Likewise.
73259 (LDBL_MANT_DIG): Likewise.
73260 (FLT_DIG): Likewise.
73261 (DBL_DIG): Likewise.
73262 (LDBL_DIG): Likewise.
73263 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
73264 (DBL_MIN_EXP): Likewise.
73265 (LDBL_MIN_EXP): Likewise.
73266 (FLT_MAX_EXP): Use macro-int-constant.
73267 (DBL_MAX_EXP): Likewise.
73268 (LDBL_MAX_EXP): Likewise.
73269 (FLT_MAX_10_EXP): Likewise.
73270 (DBL_MAX_10_EXP): Likewise.
73271 (LDBL_MAX_10_EXP): Likewise.
73272 (FLT_MAX): Use macro-constant.
73273 (DBL_MAX): Likewise.
73274 (LDBL_MAX): Likewise.
73275 (FLT_EPSILON): Use macro-constant. Give upper bound.
73276 (DBL_EPSILON): Likewise.
73277 (LDBL_EPSILON): Likewise.
73278 (FLT_MIN): Likewise.
73279 (DBL_MIN): Likewise.
73280 (LDBL_MIN): Likewise.
73281 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73282 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73283 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73284 [ISO11] (FLT_HAS_SUBNORM): Likewise.
73285 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73286 [ISO11] (DBL_DECIMAL_DIG): Likewise.
73287 [ISO11] (FLT_DECIMAL_DIG): Likewise.
73288 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73289 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73290 [ISO11] (FLT_TRUE_MIN): Likewise.
73291 [ISO11] (LDBL_TRUE_MIN): Likewise.
73292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73293 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73294 (SCHAR_MIN): Use macro-int-constant. Specify type.
73295 (SCHAR_MAX): Likewise.
73296 (UCHAR_MAX): Likewise.
73297 (CHAR_MIN): Likewise.
73298 (CHAR_MAX): Likewise.
73299 (MB_LEN_MAX): Use macro-int-constant.
73300 (SHRT_MIN): Use macro-int-constant. Specify type.
73301 (SHRT_MAX): Likewise.
73302 (USHRT_MAX): Likewise.
73303 (INT_MAX): Likewise.
73304 (INT_MIN): Use macro-int-constant. Specify type. Make upper
73305 bound negative.
73306 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
73307 bound with "U".
73308 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73309 bound with "L".
73310 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
73311 bound negative. Suffix upper bound with "L".
73312 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73313 bound with "UL".
73314 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73315 Specify type.
73316 [C99-based standards] (LLONG_MAX): Likewise.
73317 [C99-based standards] (ULLONG_MAX): Likewise.
73318 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73319 == 0.
73320 [ISO11] (max_align_t): Require type.
73321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73322
73323 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73324 from $CFLAGS, without defining away __attribute__ calls.
73325 (checknamespace): Use $CFLAGS_namespace.
73326
73327 * conform/conformtest.pl (@keywords): Only include C99 keywords
73328 for standards based on C99 or C11.
73329
73330 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73331 Disable tests.
73332 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73333 UNIX98]: Likewise.
73334
73335 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73336 usability of symbols in #if.
73337
73338 * conform/conformtest.pl: If macro or constant types start
73339 "promoted:", expect the symbol to be of the following type
73340 promoted by the integer promotions.
73341
73342 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73343 in one place. Also handle "macro-constant".
73344
73345 * conform/conformtest.pl: Only accept expected macro values with
73346 "==". Parse all "macro" lines in one place.
73347 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73348
73349 * conform/conformtest.pl: Handle braced types on "constant" lines
73350 instead of handling "typed-constant".
73351 * conform/data/signal.h-data: Use "constant" instead of
73352 "typed-constant".
73353
73354 * conform/conformtest.pl: Handle "optional-" at start of lines in
73355 one place rather than duplicating several cases. Handle each
73356 format of "macro" line with initial "optional-".
73357
73358 * conform/conformtest.pl: Only accept expected constant or
73359 optional-constant values with "==". Parse all "constant" lines in
73360 one place. Parse all "optional-constant" lines in one place.
73361 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73362 * conform/data/fmtmsg.h-data: Likewise.
73363 * conform/data/netinet/in.h-data: Likewise.
73364 * conform/data/tar.h-data: Likewise.
73365 * conform/data/limits.h-data: Use "==" form on "constant" and
73366 "optional-constant" lines.
73367
73368 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73369 Use -std=c99 for XOPEN2K.
73370 (@knownproblems): Remove.
73371 (newtoken): Don't check %isknown.
73372
73373 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73374 Do not expect macro.
73375 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73376 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73377 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73378 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73379 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73380 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73381 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73382 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73383 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73384 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73385 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73386 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73387 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73388 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73389 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73390 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73391 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73392 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73393 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73394 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73395 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73396 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73397 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73398 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73399 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73400 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73401 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73402 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73403 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73404 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73405 [XPG3] (acosh): Likewise.
73406 [XPG3] (asinh): Likewise.
73407 [XPG3] (atanh): Likewise.
73408 [XPG3] (cbrt): Likewise.
73409 [XPG3] (expm1): Likewise.
73410 [XPG3] (ilogb): Likewise.
73411 [XPG3] (log1p): Likewise.
73412 [XPG3] (logb): Likewise.
73413 [XPG3] (nextafter): Likewise.
73414 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73415 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73416 [XPG3] (remainder): Likewise.
73417 [XPG3] (rint): Likewise.
73418 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73419 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73420 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73421 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73422 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73423 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73424 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73425 [UNIX98 || XOPEN2K] (scalb): Expect.
73426 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73427 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73428 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73429 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73430 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73431 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73432 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73433 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73434 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73435 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73436 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73437 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73438 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73439 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73440 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73441 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73442 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73443 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73444 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73445 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73446 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73447 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73448 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73449 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73450 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73451 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73452 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73453 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73454 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73455 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73456 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73457 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73458 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73459 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73460 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73461 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73462 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73463 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73464 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73465 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73466 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73467 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73468 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73469 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73470 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73471 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73472 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73473 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73474 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73475 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73476 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73477 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73478 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73479 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73480 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73481 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73482 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73483 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73484 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73485 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73486 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73487 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73488 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73489 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73490 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73491 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73492 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73493 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73494 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73495 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73496 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73497 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73498 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73499 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73500 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73501 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73502 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73503 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73504 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73505 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73506 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73507 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73508 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73509 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73510 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73511 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73512 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73513 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73514 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73515 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73516 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73517 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73518 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73519 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73520 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73521 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73522 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73523 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73524 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73525 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73526 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73527 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73528 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73529 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73530 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73531 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73532 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73533 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73534 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73535 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73536 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73537 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73538 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73539 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73540 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73541 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73542 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73543 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73544 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73545 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73546 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73547 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73548 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73549 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73550 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73551 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73552 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73553 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73554 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73555 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73556 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73557 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73558 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73559 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73560 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73561 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73562 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73563
73564 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73565 _XOPEN_SOURCE_EXTENDED for XPG4.
73566
73567 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73568
73569 * Makeconfig (localtime): Remove variable.
73570 (inst_localtime-file): Likewise.
73571
73572 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73573
73574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73575 Update.
73576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73577 Update.
73578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73579 Update.
73580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73581 Update.
73582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73583 Update.
73584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73585 Update.
73586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73587 Update.
73588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73589 Update.
73590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73591 Update.
73592
73593 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73594
73595 [BZ #2550]
73596 [BZ #2570]
73597 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73598 comparisons to determine direction to adjust input.
73599 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73600 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73601 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73602 Likewise.
73603 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73604 Likewise.
73605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73606 Likewise.
73607 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73608 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73609 Likewise.
73610 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73611 Likewise.
73612 * math/libm-test.inc (nexttoward_test): Add more tests.
73613
73614 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73615
73616 [BZ #14040]
73617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73618 in version GLIBC_2.1, not GLIBC_2.0.
73619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73620 Likewise.
73621
73622 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73623
73624 [BZ #13942]
73625 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73626 (1 - x) * (1 + x).
73627 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73628 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73629 * math/libm-test.inc (acos_test): Add more tests.
73630 (asin_test): Likewise.
73631 * sysdeps/i386/fpu/libm-test-ulps: Update.
73632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73633
73634 [BZ #14034]
73635 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73636 of square root.
73637 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73638 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73639 * math/libm-test.inc (acos_test_tonearest): New function.
73640 (acos_test_towardzero): Likewise.
73641 (acos_test_downward): Likewise.
73642 (acos_test_upward): Likewise.
73643 (asin_test_tonearest): Likewise.
73644 (asin_test_towardzero): Likewise.
73645 (asin_test_downward): Likewise.
73646 (asin_test_upward): Likewise.
73647 (main): Call the new functions.
73648 * sysdeps/i386/fpu/libm-test-ulps: Update.
73649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73650
73651 [BZ #13884]
73652 [BZ #13924]
73653 * math/e_exp10.c: Include <float.h>.
73654 (__ieee754_exp10): Handle underflow here rather than multiplying
73655 large negative argument by M_LN10.
73656 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73657 of __ieee754_expf.
73658 * math/e_exp10l.c: Include <float.h>.
73659 (__ieee754_exp10l): Handle underflow here rather than multiplying
73660 large negative argument by M_LN10l.
73661 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73662 spurious overflow exception on underflow.
73663
73664 2012-04-29 Marek Polacek <polacek@redhat.com>
73665
73666 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73667 (__fortify_function): New macro.
73668 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73669 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73670 __extern_always_inline.
73671 * libio/bits/stdio2.h: Likewise.
73672 * libio/bits/stdio.h: Likewise.
73673 * string/string.h: Likewise.
73674 * string/bits/string3.h: Likewise.
73675 * include/stdio.h: Likewise.
73676 * stdlib/bits/stdlib.h: Likewise.
73677 * stdlib/stdlib.h: Likewise.
73678 * rt/bits/mqueue2.h: Likewise.
73679 * rt/mqueue.h: Likewise.
73680 * posix/bits/unistd.h: Likewise.
73681 * posix/unistd.h: Likewise.
73682 * io/bits/poll2.h: Likewise.
73683 * io/bits/fcntl2.h: Likewise.
73684 * io/fcntl.h: Likewise.
73685 * io/sys/poll.h: Likewise.
73686 * misc/bits/syslog.h: Likewise.
73687 * misc/bits/syslog-ldbl.h: Likewise.
73688 * misc/sys/syslog.h: Likewise.
73689 * socket/bits/socket2.h: Likewise.
73690 * socket/sys/socket.h: Likewise.
73691 * debug/tst-chk1.c: Likewise.
73692 * wcsmbs/bits/wchar2.h: Likewise.
73693 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73694 * wcsmbs/wchar.h: Likewise.
73695
73696 2012-04-29 Andreas Jaeger <aj@suse.de>
73697
73698 * Makerules (tests): Remove enable-check-abi protection.
73699 (check-abi-warn): Remove.
73700 (check-abi-%): Remove check-abi-warn usage.
73701
73702 * configure.in: Remove check-abi configure option.
73703 * configure: Regenerated.
73704 * config.make.in (enable-check-abi): Remove.
73705
73706 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
73707
73708 [BZ #14033]
73709 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73710 double functions to double *_finite functions.
73711
73712 [BZ #13941]
73713 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73714 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73715 LDBL_MIN_EXP.
73716 * stdio-common/Makefile (tests): Add tst-sprintf3.
73717 * stdio-common/tst-sprintf3.c: New file.
73718
73719 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73720 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73721
73722 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73723
73724 * conform/conformtest.pl: Remove duplicate typed-constant
73725 handling.
73726
73727 2012-04-28 David S. Miller <davem@davemloft.net>
73728
73729 * Makerules (%.abilist): Add vpath on sysdep_dirs.
73730 (check-abi-%): Remove AWK script prerequisite and explicit
73731 abilist directory.
73732 (check-abi): Rewrite to just diff the symlist with the abilist.
73733 (config-tls, config-abi-config): Delete, no longer used.
73734 (update-abi-%): Remove AWK script and explicit abilist directory.
73735 (update-abi): Rewrite to simply compare and conditionally copy the
73736 symlist and the sysdep abilist file. Remove update-abi-config
73737 checks.
73738 * abilist/ld.abilist: Remove.
73739 * abilist/libBrokenLocale.abilist: Remove.
73740 * abilist/libanl.abilist: Remove.
73741 * abilist/libcrypt.abilist: Remove.
73742 * abilist/libdl.abilist: Remove.
73743 * abilist/librt.abilist: Remove.
73744 * abilist/libthread_db.abilist: Remove.
73745 * abilist/libutil.abilist: Remove.
73746 * scripts/extract-abilist.awk: Remove.
73747 * scripts/merge-abilist.awk: Remove.
73748 * sysdeps/generic/libcidn.abilist: New file.
73749 * sysdeps/generic/libnss_compat.abilist: New file.
73750 * sysdeps/generic/libnss_db.abilist: New file.
73751 * sysdeps/generic/libnss_dns.abilist: New file.
73752 * sysdeps/generic/libnss_files.abilist: New file.
73753 * sysdeps/generic/libnss_hesiod.abilist: New file.
73754 * sysdeps/generic/libnss_nis.abilist: New file.
73755 * sysdeps/generic/libnss_nisplus.abilist: New file.
73756 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73757 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73758 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73759 file.
73760 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73761 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73762 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73763 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73764 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73765 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73766 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73767 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73768 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73769 file.
73770 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73771 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73772 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73773 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73774 file.
73775 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73776 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73777 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73778 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73779 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73780 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73781 file.
73782 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73783 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73784 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73785 file.
73786 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73788 New file.
73789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73790 New file.
73791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73792 New file.
73793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73794 New file.
73795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73796 New file.
73797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73798 New file.
73799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73800 New file.
73801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73802 New file.
73803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73804 New file.
73805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73806 New file.
73807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73808 New file.
73809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73810 New file.
73811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73812 New file.
73813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73814 file.
73815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73816 New file.
73817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73818 New file.
73819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73820 file.
73821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73822 New file.
73823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73824 New file.
73825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73826 file.
73827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73828 New file.
73829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73830 New file.
73831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73832 New file.
73833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73834 New file.
73835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73836 New file.
73837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73838 New file.
73839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73841 file.
73842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73843 New file.
73844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73845 file.
73846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73847 file.
73848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73849 file.
73850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73851 file.
73852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73853 file.
73854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73855 New file.
73856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73857 file.
73858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73859 file.
73860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73861 New file.
73862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73863 file.
73864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73866 file.
73867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73868 New file.
73869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73870 file.
73871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73872 file.
73873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73874 file.
73875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73876 file.
73877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73878 file.
73879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73880 New file.
73881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73882 file.
73883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73884 file.
73885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73886 New file.
73887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73888 file.
73889 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73890 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73891 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73892 file.
73893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73894 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73895 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73896 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73897 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73898 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73899 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73900 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73901 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73902 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73905 file.
73906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73907 New file.
73908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73909 file.
73910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73911 file.
73912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73913 file.
73914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73915 file.
73916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73917 file.
73918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73919 New file.
73920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73921 New file.
73922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73923 file.
73924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73925 New file.
73926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73927 file.
73928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73930 file.
73931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73932 New file.
73933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73934 file.
73935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73936 file.
73937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73938 file.
73939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73940 file.
73941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73942 file.
73943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73944 New file.
73945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73946 New file.
73947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73948 file.
73949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73950 New file.
73951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73952 file.
73953
73954 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73955
73956 * conform/conformtest.pl: Fix typo in handling typed-constant from
73957 allow-header.
73958
73959 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73960
73961 * README: Cut down references to pre-2.6 Linux kernels and
73962 Linuxthreads. Update lists of configurations in libc and ports
73963 and sort alphabetically. Say "or newer" with Linux kernel version
73964 requirements.
73965
73966 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73967
73968 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73969
73970 [BZ #887]
73971 * math/libm-test.inc (logb_test_downward): New test to expose
73972 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73973 rounding mode.
73974
73975 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73976
73977 [BZ #14027]
73978 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73979 to be done.
73980 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73981 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73982
73983 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73984
73985 * sysdeps/unix/i386/brk.S: Remove file.
73986 * sysdeps/unix/i386/dl-brk.S: Likewise.
73987 * sysdeps/unix/i386/pipe.S: Likewise.
73988 * sysdeps/unix/i386/sigreturn.S: Likewise.
73989 * sysdeps/unix/i386/syscall.S: Likewise.
73990 * sysdeps/unix/i386/vfork.S: Likewise.
73991 * sysdeps/unix/i386/wait.S: Likewise.
73992
73993 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73994 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73995
73996 * configure.in (arm*-none*): Do not allow without
73997 --enable-hacker-mode.
73998 (netbsd*): Remove case setting base_os.
73999 (386bsd*): Likewise.
74000 (freebsd*): Likewise.
74001 (bsdi*): Likewise.
74002 (osf*): Likewise.
74003 (sunos*): Likewise.
74004 (ultrix*): Likewise.
74005 (newsos*): Likewise.
74006 (dynix*): Likewise.
74007 (*bsd*): Likewise.
74008 (sysv*): Likewise.
74009 (isc*): Likewise.
74010 (esix*): Likewise.
74011 (sco*): Likewise.
74012 (minix*): Likewise.
74013 (irix4*): Likewise.
74014 (irix6*): Likewise.
74015 (solaris[2-9]*): Likewise.
74016 (none): Likewise.
74017 * configure: Regenerated.
74018
74019 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74020
74021 [BZ #11521]
74022 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74023 overflow or cancellation in calculating denominator.
74024 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74025 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74026 down expression to avoid unexpected rounding in newer GCCs.
74027 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74028
74029 2012-04-26 David S. Miller <davem@davemloft.net>
74030
74031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74032 long-double compat symbols.
74033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74046
74047 2012-04-25 David S. Miller <davem@davemloft.net>
74048
74049 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74050 HWCAP_* values only after the memory barriers have been defined.
74051 (atomic_full_barrier): Define.
74052 (atomic_read_barrier): Define.
74053 (atomic_write_barrier): Define.
74054
74055 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
74056
74057 * shlib-versions: Add libgcc_s version information.
74058 * sysdeps/generic/libgcc_s.h: Remove.
74059 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74060 libgcc_s.h.
74061 * sysdeps/gnu/unwind-resume.c: Likewise.
74062 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74063
74064 2012-04-25 David S. Miller <davem@davemloft.net>
74065
74066 * sysdeps/unix/sparc/brk.S: Delete.
74067 * sysdeps/unix/sparc/dl-brk.S: Delete.
74068 * sysdeps/unix/sparc/pipe.S: Delete.
74069 * sysdeps/unix/sparc/sysdep.S: Delete.
74070 * sysdeps/unix/sparc/sysdep.h: Delete.
74071 * sysdeps/unix/sparc/vfork.S: Delete.
74072 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74073 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74074 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74075 (ret_ERRVAL, r0, r1, MOVE): Define.
74076 (JUMPTARGET): Remove.
74077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74078 sysdeps/unix/sparc/sysdep.h
74079 (ENTRY, END): Remove.
74080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74081
74082 2012-04-25 Joseph Myers <joseph@codesourcery.com>
74083
74084 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74085 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74086 -DIS_IN_build.
74087
74088 * timezone/README: Update upstream location and email address for
74089 tzcode and tzdata.
74090 * timezone/zdump.c: Update from tzcode 2012b.
74091 * timezone/zic.c: Likewise.
74092
74093 * configure.in (libc_cv_as_needed): Remove test.
74094 * configure: Regenerated.
74095 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74096 conditional definition.
74097 [$(have-as-needed) != yes] (no-as-needed): Likewise.
74098 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74099 * config.make.in (have-as-needed): Remove variable.
74100
74101 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
74102 Paul Pluzhnikov <ppluzhnikov@google.com>
74103
74104 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74105 strings correctly.
74106
74107 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
74108
74109 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74110 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74111 * sysdeps/sh/strlen.S: Likewise.
74112
74113 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74114
74115 * sysdeps/unix/fork.S: Remove file.
74116 * sysdeps/unix/i386/fork.S: Likewise.
74117 * sysdeps/unix/sparc/fork.S: Likewise.
74118
74119 * sysdeps/unix/system.c: Remove file.
74120 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74121
74122 * sysdeps/unix/getegid.S: Remove file.
74123 * sysdeps/unix/geteuid.S: Likewise.
74124
74125 2012-04-24 Roland McGrath <roland@hack.frob.com>
74126
74127 * scripts/check-localplt.awk: New file.
74128 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74129 of diff.
74130 * scripts/data/localplt-generic.data: Add a comment.
74131
74132 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74133 NODE when __dir_mkfile failed.
74134 * sysdeps/mach/hurd/symlinkat.c: Likewise.
74135 Reported by Ludovic Courtès <ludo@gnu.org>.
74136
74137 2012-04-24 Andreas Jaeger <aj@suse.de>
74138
74139 * Makerules (common-clean): Also remove gen-as-const-headers
74140 files.
74141
74142 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74143
74144 * Makerules (native-compile): Do not change working directory for
74145 build. Use $(OUTPUT_OPTION) in command.
74146 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74147
74148 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74149
74150 [BZ #13886]
74151 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74152 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74153 * math/libm-test.inc (floor_test): Add more tests.
74154 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74155
74156 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74157
74158 * sysdeps/unix/getdents.c: Remove file.
74159 * sysdeps/unix/sysv/getdents.c: Likewise.
74160 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74161
74162 * sysdeps/unix/syscalls.list (madvise): Add syscall from
74163 sysdeps/unix/mman/syscalls.list.
74164 (mmap): Likewise.
74165 (mprotect): Likewise.
74166 (msync): Likewise.
74167 (munmap): Likewise.
74168 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74169 * sysdeps/unix/mman/syscalls.list: Remove.
74170 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74171
74172 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74173 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74174 * configure: Regenerated.
74175 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74176 $(libgcc_s_suffix).
74177 * config.make.in (libgcc_s_suffix): Remove variable.
74178
74179 2012-04-23 Joseph Myers <joseph@codesourcery.com>
74180
74181 * sysdeps/unix/sysv/gethostname.c: Move to ...
74182 * sysdeps/posix/gethostname.c: ... here.
74183
74184 * sysdeps/unix/execve.S: Remove file.
74185
74186 * sysdeps/unix/_exit.S: Remove file.
74187
74188 2012-04-23 Andreas Jaeger <aj@suse.de>
74189
74190 [BZ #13739]
74191 * manual/Makefile: Remove make dist support, there's no
74192 need for a stand-alone documentation tar ball.
74193 (TEXI2DVI): Define always, it's not in Makeconfig.
74194 (dist): Removed.
74195 (tar-it): Removed.
74196 (edition): Removed.
74197 (glibc-doc-$(edition).tar): Removed
74198 (%.Z): Removed.
74199 (%.gz): Removed.
74200 (%.uu): Removed.
74201 (ETAGS): Remove, it's in Makeconfig.
74202 (move-if-change): Remove, it's in Makeconfig.
74203
74204 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
74205
74206 [BZ #13970]
74207 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74208 (strtod, strtof, strtold, strtol, strtoul, strtoq)
74209 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74210 (strtod_l, strtof_l, strtold_l): Remove __wur.
74211 It is not necessarily an error to ignore strtol's return value.
74212 One can reliably look at the stored endptr to decide whether
74213 the number had valid syntax.
74214
74215 2012-04-21 Andreas Jaeger <aj@suse.de>
74216
74217 [BZ #13739]
74218 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74219
74220 2012-04-21 Joseph Myers <joseph@codesourcery.com>
74221
74222 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74223 * sysdeps/unix/sysv/Versions: Remove file.
74224
74225 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
74226
74227 [BZ #13927]
74228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74229
74230 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
74231
74232 [BZ #7064]
74233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74234 version from __vm86.
74235
74236 2012-04-20 Joseph Myers <joseph@codesourcery.com>
74237
74238 * sysdeps/unix/common/lxstat.c: Remove file.
74239 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74240
74241 * sysdeps/unix/sysv/Makefile: Remove file.
74242
74243 * sysdeps/unix/sysv/direct.h: Remove file.
74244
74245 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74246 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74247 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74248 * sysdeps/unix/sysv/bits/signum.h: Likewise.
74249 * sysdeps/unix/sysv/bits/stat.h: Likewise.
74250 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74251 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74252
74253 * sysdeps/unix/sysv/setrlimit.c: Remove file.
74254
74255 * sysdeps/unix/xmknod.c: Remove file.
74256 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74257
74258 * sysdeps/unix/sysv/settimeofday.c: Remove file.
74259
74260 * sysdeps/unix/sysv/i386/time.S: Remove file.
74261
74262 * sysdeps/unix/fxstat.c: Remove file.
74263 * sysdeps/unix/xstat.c: Likewise.
74264 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74265
74266 * sysdeps/unix/sysv/sigaction.c: Remove file.
74267
74268 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74269 (sysdep_headers): Remove variable.
74270 [termio.h not in sysdep_headers] (generated): Likewise.
74271 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74272 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74273 * sysdeps/unix/sysv/tcdrain.c: Likewise.
74274 * sysdeps/unix/sysv/tcflow.c: Likewise.
74275 * sysdeps/unix/sysv/tcflush.c: Likewise.
74276 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74277 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74278 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74279 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74280 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74281
74282 * sysdeps/unix/siglist.c: Remove file.
74283
74284 * sysdeps/unix/getppid.S: Remove file.
74285
74286 * sysdeps/unix/mkdir.c: Remove file.
74287 * sysdeps/unix/rmdir.c: Likewise.
74288
74289 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
74290
74291 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74292 ERR_MAX value.
74293 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74294 errlist-compat value.
74295
74296 2012-04-18 David S. Miller <davem@davemloft.net>
74297
74298 * sysdeps/generic/memcopy.h (reg_char): Delete.
74299 * debug/strcat_chk.c: Use char, not reg_char.
74300 * debug/strcpy_chk.c: Likewise.
74301 * debug/strncat_chk.c: Likewise.
74302 * debug/strncpy_chk.c: Likewise.
74303 * string/memchr.c: Likewise.
74304 * string/memrchr.c: Likewise.
74305 * string/rawmemchr.c: Likewise.
74306 * string/strcat.c: Likewise.
74307 * string/strchr.c: Likewise.
74308 * string/strchrnul.c: Likewise.
74309 * string/strcmp.c: Likewise.
74310 * string/strcpy.c: Likewise.
74311 * string/strncat.c: Likewise.
74312 * string/strncmp.c: Likewise.
74313 * string/strncpy.c: Likewise.
74314
74315 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74316
74317 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74318 __builtin_memcopy is called when src and dest ranges are known to not
74319 overlap.
74320
74321 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74322
74323 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74324 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74325 fwd_align_merge macro call.
74326 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74327 bwd_align_merge macro call.
74328 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74329
74330 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74331
74332 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74333 bwd_align_merge macros.
74334 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74335 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74336 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74337
74338 2012-04-18 David S. Miller <davem@davemloft.net>
74339
74340 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74341
74342 2012-04-18 Andreas Jaeger <aj@suse.de>
74343
74344 [BZ# 6794]
74345 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74346 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74347 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74348
74349 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74350 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74351 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74352
74353 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74354 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74355 Adjust for changed ldbl-128 files.
74356
74357 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74358 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74359 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74360
74361 2012-04-17 David S. Miller <davem@davemloft.net>
74362
74363 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74364
74365 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74366
74367 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74368 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74369 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74370 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74371 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74372 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74373
74374 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74375
74376 [BZ #6794]
74377 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74378 * math/libm-test.inc: Add ilogb errno and exception tests.
74379 * math/w_ilogb.c: New file: ilogb wrapper.
74380 * math/w_ilogbf.c: New file: ilogbf wrapper.
74381 * math/w_ilogbl.c: New file: ilogbl wrapper.
74382 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74383 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74384 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74385 exception being thrown with 0.0 as argument.
74386 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74387 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74388 exception being thrown with 0.0 as argument.
74389 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74390 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74391 exception being thrown with 0.0 as argument.
74392 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74393 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74394 exception being thrown with 0.0 as argument.
74395 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74396 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74397 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74398 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74400 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74401 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74402 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74403 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74404
74405 2012-04-17 Petr Baudis <pasky@ucw.cz>
74406
74407 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74408 with altivec.
74409
74410 2012-04-16 Marek Polacek <polacek@redhat.com>
74411
74412 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74413
74414 2012-04-16 Marek Polacek <polacek@redhat.com>
74415
74416 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74417 operands of fdivp instruction.
74418
74419 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74420
74421 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74422 * elf/tst-auditmod3b.c: Likewise.
74423 * elf/tst-auditmod4b.c: Likewise.
74424 * elf/tst-auditmod5b.c: Likewise.
74425 * elf/tst-auditmod6b.c: Likewise.
74426 * elf/tst-auditmod6c.c: Likewise.
74427 * elf/tst-auditmod7b.c: Likewise.
74428 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74429 * sysdeps/x86_64/preconfigure.in: Likewise.
74430 * sysdeps/x86_64/preconfigure: Regenerated.
74431
74432 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74433
74434 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74435 __ILP32__.
74436
74437 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74438
74439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74440 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74441
74442 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74443
74444 [BZ #13973]
74445 * locale/iso-639.def: Fix gl language name. Spotted by
74446 Yaron Shahrabani.
74447
74448 2012-04-12 Roland McGrath <roland@hack.frob.com>
74449
74450 [BZ #2074]
74451 * libio/libio.h (__io_write_fn): Update comment.
74452
74453 2012-04-12 Petr Baudis <pasky@ucw.cz>
74454
74455 [BZ #2074]
74456 * stdio.texi (Hook Functions): The user provided writer function
74457 is not allowed to return -1.
74458
74459 2012-04-11 David S. Miller <davem@davemloft.net>
74460
74461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74462
74463 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74464
74465 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74466 Add a leading slash to rtkaio.
74467
74468 2012-04-11 Jim Meyering <meyering@redhat.com>
74469
74470 [BZ #11959]
74471 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74472 It is not necessarily an error to ignore fwrite's return
74473 value. One can reliably use ferror to test for errors after
74474 the fact.
74475
74476 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74477
74478 * bits/types.h (__snseconds_t): New type.
74479 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74480
74481 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74483 (__SNSECONDS_T_TYPE): Likewise.
74484 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74485 (__SNSECONDS_T_TYPE): Likewise.
74486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74487 (__SNSECONDS_T_TYPE): Likewise.
74488
74489 2012-04-10 Andreas Jaeger <aj@suse.de>
74490
74491 [BZ #2636]
74492 * manual/time.texi (Processor Time): Return type of times is
74493 elapsed real time since an arbitrary point in the past.
74494 (CPU Time): Move CLK_TCK from here...
74495 (Processor Time): ...to here. Correct description.
74496 * manual/conf.texi (Constants for Sysconf): Correct description of
74497 _SC_CLK_TCK.
74498
74499 2012-04-10 David S. Miller <davem@davemloft.net>
74500
74501 [BZ #13967]
74502 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74503 where the is a gap between DT_REL(A) and DT_JMPREL.
74504
74505 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74506
74507 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74508 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74509 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74510
74511 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74512
74513 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74514 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74515 (dl_main): Handle --inhibit-cache.
74516 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74517 _dl_inhibit_cache.
74518 * elf/dl-load.c (_dl_map_object): Use it.
74519 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74520
74521 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74522
74523 [BZ #13872]
74524 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74525 (__ieee754_powl): Saturate large exponents rather than testing for
74526 overflow of y*log2(x).
74527 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74528 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74529 exceptions.
74530
74531 [BZ #11521]
74532 * math/s_ctan.c: Include <float.h>.
74533 (__ctan): Avoid internal overflow or cancellation in calculating
74534 denominator.
74535 * math/s_ctanf.c: Likewise.
74536 * math/s_ctanl.c: Likewise.
74537 * math/s_ctanh.c: Likewise.
74538 * math/s_ctanhf.c: Likewise.
74539 * math/s_ctanhl.c: Likewise.
74540 * math/libm-test.inc (ctan_test): Add more tests.
74541 (ctanh_test): Likewise.
74542 * sysdeps/i386/fpu/libm-test-ulps: Update.
74543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74544
74545 2012-04-09 Andreas Jaeger <aj@suse.de>
74546
74547 [BZ #6894]
74548 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74549 is an optional BSD extension.
74550
74551 [BZ #10254]
74552 * manual/stdio.texi (Opening Streams): Document additional fopen
74553 parameters.
74554
74555 2012-04-09 Roland McGrath <roland@hack.frob.com>
74556
74557 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74558 %eax without telling the compiler.
74559
74560 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74561
74562 [BZ # 13963]
74563 * manual/install.texi: Use sourceware.org.
74564
74565 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74566
74567 [BZ #13873]
74568 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74569 (__ieee754_pow): Generate overflow and underflow using huge*huge
74570 and tiny*tiny rather than just returning constant infinity or zero
74571 for large exponents.
74572 * math/libm-test.inc (pow_test): Require overflow exceptions for
74573 applicable cases of large exponents.
74574
74575 [BZ #706]
74576 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74577 (__ieee754_pow): Use iterative multiplication algorithm only for
74578 integer exponents with absolute value below 1024. Check for odd
74579 integer exponents when using algorithm for real exponents.
74580 * math/libm-test.inc (pow_test): Add more tests.
74581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74582
74583 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74584
74585 [BZ #13705]
74586 * math/libm-test.inc (exp_test): Do not allow overflow exception
74587 on underflow test.
74588
74589 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74590
74591 [BZ #13705]
74592 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74593 instead of __kernel_standard_f.
74594
74595 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74596
74597 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74598 * sysdeps/x86_64/memset_chk.S: Likewise.
74599
74600 2012-04-08 Andreas Jaeger <aj@suse.de>
74601
74602 [BZ #10153]
74603 * manual/startup.texi (Environment Access): Describe return value
74604 for putenv and setenv.
74605
74606 [BZ #6895]
74607 * manual/filesys.texi (Directory Entries): Add description for
74608 DT_LNK.
74609
74610 [BZ #6890]
74611 * manual/filesys.texi (Directory Entries): Clarify that it's file
74612 system not operating system in the description of DT_UNKNOWN.
74613
74614 [BZ #6578]
74615 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74616
74617 2012-04-08 Stephen Compall <s11@member.fsf.org>
74618
74619 [BZ #6649]
74620 * manual/llio.texi (Opening and Closing Files): Add cross
74621 reference to explain mode argument.
74622
74623 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74624
74625 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74626 * sysdeps/x86_64/memset_chk.S: Likewise.
74627
74628 2012-04-07 David S. Miller <davem@davemloft.net>
74629
74630 * elf/elf.h (R_SPARC_WDISP10): Define.
74631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74632 R_SPARC_SIZE32.
74633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74634 R_SPARC_SIZE64 and R_SPARC_H34.
74635
74636 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74637
74638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74639 conditions and remove no longer applicable assertion.
74640
74641 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74642
74643 * bits/byteswap.h: Include <features.h>.
74644 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74645 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74646
74647 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74648
74649 * bits/byteswap.h (__bswap_16): Removed.
74650 Include <bits/byteswap-16.h> to get __bswap_16.
74651 * sysdeps/i386/bits/byteswap.h: Likewise.
74652 * sysdeps/s390/bits/byteswap.h: Likewise.
74653 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74654 * bits/byteswap-16.h: New file.
74655 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74656 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74657 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74658 * string/Makefile (headers): Add bits/byteswap-16.h.
74659
74660 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74661
74662 [BZ #13895]
74663 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74664 extra indirection.
74665 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74666 * nss/tst-nss-static.c: New.
74667
74668 2012-04-06 Robert Millan <rmh@gnu.org>
74669
74670 [BZ #6486]
74671 * manual/llio.texi (File Position Primitive): lseek
74672 refers to WHENCE when it really means OFFSET.
74673
74674 2012-04-06 Andreas Jaeger <aj@suse.de>
74675
74676 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74677 strncmp declarations.
74678
74679 * abilist/libc.abilist: Add __poll and __ppoll.
74680
74681 2012-04-05 David S. Miller <davem@davemloft.net>
74682
74683 * scripts/check-local-headers.sh: Accept a host triplet in the
74684 path matched by the exclude regexp.
74685
74686 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74687 definition.
74688 * sysdeps/powerpc/powerpc32/dl-machine.h
74689 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74690 * sysdeps/s390/s390-32/dl-machine.h
74691 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74692 * sysdeps/sparc/sparc32/dl-machine.h
74693 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74694 * sysdeps/sparc/sparc64/dl-machine.h
74695 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74696
74697 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74698 lazy binding.
74699 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74700 undefined symbol errors.
74701
74702 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74703 DT_NEEDED entries.
74704
74705 2012-04-05 Michael Matz <matz@suse.de>
74706
74707 [BZ #13592]
74708 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74709
74710 2012-04-05 Andreas Jaeger <aj@suse.de>
74711
74712 [BZ #13908]
74713 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74714 comment.
74715
74716 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74717
74718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74719 which ROUND is no valid rounding mode.
74720
74721 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74722
74723 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74724 read again.
74725 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74726
74727 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74728
74729 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74730 an exception using FPU order intentionally.
74731
74732 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
74733
74734 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74735 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74736 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74737 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74738
74739 2012-04-05 Simon Josefsson <simon@josefsson.org>
74740
74741 [BZ #12340]
74742 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74743 EINVAL when BUFLEN is too smal.
74744
74745 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
74746
74747 [BZ #13553]
74748 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74749 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74750
74751 2012-04-03 Andreas Jaeger <aj@suse.de>
74752
74753 [BZ #13938]
74754 * manual/setjmp.texi (System V contexts): Fix sentence.
74755
74756 [BZ #13926]
74757 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74758 New macro for this case.
74759 [!__GNUC__] (__bswap_64): New inline function for this case.
74760 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74761 * bits/byteswap.h: Likewise.
74762 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74763 ull, guard with __GLIBC_HAVE_LONG_LONG.
74764
74765 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74766 __GLIBC_HAVE_LONG_LONG.
74767
74768 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74769 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74770
74771 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74772
74773 [BZ #13691]
74774 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74775 inptr and inend, rather than using last_ch.
74776
74777 2012-04-02 David S. Miller <davem@davemloft.net>
74778
74779 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74780 * stdio-common/printf-parse.h (read_int): Change return type to
74781 'int', return -1 on INT_MAX overflow.
74782 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74783 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74784 overflows INT_MAX. Check for overflow of in-format-string precision
74785 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74786 SIZE_MAX not INT_MAX for integer overflow test.
74787 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74788 skip the construct in the format string but do not record anything.
74789 * stdio-common/bug22.c: Adjust to test both width/prevision
74790 INT_MAX overflow as well as total length INT_MAX overflow. Check
74791 explicitly for proper errno values.
74792
74793 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74794
74795 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74796 CHAR_MAX.
74797 * string/test-strcmp.c [! WIDE]: Likewise.
74798 * time/tst-mktime2.c: Likewise for INT_MAX.
74799 * string/test-string.h: #include <sys/param.h> for MIN.
74800
74801 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74802 * sysdeps/i386/init-first.c (init): Likewise.
74803 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74804 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74805 * sysdeps/sh/init-first.c (init): Likewise.
74806
74807 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74808
74809 * po/ru.po: Update from translation team.
74810 * po/vi.po: Likewise.
74811
74812 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74813
74814 * resolv/nss_dns/dns-host.c: Merge copyright years.
74815
74816 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74817
74818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74819 Optimize memcpy with prefetch if
74820 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74821 src, dst pointers have unequal 16 byte alignments.
74822
74823 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74824
74825 [BZ #13928]
74826 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74827 from a CNAME entry and return the minimum ttl for the query.
74828 (gaih_getanswer_slice): Likewise.
74829
74830 2012-03-30 Jeff Law <law@redhat.com>
74831
74832 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74833 due to long keys.
74834 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74835 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74836
74837 * resolv/nss_dns/dns-host.c: Update copyright year.
74838
74839 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74840
74841 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74842 requests to save a system call. Fix check that all bytes are sent.
74843
74844 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74845 comments for sendmmsg.
74846
74847 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74848
74849 [BZ #13691]
74850 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74851 with only 1 character between 0x0041 and 0x01b0.
74852 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74853 * wcsmbs/tst-mbsnrtowcs.c: New file.
74854
74855 2012-03-29 David S. Miller <davem@davemloft.net>
74856
74857 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74858 small copies by hand.
74859
74860 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74861
74862 [BZ #13761]
74863 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74864 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74865 group memberships.
74866
74867 2012-03-28 David S. Miller <davem@davemloft.net>
74868
74869 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74870 that branches into memcpy.
74871 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74873 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74874 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74876 bits.
74877 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74878 implementation too.
74879 * sysdeps/sparc/mempcpy.S: New file.
74880
74881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74882 the IFUNC routine in the libc case.
74883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74884
74885 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74886 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74887 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74888 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74889 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74890 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74891 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74892 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74893
74894 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74895 loop to 256 bytes instead of 64 bytes and fix test signedness.
74896
74897 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74898 * sysdeps/sparc/sparc32/Makefile: rather than here...
74899 * sysdeps/sparc/sparc64/Makefile: and here.
74900
74901 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74902
74903 * malloc/mallocbug.c: Avoid warnings about unused variables.
74904
74905 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74906
74907 [BZ #13760]
74908 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74909 in the right place. Discard and retry query if response is
74910 larger than input buffer size.
74911
74912 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74913
74914 [BZ #369]
74915 [BZ #2678]
74916 [BZ #3866]
74917 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74918 x for large integer exponent.
74919 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74920 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74921 sign of result as needed afterwards.
74922 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74923 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74924 result for underflowing pow the same as for overflow.
74925 (__kernel_standard_l): Handle powl overflow and underflow here
74926 rather than calling __kernel_standard.
74927 * math/libm-test.inc (pow_test): Add more tests.
74928
74929 [BZ #3868]
74930 [BZ #13879]
74931 [BZ #13910]
74932 [BZ #13911]
74933 [BZ #13912]
74934 [BZ #13913]
74935 [BZ #13915]
74936 [BZ #13916]
74937 [BZ #13917]
74938 [BZ #13918]
74939 [BZ #13919]
74940 [BZ #13920]
74941 [BZ #13921]
74942 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74943 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74944 (__kernel_standard_l): New function.
74945 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74946 __kernel_standard.
74947 * math/w_acosl.c (__acosl): Likewise.
74948 * math/w_asinl.c (__asinl): Likewise.
74949 * math/w_atan2l.c (__atan2l): Likewise.
74950 * math/w_atanhl.c (__atanhl): Likewise.
74951 * math/w_coshl.c (__coshl): Likewise.
74952 * math/w_exp10l.c (__exp10l): Likewise.
74953 * math/w_exp2l.c (__exp2l): Likewise.
74954 * math/w_fmodl.c (__fmodl): Likewise.
74955 * math/w_hypotl.c (__hypotl): Likewise.
74956 * math/w_j0l.c (__j0l, __y0l): Likewise.
74957 * math/w_j1l.c (__j1l, __y1l): Likewise.
74958 * math/w_jnl.c (__jnl, __ynl): Likewise.
74959 * math/w_lgammal.c (__lgammal): Likewise.
74960 * math/w_log10l.c (__log10l): Likewise.
74961 * math/w_log2l.c (__log2l): Likewise.
74962 * math/w_logl.c (__logl): Likewise.
74963 * math/w_powl.c (__powl): Likewise.
74964 * math/w_remainderl.c (__remainderl): Likewise.
74965 * math/w_scalbl.c (sysv_scalbl): Likewise.
74966 * math/w_sinhl.c (__sinhl): Likewise.
74967 * math/w_sqrtl.c (__sqrtl): Likewise.
74968 * math/w_tgammal.c (__tgammal): Likewise.
74969 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74970 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74971 * math/libm-test.inc (acos_test): Add more tests.
74972 (acosh_test): Likewise.
74973 (asin_test): Likewise.
74974 (atanh_test): Likewise.
74975 (exp_test): Likewise.
74976 (exp10_test): Likewise.
74977 (exp2_test): Likewise.
74978 (expm1_test): Likewise.
74979 (lgamma_test): Likewise.
74980 (log_test): Likewise.
74981 (log10_test): Likewise.
74982 (log1p_test): Likewise.
74983 (log2_test): Likewise.
74984 (pow_test): Do not allow some spurious overflow exceptions.
74985 (sqrt_test): Add more tests.
74986 (tgamma_test): Likewise.
74987 (y0_test): Likewise.
74988 (y1_test): Likewise.
74989 (yn_test): Likewise.
74990
74991 2012-03-27 Anton Blanchard <anton@samba.org>
74992
74993 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74994 MAP_HUGETLB.
74995 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74996 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74997 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74998
74999 2012-03-27 David S. Miller <davem@davemloft.net>
75000
75001 * conform/Makefile: Run run-conformtest.sh using $(BASH).
75002
75003 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75004 have-as-vis3 check.
75005
75006 2012-03-27 Andreas Jaeger <aj@suse.de>
75007
75008 * sysdeps/x86_64/elf/configure.in: Moved to ...
75009 * sysdeps/x86_64/configure.in: ... here.
75010 * sysdeps/x86_64/elf/start.S: Moved to ...
75011 * sysdeps/x86_64/start.S: ... here.
75012 * sysdeps/x86_64/elf/configure: Delete.
75013
75014 * sysdeps/x86_64/configure.in: Merge contents from
75015 sysdeps/i386/configure.in (without i686 check).
75016
75017 * sysdeps/i386/elf/Versions: Merge into ...
75018 * sysdeps/i386/Versions: ... this.
75019 * sysdeps/i386/elf/Versions: Delete file.
75020 * sysdeps/i386/elf/start.S: Moved to ...
75021 * sysdeps/i386/start.S: ...here.
75022 * sysdeps/i386/elf/configure.in: Merge into...
75023 * sysdeps/i386/configure.in: ...here.
75024 * sysdeps/i386/elf/configure.in: Delete file.
75025 * sysdeps/i386/elf/configure: Delete file.
75026
75027 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75028 * debug/backtracesyms.c: ... here.
75029 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75030 * debug/backtracesymsfd.c: ... here.
75031 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75032 * sysdeps/generic/ifunc-sel.h: ... here.
75033
75034 * sysdeps/unix/i386/start.c: Delete file.
75035 * sysdeps/unix/sparc/start.c: Delete file.
75036 * sysdeps/unix/start.c: Delete file.
75037
75038 * sysdeps/sh/elf/configure.in: Moved to ...
75039 * sysdeps/sh/configure.in: ... here.
75040 * sysdeps/sh/elf/start.S: Moved to ...
75041 * sysdeps/sh/start.S: ... here.
75042 * sysdeps/sh/elf/configure: Delete file.
75043
75044 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75045 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75046 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75047 * sysdeps/powerpc/powerpc64/entry.h: ... here.
75048 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75049 * sysdeps/powerpc/powerpc64/start.S: here.
75050 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75051 * sysdeps/powerpc/powerpc64/Makefile: ... this.
75052 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75053 * sysdeps/powerpc/powerpc64/configure.in: ... this.
75054 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75055
75056 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75057 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75058 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75059 * sysdeps/powerpc/powerpc32/start.S: ... here.
75060 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75061 * sysdeps/powerpc/powerpc32/configure.in: ... this.
75062 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75063
75064 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75065 * sysdeps/powerpc/ifunc-sel.h: ... here.
75066 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75067 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75068
75069 * sysdeps/sparc/elf/configure.in: Moved to ...
75070 * sysdeps/sparc/configure.in: ... here.
75071 * sysdeps/sparc/elf/configure: Delete file.
75072 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75073 * sysdeps/sparc/sparc32/start.S: ... here.
75074 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75075 * sysdeps/sparc/sparc64/start.S: ... here.
75076 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75077 * sysdeps/sparc/sparc32/Makefile: ... this.
75078 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75079 * sysdeps/sparc/sparc64/Makefile: ... this.
75080
75081 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75082 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75083 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75084 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75085 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75086 * sysdeps/s390/s390-32/setjmp.S: ... here.
75087 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75088 * sysdeps/s390/s390-32/configure.in: ... here.
75089 * sysdeps/s390/s390-32/elf/configure: Delete file.
75090 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75091 * sysdeps/s390/s390-32/start.S: ... here.
75092
75093 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75094 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75095 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75096 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75097 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75098 * sysdeps/s390/s390-64/setjmp.S: ... here.
75099 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75100 * sysdeps/s390/s390-64/configure.in: ... here
75101 * sysdeps/s390/s390-64/elf/configure: Delete file.
75102 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75103 * sysdeps/s390/s390-64/start.S: ... here.
75104 * sysdeps/s390/s390-64/elf/configure: Delete.
75105
75106 * configure.in: Remove support for elf directories in sysdeps.
75107
75108 * configure: Regenerated.
75109 * sysdeps/i386/configure: Regenerated.
75110 * sysdeps/powerpc/powerpc32/configure: Regenerated.
75111 * sysdeps/powerpc/powerpc64/configure: Regenerated.
75112 * sysdeps/s390/s390-32/configure: Regenerated.
75113 * sysdeps/s390/s390-64/configure: Regenerated.
75114 * sysdeps/sh/configure: Regenerated.
75115 * sysdeps/sparc/configure: Regenerated.
75116 * sysdeps/x86_64/configure: Regenerated.
75117
75118 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
75119
75120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75121
75122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75123 denormal result into account.
75124
75125 2012-03-25 Roland McGrath <roland@hack.frob.com>
75126
75127 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75128 Reported by Allan McRae <allan@archlinux.org>.
75129
75130 2012-03-23 Jeff Law <law@redhat.com>
75131
75132 * nss/getnssent.c (__nss_getent): Fix typo.
75133
75134 2012-03-23 David S. Miller <davem@davemloft.net>
75135
75136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75137
75138 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
75139
75140 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75141 to pad to uint64_t for each field.
75142 (dl_tls_index): Replace unsigned long with uint64_t.
75143
75144 2012-03-23 Daniel Jacobowitz <dmj@google.com>
75145 Paul Pluzhnikov <ppluzhnikov@google.com>
75146
75147 [BZ #6528]
75148 * grp/Makefile (otherlibs): Don't set it.
75149 * inet/Makefile (otherlibs): Likewise.
75150 * login/Makefile (otherlibs): Likewise.
75151 * nscd/Makefile (otherlibs): Likewise.
75152 * posix/Makefile (otherlibs): Likewise.
75153 * pwd/Makefile (otherlibs): Likewise.
75154 * rt/Makefile (otherlibs): Likewise.
75155 * sunrpc/Makefile (otherlibs): Likewise.
75156 * nss/Makefile (otherlibs): Likewise.
75157 Add libnss_files to routines and static-only-routines.
75158 ($(objpfx)getent): Remove rule.
75159 * resolv/Makefile: Add libnss_dns and libresolv to routines and
75160 static-only-routines.
75161
75162 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75163
75164 [BZ #13892]
75165 * math/s_cexp.c: Include <float.h>.
75166 (__cexp): Handle exp result overflowing not necessarily
75167 overflowing both real and imaginary parts of result.
75168 * math/s_cexpf.c: Likewise.
75169 * math/s_cexpl.c: Likewise.
75170 * math/libm-test.inc (cexp_test): Add more tests.
75171 * sysdeps/i386/fpu/libm-test-ulps: Update.
75172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75173
75174 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75175
75176 * include/link.h (ELFW): New macro.
75177 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75178 Replace ELF64_R_TYPE with ELFW(R_TYPE).
75179
75180 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75181
75182 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75183 with uint64_t.
75184
75185 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75186
75187 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75188 declaration.
75189 (struct La_x32_retval): Likewise.
75190
75191 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75192
75193 * sysdeps/x86_64/preconfigure.in: New file.
75194 * sysdeps/x86_64/preconfigure: New generated file.
75195
75196 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75197
75198 [BZ #13824]
75199 * math/e_exp2l.c: Include <float.h>.
75200 (__ieee754_exp2l): Handle overflow and underflow cases
75201 separately. Only pass fractional part of argument to
75202 __ieee754_expl.
75203 * math/libm-test.inc (exp2_test): Add more tests.
75204
75205 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75206 negating x to take absolute value.
75207 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75208 Likewise.
75209 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75211 Likewise.
75212 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75213 computing low part if x was negated.
75214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75215
75216 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75217
75218 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75219 la_x32_gnu_pltexit.
75220 (pltexit): Cast int_retval to ptrdiff_t.
75221 * elf/tst-auditmod3b.c: Likewise.
75222 * elf/tst-auditmod4b.c: Likewise.
75223 * elf/tst-auditmod5b.c: Likewise.
75224 * elf/tst-auditmod6b.c: Likewise.
75225 * elf/tst-auditmod6c.c: Likewise.
75226 * elf/tst-auditmod7b.c: Likewise.
75227
75228 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75229 and x32_gnu_pltexit.
75230
75231 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75232 __ELF_NATIVE_CLASS.
75233 (La_x32_regs): New macro.
75234 (La_x32_retval): Likewise.
75235 (la_x32_gnu_pltenter): New function prototype.
75236 (la_x32_gnu_pltexit): Likewise.
75237
75238 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
75239
75240 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75241 exponent.
75242
75243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75244
75245 * configure.in (libc_cv_cc_nofma): Check for option to disable
75246 generation of FMA instructions.
75247 * configure: Regenerate.
75248 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75249 * sysdeps/ieee754/dbl-64/Makefile: New file.
75250 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75251 Remove brandred-fma4.
75252 (CFLAGS-brandred-fma4.c): Remove.
75253 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75254 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75255 define.
75256 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75257 define.
75258
75259 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75260
75261 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75262 LLONG_MAX != LONG_MAX.
75263 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75264 (_fitoa_word): Likewise.
75265 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75266 LLONG_MAX != LONG_MAX.
75267 * stdio-common/_itowa.h: Include <_itoa.h>.
75268 (_itowa_word): Use _ITOA_WORD_TYPE on value.
75269 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
75270 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
75271 only if not defined.
75272 (_ITOA_WORD_TYPE): Likewise.
75273 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75274 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75275
75276 2012-03-21 David S. Miller <davem@davemloft.net>
75277
75278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75279
75280 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75281
75282 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75283 of x86_64 when setting libc_cv_slibdir, libdir and
75284 libc_cv_localedir.
75285 * sysdeps/unix/sysv/linux/configure: Regenerated.
75286
75287 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75288
75289 * manual/lang.texi (Old Varargs): Remove section.
75290 (How Variadic): Update menu.
75291 (va_start): Do not mention varargs.h.
75292
75293 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75294 Joseph Myers <joseph@codesourcery.com>
75295
75296 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75297 link test.
75298 * configure: Regenerated.
75299
75300 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75301
75302 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75303 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75304 conformtest.pl
75305
75306 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75307
75308 * NOTES: Remove.
75309 * Makefile (files-for-dist): Remove NOTES.
75310 (NOTES): Remove rule.
75311 * README: Don't refer to NOTES.
75312 * manual/creature.texi: Don't include macros.texi.
75313 * manual/intro.texi (creature.texi): Remove comment referring to
75314 NOTES.
75315
75316 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75317 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75318 * configure: Regenerated.
75319 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75320 LIBC_TRY_CC_OPTION.
75321 (libc_cv_as_i686): Likewise.
75322 (libc_cv_cc_avx): Likewise.
75323 (libc_cv_cc_sse2avx): Likewise.
75324 (libc_cv_cc_fma4): Likewise.
75325 (libc_cv_cc_novzeroupper): Likewise.
75326 * sysdeps/i386/configure: Regenerated.
75327
75328 [BZ #13883]
75329 * sysdeps/i386/fpu/s_cexp.S: Remove.
75330 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75331 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75332 * math/libm-test.inc (cexp_test): Add more tests.
75333 * sysdeps/i386/fpu/libm-test-ulps: Update.
75334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75335
75336 2012-03-21 Allan McRae <allan@archlinux.org>
75337
75338 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75339
75340 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75341
75342 [BZ #13871]
75343 * math/w_exp2.c: Do not include <float.h>.
75344 (o_threshold, u_threshold): Remove.
75345 (__exp2): Calculate result before checking finiteness and calling
75346 __kernel_standard.
75347 * math/w_exp2f.c: Likewise.
75348 * math/w_exp2l.c: Likewise.
75349 * math/libm-test.inc (exp2_test): Require overflow exception for
75350 1e6 input.
75351
75352 [BZ #3866]
75353 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75354 range of signed 64-bit integers before using fistpll. Remove
75355 checks for whether integers fit in mantissa bits.
75356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75357 the range of signed 32-bit integers before using fistpl. Remove
75358 checks for whether integers fit in mantissa bits.
75359 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75360 (__ieee754_powl): Test for y outside the range of signed 64-bit
75361 integers before using fistpll. Reduce 64-bit values to 63-bit
75362 ones as needed.
75363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75364 divide-by-zero is raised for zero to large negative powers.
75365 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75366 (__ieee754_powl): Test for y outside the range of signed 64-bit
75367 integers before using fistpll. Reduce 64-bit values to 63-bit
75368 ones as needed.
75369 * math/libm-test.inc (pow_test): Add more tests.
75370
75371 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75372
75373 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75374 <stdio-common/_itoa.h>.
75375 * debug/segfault.c: Likewise.
75376 * elf/dl-cache.c: Likewise.
75377 * elf/dl-minimal.c: Likewise.
75378 * elf/dl-misc.c: Likewise.
75379 * elf/dl-sysdep.c: Likewise.
75380 * elf/dl-version.c: Likewise.
75381 * elf/rtld.c: Likewise.
75382 * hurd/hurdsock.c: Likewise.
75383 * hurd/lookup-retry.c: Likewise.
75384 * malloc/malloc.c: Likewise.
75385 * malloc/mtrace.c: Likewise.
75386 * nscd/nscd_getgr_r.c: Likewise.
75387 * nscd/nscd_getpw_r.c: Likewise.
75388 * nscd/nscd_getserv_r.c: Likewise.
75389 * posix/getopt_init.c: Likewise.
75390 * posix/wordexp.c: Likewise.
75391 * stdio-common/_itoa.c: Likewise.
75392 * stdio-common/printf_fphex.c: Likewise.
75393 * stdio-common/vfprintf.c: Likewise.
75394 * string/_strerror.c: Likewise.
75395 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75396 * sysdeps/i386/i686/hp-timing.h: Likewise.
75397 * sysdeps/mach/_strerror.c: Likewise.
75398 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75399 * sysdeps/mach/hurd/sethostid.c: Likewise.
75400 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75401 * sysdeps/mach/xpg-strerror.c: Likewise.
75402 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75403 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75404 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75405 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75407 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75408 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75409 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75410 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75411 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75412 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75413 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75414 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75415 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75416 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75417 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75418 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75419 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75420 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75421 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75422 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75423
75424 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75425
75426 * stdio-common/_itoa.h: Moved to ...
75427 * sysdeps/generic/_itoa.h: Here.
75428
75429 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75430
75431 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75432 instead of "_itoa.h" and "_itowa.h".
75433 * stdio-common/vfprintf.: Likewise.
75434
75435 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75436
75437 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75438 <bits/wordsize.h>.
75439 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75440 (__signbit): Likewise.
75441 (llrintf): Likewise.
75442 (llrint): Likewise.
75443
75444 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75445
75446 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75447 __WORDSIZE != 64.
75448
75449 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75450
75451 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75452 OVERFLOW_EXCEPTION_OK.
75453 * math/libm-test.inc ("Philosophy"): Update comment about
75454 exception testing.
75455 (OVERFLOW_EXCEPTION): Define.
75456 (OVERFLOW_EXCEPTION_OK): Likewise.
75457 (INVALID_EXCEPTION_OK): Renumber.
75458 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75459 (IGNORE_ZERO_INF_SIGN): Likewise.
75460 (test_exceptions): Handle FE_OVERFLOW.
75461 (exp10_test): Expect overflow exceptions.
75462 (exp2_test): Likewise.
75463 (expm1_test): Likewise.
75464 (nextafter_test): Likewise.
75465 (pow_test): Likewise.
75466 (scalbn_test): Likewise.
75467 (scalbln_test): Likewise.
75468
75469 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75470
75471 * sysdeps/x86_64/bits/atomic.h
75472 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75473 64bit integer.
75474 (atomic_exchange_acq): Likewise.
75475 (__arch_exchange_and_add_body): Likewise.
75476 (__arch_add_body): Likewise.
75477 (atomic_add_negative): Likewise.
75478 (atomic_add_zero): Likewise.
75479
75480 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75481
75482 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75483 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75484
75485 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75486
75487 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75488 Check __x86_64__ instead of __WORDSIZE.
75489
75490 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75491
75492 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75493
75494 2012-03-19 David S. Miller <davem@davemloft.net>
75495
75496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75497
75498 * sysdeps/sparc/fpu/fenv_private.h: New file.
75499 * sysdeps/sparc/fpu/math_private.h: Use it.
75500 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75501 Remove.
75502 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75503 (libc_feholdexcept_setroundl): Remove.
75504 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75505 Remove.
75506 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75507 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75508
75509 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75510
75511 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75512 int64_t instead of long int.
75513 (INSERT_WORDS64): Likewise.
75514
75515 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75516
75517 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75518 _Unwind_GetCFA return to _Unwind_Ptr first.
75519
75520 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75521
75522 [BZ #13629]
75523 * math/s_clog.c: Include <float.h>.
75524 (__clog): Scale large or subnormal inputs.
75525 * math/s_clogf.c: Likewise.
75526 * math/s_clogl.c: Likewise.
75527 * math/s_clog10.c: Include <float.h>.
75528 (M_LOG10_2): Define.
75529 (__clog10): Scale large or subnormal inputs.
75530 * math/s_clog10f.c: Likewise.
75531 * math/s_clog10l.c: Likewise.
75532 * math/libm-test.inc (clog_test): Add more tests.
75533 (clog10_test): Likewise.
75534 * sysdeps/i386/fpu/libm-test-ulps: Update.
75535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75536
75537 [BZ #11451]
75538 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75539 x and y.
75540 * math/libm-test.inc (atan2_test): Add another test.
75541
75542 * Makerules (common-objdir-compile): Remove.
75543 * sysdeps/unix/Makefile (config-generated): Do not add
75544 $(unix-generated) to variable.
75545 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75546 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75547 Remove rule.
75548 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75549 Likewise.
75550 [generic bits/local_lim.h] (before-compile): Do not append to
75551 variable.
75552 [generic bits/local_lim.h] (common-generated): Likewise.
75553 [generic sys/param.h] (before-compile): Do not append to variable.
75554 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75555 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75556 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75557 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75558 include.
75559 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75560 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75561 [generic sys/param.h] ($(addprefix
75562 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75563 [generic sys/param.h] (common-generated): Do not append to
75564 variable.
75565 [generic sys/param.h] (sysdep_headers): Likewise.
75566 [generic bits/errno.h] (before-compile): Do not append to
75567 variable.
75568 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75569 rule.
75570 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75571 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75572 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75573 [generic bits/errno.h] (common-generated): Do not append to
75574 variable.
75575 [generic bits/ioctls.h] (before-compile): Do not append to
75576 variable.
75577 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75578 rule.
75579 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75580 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75581 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75582 rule.
75583 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75584 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75585 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75586 [generic bits/ioctls.h] (common-generated): Do not append to
75587 variable.
75588 [generic sys/syscall.h] (syscall.h): Remove variable.
75589 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75590 rule.
75591 [generic sys/syscall.h] (before-compile): Do not append to
75592 variable.
75593 [generic sys/syscall.h] (common-generated): Likewise.
75594 * sysdeps/unix/errnos-tmpl.c: Remove file.
75595 * sysdeps/unix/errnos.awk: Likewise.
75596 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75597 * sysdeps/unix/ioctls.awk: Likewise.
75598 * sysdeps/unix/mk-local_lim.c: Likewise.
75599 * sysdeps/unix/snarf-ioctls: Likewise.
75600
75601 2012-03-19 Richard Henderson <rth@twiddle.net>
75602
75603 * sysdeps/i386/fpu/fenv_private.h: New file.
75604 * sysdeps/i386/fpu/math_private.h: Use it.
75605 (math_opt_barrier, math_force_eval): Remove.
75606 (libc_feholdexcept_setround_53bit): Remove.
75607 (libc_feupdateenv_53bit): Remove.
75608 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75609 (math_opt_barrier, math_force_eval): Remove.
75610 (libc_feholdexcept): Remove.
75611 (libc_feholdexcept_setround): Remove.
75612 (libc_fetestexcept, libc_fesetenv): Remove.
75613 (libc_feupdateenv_test): Remove.
75614 (libc_feupdateenv, libc_feholdsetround): Remove.
75615 (libc_feresetround): Remove.
75616
75617 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75618 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75619
75620 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75621 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75622 (libc_feupdateenv_testl): New.
75623 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75624 (libc_feupdateenv_testf): New.
75625 (libc_feupdateenv): Use libc_feupdateenv_test.
75626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75627 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75628
75629 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75630 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75631 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75632 (libc_feresetround_noex): New.
75633 (libc_feresetround_noexf): New.
75634 (libc_feresetround_noexl): New.
75635 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75636 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75637 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75638 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75639 SET_RESTORE_ROUND.
75640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75642 (__cos): Likewise.
75643 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75644 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75645 SET_RESTORE_ROUND_NOEX.
75646 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75647 SET_RESTORE_ROUND_NOEXF.
75648 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75649 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75650 (libc_feholdsetroundf): New.
75651 (libc_feresetround, libc_feresetroundf): New.
75652
75653 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75654 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75655 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75656
75657 * sysdeps/generic/math_private.h: Include <fenv.h>.
75658 (default_libc_feholdexcept): New.
75659 (default_libc_feholdexcept_setround): New.
75660 (default_libc_fesetenv, default_libc_feupdateenv): New.
75661 (libc_feholdexcept): Only define if undefined.
75662 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75663 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75664 (libc_feholdexcept_setroundl): Likewise.
75665 (libc_feholdexcept_setround_53bit): Likewise.
75666 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75667 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75668 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75669 (libc_feupdateenv_53bit): Likewise.
75670 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75671 (libc_feholdexcept): Convert from macro to inline function.
75672 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75673 (libc_fesetenv, libc_feupdateenv): Likewise.
75674
75675 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75676 not previously defined.
75677 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75678 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75679 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75680 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75681 * sysdeps/ieee754/flt-32/math_private.h: New file.
75682 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75683 math_private.h below SET_FLOAT_WORD.
75684 (__isnan, __isinf_ns, __finite): Remove.
75685 (__isnanf, __isinf_nsf, __finitef): Remove.
75686
75687 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75688
75689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75690
75691 2012-03-17 David S. Miller <davem@davemloft.net>
75692
75693 [BZ #6471]
75694 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75695 for 2.16.
75696
75697 2012-03-16 David S. Miller <davem@davemloft.net>
75698
75699 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75700 warnings.
75701
75702 [BZ #6471]
75703 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75704 properly.
75705 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75706 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75707 sysdep_routines when subdir is sysvipc.
75708 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75709 __getshmlba helper.
75710
75711 * sysdeps/sparc/fpu/libm-test/ulps: Update.
75712
75713 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75714
75715 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75716 [__LP64__].
75717
75718 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75719
75720 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75721 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75722 (__lround): Renamed to ...
75723 (__llround): This. Replace long int with long long int.
75724 Define lround functions as aliases of llround functions.
75725 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75726
75727 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75728
75729 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75730 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
75731 adresses to uintptr_t. Replace "long int" and "unsigned long
75732 int" with "greg_t" on va_arg.
75733
75734 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75735
75736 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75737 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75738
75739 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75740 Move e_machine check before EI_CLASS check. Handle x32
75741 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75742 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75743 SKIP_EM_IA_64 and include
75744 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75745
75746 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75747 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75748 (add_system_dir): New macro.
75749
75750 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75751 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75752
75753 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75754
75755 [BZ #2551]
75756 [BZ #2552]
75757 [BZ #2553]
75758 [BZ #2554]
75759 [BZ #2562]
75760 [BZ #2563]
75761 [BZ #2565]
75762 [BZ #2566]
75763 [BZ #2576]
75764 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75765 (y0): Likewise.
75766 * math/w_j0f.c (j0f): Likewise.
75767 (y0f): Likewise.
75768 * math/w_j0l.c (__j0l): Likewise.
75769 (__y0l): Likewise.
75770 * math/w_j1.c (j1): Likewise.
75771 (y1): Likewise.
75772 * math/w_j1f.c (j1f): Likewise.
75773 (y1f): Likewise.
75774 * math/w_j1l.c (__j1l): Likewise.
75775 (__y1l): Likewise.
75776 * math/w_jn.c (jn): Likewise.
75777 (yn): Likewise.
75778 * math/w_jnf.c (jnf): Likewise.
75779 (ynf): Likewise.
75780 * math/w_jnl.c (__jnl): Likewise.
75781 (__ynl): Likewise.
75782 * math/libm-test.inc (j0_test): Add more tests.
75783 (j1_test): Likewise.
75784 (jn_test): Likewise. Add trailing semicolon to existing test.
75785 (y0_test): Likewise.
75786 (y1_test): Likewise.
75787 * sysdeps/i386/fpu/libm-test-ulps: Update.
75788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75789
75790 [BZ #13851]
75791 [BZ #13854]
75792 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75793 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75794 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75795 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75796 (__tanl): Set errno for infinite argument.
75797 * sysdeps/i386/fpu/mptan.c: Remove.
75798 * sysdeps/i386/fpu/s_tan.S: Likewise.
75799 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75800 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75801 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75802 * math/libm-test.inc (tan_test): Add more tests and enable more
75803 tests for double and long double.
75804 * sysdeps/i386/fpu/libm-test-ulps: Update.
75805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75806
75807 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75808
75809 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75810 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75811
75812 2012-03-16 Roland McGrath <roland@hack.frob.com>
75813
75814 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75815 * configure.in: Use it for both main tree and add-ons.
75816 * configure: Regenerated.
75817
75818 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75819
75820 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75821
75822 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75823
75824 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75825 in comment.
75826
75827 [BZ #13851]
75828 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75829 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75830 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75831 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75832 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75833 infinite argument.
75834 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75836 != 0 for prec == 2.
75837 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75838 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75839 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75840 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75841 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75842 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75843 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75844 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75845 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75846 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75847 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75848 * math/libm-test.inc (cos_test): Add more tests and enable more
75849 tests for long double.
75850 (sin_test): Likewise.
75851 (sincos_test): Likewise.
75852 * sysdeps/i386/fpu/libm-test-ulps: Update.
75853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75854
75855 2012-03-16 David S. Miller <davem@davemloft.net>
75856
75857 * sysdeps/sparc/fpu/math_private.h: New file.
75858
75859 2012-03-15 David S. Miller <davem@davemloft.net>
75860
75861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75862 file.
75863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75865 file.
75866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75872 sysdep routines.
75873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75874
75875 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75876 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75877
75878 * sysdeps/sparc/sparc-ifunc.h: New file.
75879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75880 sparc-ifunc.h
75881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75883 Likewise.
75884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75885 Likewise.
75886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75890 Likewise.
75891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75896 Likewise.
75897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75898 Likewise.
75899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75923
75924 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75925
75926 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75927 scaling.
75928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75929
75930 2012-03-15 Andreas Jaeger <aj@suse.de>
75931
75932 [BZ #13852]
75933 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75934 ieee754/flt-32 implementation for sin, cos and sincos.
75935 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75936 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75937 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75938 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75939 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75940 ieee754/flt-32 implementation for tan.
75941
75942 * math/libm-test.inc (cos_test): Enable some large input tests for
75943 float as well
75944 (sin_test): Likewise.
75945 (sincos_test): Likewise.
75946 (tan_test): Add tests for large input.
75947
75948 * sysdeps/i386/fpu/libm-test-ulps: Update.
75949
75950 2012-03-15 Andreas Jaeger <aj@suse.de>
75951
75952 [BZ #13658]
75953 * math/libm-test.inc (cos_test): Add more test cases.
75954 (sin_test): Likewise.
75955 (sincos_test): Likewise.
75956
75957 2012-03-15 Andreas Jaeger <aj@suse.de>
75958
75959 [BZ #13837]
75960 * math/libm-test.inc (cos_test): Add a test case for large input
75961 value.
75962 (sin_test): Likewise.
75963 (sincos_test): Likewise.
75964
75965 2012-03-15 Andreas Jaeger <aj@suse.de>
75966 Joseph Myers <joseph@codesourcery.com>
75967
75968 [BZ #13658]
75969 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75970 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75971 * sysdeps/i386/fpu/branred.c: Likewise.
75972 * sysdeps/i386/fpu/dosincos.c: Likewise.
75973 * sysdeps/i386/fpu/mpa.c: Likewise.
75974 * sysdeps/i386/fpu/s_cos.S: Likewise.
75975 * sysdeps/i386/fpu/s_sin.S: Likewise.
75976 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75977 * sysdeps/i386/fpu/sincos32.c: Likewise.
75978
75979 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75980 Define.
75981 (libc_feupdateenv_53bit): Define.
75982 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75983 Define.
75984 (libc_feupdateenv_53bit): Define.
75985
75986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75987 53 bit (without extend i386 double precision).
75988
75989 * math/libm-test.inc (sincos_test): Add tests for large input.
75990 (sin): Likewise.
75991 (cos): Likewise.
75992
75993 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75994
75995 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75996
75997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75998
75999 2012-03-15 David S. Miller <davem@davemloft.net>
76000
76001 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76002 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76003 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76004 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76017 file.
76018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76020 file.
76021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76023 file.
76024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76026 file.
76027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76029 fmin/fmax sysdep routines.
76030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76031
76032 2012-03-14 David S. Miller <davem@davemloft.net>
76033
76034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76038 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76039 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76055 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76063 routines.
76064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76065 file.
76066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76068 file.
76069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76071 file.
76072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76074 file.
76075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76077 file.
76078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76080 file.
76081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76082 file.
76083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76084 file.
76085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76086 file.
76087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76088 New file.
76089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76090 file.
76091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76092 file.
76093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76095 file.
76096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76098 file.
76099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76101 file.
76102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76104 VIS3 routines.
76105
76106 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76107 New file.
76108
76109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76110
76111 * sysdeps/sparc/configure.in: New file.
76112 * sysdeps/sparc/configure: Generate.
76113 * configure.in (libc_cv_sparc_as_vis3): Substitute.
76114 * configure: Regenerate.
76115 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76116 * config.make.in (have-as-vis3): New.
76117 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76118 available use -Av9d instead of -Av9a.
76119 * sysdeps/sparc/sparc64/Makefile: Likewise.
76120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76122 New file.
76123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76124 file.
76125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76126 New file.
76127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76128 file.
76129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76134
76135 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76136 fzeros/fnegs to load 0x80000000 into a float register instead of
76137 using the stack.
76138 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76139
76140 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76141
76142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76143 bits/syscall.h.
76144 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76145 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76146 ($(inst_includedir)/bits/syscall.h): Remove rule.
76147 ($(objpfx)bits/syscall.d): Include instead of
76148 $(objpfx)syscall-list.d.
76149 (generated): Change syscall-list.h and syscall-list.d to
76150 bits/syscall.h and bits/syscall.d.
76151
76152 2012-03-14 Roland McGrath <roland@hack.frob.com>
76153
76154 [BZ #13846]
76155 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76156
76157 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76158
76159 [BZ #13841]
76160 * math/s_csqrt.c: Include <float.h>.
76161 (__csqrt): Scale large or subnormal inputs.
76162 * math/s_csqrtf.c: Likewise.
76163 * math/s_csqrtl.c: Likewise.
76164 * math/libm-test.inc (csqrt_test): Add more tests.
76165 * sysdeps/i386/fpu/libm-test-ulps: Update.
76166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76167
76168 [BZ #13840]
76169 * math/libm-test.inc (hypot_test): Add more tests.
76170
76171 2012-03-13 David S. Miller <davem@davemloft.net>
76172
76173 [BZ #13840]
76174 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76175 double-precision for the calculation instead of scaling.
76176
76177 2012-03-13 Joseph Myers <joseph@codesourcery.com>
76178
76179 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76180 manipulate bits before adding and subtracting TWO52[sx].
76181 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76183 Likewise.
76184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76185
76186 2012-03-13 David S. Miller <davem@davemloft.net>
76187
76188 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76189 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76191 rtld-global-offsets.h
76192 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76193
76194 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76195 large parameters.
76196
76197 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76198
76199 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76200 'err' in the ifdef scope in which it is actually used.
76201
76202 * nss/nss_db/db-init.c: Include string.h
76203
76204 2012-03-12 David S. Miller <davem@davemloft.net>
76205
76206 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76207 masking out of the most significant byte of random value used.
76208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76209 Fix coding style in previous change.
76210
76211 * sysdeps/unix/sysv/linux/kernel-features.h
76212 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76213 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76214 expression.
76215 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76216 later.
76217
76218 2012-03-11 David S. Miller <davem@davemloft.net>
76219
76220 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76221 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76222 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76223 for 'resultvar' otherwise things get truncated on 64-bit.
76224
76225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76226 Fix masking out of the most significant byte of random value used.
76227
76228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76229
76230 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
76231
76232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76233
76234 2012-03-09 David S. Miller <davem@davemloft.net>
76235
76236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76237 variables with appropriate CPP guards.
76238 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76239 from the frame pointer, not the stack pointer. Correct layout
76240 comments. Fix test on resulting framesize and the management of
76241 the outregs buffer for pltexit. Preserve floating point return
76242 values across _dl_call_pltexit call.
76243 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76244 framesize and the management of the outregs buffer for pltexit.
76245 Preserve floating point return values across _dl_call_pltexit
76246 call.
76247 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76248 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76249 (la_sparc64_gnu_pltexit): New functions.
76250 (print_exit): Fix format string for return register value.
76251
76252 2012-03-10 Joseph Myers <joseph@codesourcery.com>
76253
76254 * sunrpc/Makefile (others): Add rpcgen.
76255 ($(objpfx)rpcgen): Remove special build rule and dependency on
76256 libc.
76257 * sunrpc/rpcgen.c: New file.
76258
76259 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
76260
76261 [BZ #13673]
76262 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76263 * stdio-common/bug-vfprintf-nargs.c: Likewise.
76264 * sysdeps/i386/crti.S: Likewise.
76265 * sysdeps/i386/crtn.S: Likewise.
76266 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76267 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76268 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76269 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76270 * sysdeps/sh/crti.S: Likewise.
76271 * sysdeps/sh/crtn.S: Likewise.
76272 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76273
76274 [BZ #13673]
76275 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76276 with URL.
76277 * locale/programs/locfile-kw.gperf: Likewise.
76278 * locale/programs/charmap-kw.h: Regenerated.
76279 * locale/programs/locfile-kw.h: Likewise.
76280
76281 [BZ #13673]
76282 * intl/plural.y: Replace FSF snail mail address with URL.
76283 * intl/plural.c: Regenerated.
76284
76285 2012-03-09 Richard Henderson <rth@twiddle.net>
76286
76287 * include/math_private.h: Remove file.
76288 * math/math_private.h: Move file ...
76289 * sysdeps/generic/math_private.h: ... here.
76290
76291 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76292 * sysdeps/powerpc/fpu/math_private.h: Likewise.
76293 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76294
76295 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76296 and <math_private.h>.
76297 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76298 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76299 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76300 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76301 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76302 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76303 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76305 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76306 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76308 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76309 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76311 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76312 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76313 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76314 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76315 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76316 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76318 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76319 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76321 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76322 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76323 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76324 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76325 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76327 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76329 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76330 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76331 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76332 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76333 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76334 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76335 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76336 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76337 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76338 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76339 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76340 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76341 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76342 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76343 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76344 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76346 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76347 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76348 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76349 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76350 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76351 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76352 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76353 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76354 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76355 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76356 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76358 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76360 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76361 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76362 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76363 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76364 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76365 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76366 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76367 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76371 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76376 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76377 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76378 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76380 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76381 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76384 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76385 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76386 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76387 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76388 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76389 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76390 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76391 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76392 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76393 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76394 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76395 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76396 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76397 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76398 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76399 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76400 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76401 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76402 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76403 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76404 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76405 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76406 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76407 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76408 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76409 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76410 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76411 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76413 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76414 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76415 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76416 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76417 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76418 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76419 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76420 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76421 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76422 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76423 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76424 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76425 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76426 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76427 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76428 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76429 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76430 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76431 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76432 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76433 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76434 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76435 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76436 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76437 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76438 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76440 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76441 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76442 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76443 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76444 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76445 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76446 * sysdeps/ieee754/k_standard.c: Likewise.
76447 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76448 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76450 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76451 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76452 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76453 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76454 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76455 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76457 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76458 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76459 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76460 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76461 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76462 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76463 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76464 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76465 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76466 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76467 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76468 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76469 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76470 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76471 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76472 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76473 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76474 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76475 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76476 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76477 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76478 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76479 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76480 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76481 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76482 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76483 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76484 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76485 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76486 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76487 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76488 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76489 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76490 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76491 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76493 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76495 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76496 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76497 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76498 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76499 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76500 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76501 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76502 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76503 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76504 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76505 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76506 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76507 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76508 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76509 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76510 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76514 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76515 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76516 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76519 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76520 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76523 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76524 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76525 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76526 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76527 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76528 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76529 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76530 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76531 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76532 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76533 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76534 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76535 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76537 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76538 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76539 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76540 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76541 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76543 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76544 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76545 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76546 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76548 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76551 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76552 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76553 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76554 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76555 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76556 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76557 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76559 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76561 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76562 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76563 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76564 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76565 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76566 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76567 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76568 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76569 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76570 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76571 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76572 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76573 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76574 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76575 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76576 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76577 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76578 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76579 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76580 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76581 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76582 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76583 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76584 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76585 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76586 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76587 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76588 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76589 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76590 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76591 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76592 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76593 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76594 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76595 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76596 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76598 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76599 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76600 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76601 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76602 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76603 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76604 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76605 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76606 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76607 * sysdeps/ieee754/s_lib_version.c: Likewise.
76608 * sysdeps/ieee754/s_matherr.c: Likewise.
76609 * sysdeps/ieee754/s_signgam.c: Likewise.
76610 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76611 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76612 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76613 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76614 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76615 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76616 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76617 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76618 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76619 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76620 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76621 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76622 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76623 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76624 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76625 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76626 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76627 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76628 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76631
76632 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76633
76634 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76635 * sunrpc/rpc_main.c: Likewise.
76636 * sunrpc/rpc_svcout.c: Likewise.
76637
76638 2012-03-09 David S. Miller <davem@davemloft.net>
76639
76640 * include/math_private.h: New file.
76641
76642 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76643
76644 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76645 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76646 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76647 from <bits/socket_type.h>.
76648 (enum __socket_type): Don't define here.
76649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76651 bits/socket_type.h.
76652
76653 [BZ #13566]
76654 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76655 checking __USE_GNU.
76656
76657 * Makerules ($(inst_includedir)/%.h): New rule.
76658 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76659 (install-others): Remove variable setting.
76660 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76661
76662 2012-03-08 Richard Henderson <rth@twiddle.net>
76663
76664 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76665 from macro to inline function; merge with the
76666 !__LIBC_INTERNAL_MATH_INLINES version.
76667 (__ieee754_sqrtf): Likewise.
76668
76669 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76670 to inline function.
76671 (__rintf, __floor, __floorf): Likewise.
76672
76673 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76674 macro to inline function.
76675 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76676
76677 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76678 not <math/math_private.h>.
76679
76680 2012-03-08 David S. Miller <davem@davemloft.net>
76681
76682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76683 copyright year.
76684 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76685
76686 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76687
76688 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76689 normalization.
76690 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76691 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76692
76693 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76694
76695 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
76696 be defined individually, they must be defined as a block. Define
76697 S for printing a string instead of hidint the different by using a
76698 macro for adding the 'l'.
76699 * stdio-common/tst-fphex-wide.c: Adjust.
76700
76701 2012-03-07 Marek Polacek <polacek@redhat.com>
76702
76703 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76704
76705 2012-03-08 Marek Polacek <polacek@redhat.com>
76706
76707 [BZ #13806]
76708 * stdio-common/Makefile (tests): Add tst-fphex-wide.
76709 * stdio-common/tst-fphex.c: Define a few macros to make the
76710 test reusable. Use them.
76711 * stdio-common/tst-fphex-wide.c: New file.
76712
76713 2012-03-08 Joseph Myers <joseph@codesourcery.com>
76714
76715 [BZ #6911]
76716 * manual/macros.texi (gnusystems): New macro.
76717 (nongnusystems): Likewise.
76718 (gnulinuxhurdsystems): Likewise.
76719 (gnuhurdsystems): Likewise..
76720 (gnulinuxsystems): Likewise.
76721 * manual/charset.texi: Use new macros or @theglibc{} to refer to
76722 variants of the GNU system, not "GNU system".
76723 * manual/conf.texi: Likewise.
76724 * manual/errno.texi: Likewise. Update example of errno macro
76725 expansion.
76726 * manual/filesys.texi: Likewise.
76727 (getumask): Document as specific to GNU/Hurd.
76728 * manual/install.texi: Likewise. Reword some references to
76729 GNU/Linux.
76730 * manual/intro.texi: Likewise.
76731 * manual/io.texi: Likewise.
76732 (File Name Portability): Detail which constraints are inapplicable
76733 to all GNU systems and which are only inapplicable to GNU/Hurd.
76734 * manual/job.texi: Likewise.
76735 * manual/llio.texi: Likewise.
76736 (O_NOCTTY): Document as present on GNU/Linux.
76737 * manual/maint.texi: Likewise.
76738 * manual/memory.texi: Likewise.
76739 * manual/pattern.texi: Likewise.
76740 * manual/pipe.texi: Likewise.
76741 * manual/process.texi: Likewise.
76742 * manual/resource.texi: Likewise.
76743 (RUSAGE_CHILDREN): Remove statement about specifying a particular
76744 child on GNU/Hurd.
76745 * manual/setjmp.texi: Likewise.
76746 * manual/signal.texi: Likewise.
76747 * manual/startup.texi: Likewise.
76748 * manual/stdio.texi: Likewise.
76749 * manual/terminal.texi: Likewise.
76750 (ONLCR): Document as POSIX.
76751 (OXTABS): Document availability on GNU/Linux as XTABS.
76752 (ONOEOT): Document availability separately from other bits.
76753 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76754 * manual/time.texi: Likewise.
76755 * manual/users.texi: Likewise.
76756 * INSTALL: Regenerated.
76757 * sysdeps/gnu/errlist.c: Regenerated.
76758
76759 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76760 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76761 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76762 puts.
76763 * configure: Regenerated.
76764
76765 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76766
76767 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76768 default includes instead of AC_HEADER_CHECK.
76769 * sysdeps/i386/configure: Regenerated.
76770
76771 [BZ #10716]
76772 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76773 * math/s_cacoshf.c (__cacoshf): Likewise.
76774 * math/s_cacoshl.c (__cacoshl): Likewise.
76775 * math/s_casinh.c (__casinh): Set signs of result from argument.
76776 * math/s_casinhf.c (__casinhf): Likewise.
76777 * math/s_casinhl.c (__casinhl): Likewise.
76778 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76779 (casinh_test): Add more tests.
76780 * sysdeps/i386/fpu/libm-test-ulps: Update.
76781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76782
76783 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76784
76785 * po/zh_TW.po: Update from translation team.
76786
76787 * login/Makefile (distribute): Remove variable.
76788 * catgets/Makefile: Likewise.
76789 * mach/Makefile: Likewise.
76790 * malloc/Makefile: Likewise.
76791 * misc/Makefile: Likewise.
76792 * iconv/Makefile: Likewise.
76793 * nscd/Makefile: Likewise.
76794 * hurd/Makefile: Likewise.
76795 * manual/Makefile: Likewise.
76796 * locale/Makefile: Likewise.
76797 * intl/Makefile: Likewise.
76798 * conform/Makefile: Likewise.
76799 * nss/Makefile: Likewise.
76800 * time/Makefile: Likewise.
76801 * soft-fp/Makefile: Likewise.
76802 * dirent/Makefile: Likewise.
76803 * gmon/Makefile: Likewise.
76804 * po/Makefile: Likewise.
76805 * rt/Makefile: Likewise.
76806 * socket/Makefile: Likewise.
76807 * math/Makefile: Likewise.
76808 * signal/Makefile: Likewise.
76809 * debug/Makefile: Likewise.
76810 * elf/Makefile: Likewise.
76811 * timezone/Makefile: Likewise.
76812 * stdlib/Makefile: Likewise.
76813 * iconvdata/Makefile: Likewise.
76814 * sunrpc/Makefile: Likewise.
76815 * io/Makefile: Likewise.
76816 * argp/Makefile: Likewise.
76817 * inet/Makefile: Likewise.
76818 * hesiod/Makefile: Likewise.
76819 * grp/Makefile: Likewise.
76820 * csu/Makefile: Likewise.
76821 * wctype/Makefile: Likewise.
76822 * crypt/Makefile: Likewise.
76823 * libio/Makefile: Likewise.
76824 * string/Makefile: Likewise.
76825 * nis/Makefile: Likewise.
76826 * resolv/Makefile: Likewise.
76827 * stdio-common/Makefile: Likewise.
76828 * wcsmbs/Makefile: Likewise.
76829 * dlfcn/Makefile: Likewise.
76830 * posix/Makefile: Likewise.
76831
76832 [BZ #6959]
76833 * timezone/Makefile: Don't install timezone files, just the programs
76834 and scripts.
76835
76836 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76837
76838 * nss/databases.def: Add missing gshadow entry.
76839
76840 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76841
76842 2012-03-06 Marek Polacek <polacek@redhat.com>
76843
76844 [BZ #13726]
76845 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76846 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76847 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76848 * stdio-common/tst-long-dbl-fphex.c: New file.
76849
76850 2012-03-06 David S. Miller <davem@davemloft.net>
76851
76852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76853 (set_obp_int): New function.
76854 (get_obp_int): New function.
76855 (__get_clockfreq_via_dev_openprom): Likewise.
76856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76857 Avoid unused variable warnings on 'val' and use builtin_expect.
76858 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76859 __builtin_expect.
76860 (INLINE_CLONE_SYSCALL): Likewise.
76861
76862 2012-03-05 David S. Miller <davem@davemloft.net>
76863
76864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76865
76866 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76867
76868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76869
76870 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76871 only for |x| >= 40.
76872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76873
76874 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76875
76876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76877 Replace gettimeofday with __vdso_gettimeofday.
76878
76879 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76880 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76881 __vdso_clock_gettime and __vdso_getcpu.
76882
76883 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76884 time with __vdso_time.
76885
76886 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76887
76888 * manual/lang.texi (size_t): Note types to which size_t may be
76889 equivalent with the GNU C Library, but do not describe when
76890 differences between them are significant.
76891
76892 2012-03-05 Andreas Jaeger <aj@suse.de>
76893
76894 * sysdeps/i386/fpu/libm-test-ulps: Update.
76895
76896 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76897
76898 [BZ #3976]
76899 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76900 (__ieee754_pow): Save and restore rounding mode and use
76901 round-to-nearest for main computations.
76902 * math/libm-test.inc (pow_test_tonearest): New function.
76903 (pow_test_towardzero): Likewise.
76904 (pow_test_downward): Likewise.
76905 (pow_test_upward): Likewise.
76906 (main): Call the new functions.
76907 * sysdeps/i386/fpu/libm-test-ulps: Update.
76908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76909
76910 [BZ #3976]
76911 * math/libm-test.inc (cosh_test_tonearest): New function.
76912 (cosh_test_towardzero): Likewise.
76913 (cosh_test_downward): Likewise.
76914 (cosh_test_upward): Likewise.
76915 (sinh_test_tonearest): Likewise.
76916 (sinh_test_towardzero): Likewise.
76917 (sinh_test_downward): Likewise.
76918 (sinh_test_upward): Likewise.
76919 (main): Call the new functions.
76920 * sysdeps/i386/fpu/libm-test-ulps: Update.
76921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76922
76923 2012-03-05 Tom de Vries <tom@codesourcery.com>
76924
76925 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76926 default stack guard is set in last bytes.
76927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76928
76929 2012-03-05 Kees Cook <keescook@chromium.org>
76930
76931 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76932
76933 [BZ #13656]
76934 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76935 possibly allocate from heap instead of stack.
76936 * stdio-common/bug-vfprintf-nargs.c: New file.
76937 * stdio-common/Makefile (tests): Add nargs overflow test.
76938
76939 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76940
76941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76942
76943 2012-03-03 Marek Polacek <polacek@redhat.com>
76944
76945 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76946 * math/math_private.h: Likewise.
76947 * stdlib/tst-strtod.c: Likewise.
76948 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76949 * sysdeps/x86_64/bits/atomic.h: Likewise.
76950
76951 2012-03-02 David S. Miller <davem@davemloft.net>
76952
76953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76957 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76958 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76959 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76960 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76961
76962 2012-03-02 Roland McGrath <roland@hack.frob.com>
76963
76964 [BZ #13792]
76965 * manual/examples/README: New file, says the example source files
76966 can be used under GPL>=2.
76967 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76968 line containing just "*/".
76969 * manual/examples/add.c: Add copyright header (GPL>=2).
76970 * manual/examples/argp-ex1.c: Likewise.
76971 * manual/examples/argp-ex2.c: Likewise.
76972 * manual/examples/argp-ex3.c: Likewise.
76973 * manual/examples/argp-ex4.c: Likewise.
76974 * manual/examples/atexit.c: Likewise.
76975 * manual/examples/db.c: Likewise.
76976 * manual/examples/dir.c: Likewise.
76977 * manual/examples/dir2.c: Likewise.
76978 * manual/examples/execinfo.c: Likewise.
76979 * manual/examples/filecli.c: Likewise.
76980 * manual/examples/filesrv.c: Likewise.
76981 * manual/examples/fmtmsgexpl.c: Likewise.
76982 * manual/examples/genpass.c: Likewise.
76983 * manual/examples/inetcli.c: Likewise.
76984 * manual/examples/inetsrv.c: Likewise.
76985 * manual/examples/isockad.c: Likewise.
76986 * manual/examples/longopt.c: Likewise.
76987 * manual/examples/memopen.c: Likewise.
76988 * manual/examples/memstrm.c: Likewise.
76989 * manual/examples/mkfsock.c: Likewise.
76990 * manual/examples/mkisock.c: Likewise.
76991 * manual/examples/mygetpass.c: Likewise.
76992 * manual/examples/pipe.c: Likewise.
76993 * manual/examples/popen.c: Likewise.
76994 * manual/examples/rprintf.c: Likewise.
76995 * manual/examples/search.c: Likewise.
76996 * manual/examples/select.c: Likewise.
76997 * manual/examples/setjmp.c: Likewise.
76998 * manual/examples/sigh1.c: Likewise.
76999 * manual/examples/sigusr.c: Likewise.
77000 * manual/examples/stpcpy.c: Likewise.
77001 * manual/examples/strdupa.c: Likewise.
77002 * manual/examples/strftim.c: Likewise.
77003 * manual/examples/strncat.c: Likewise.
77004 * manual/examples/subopt.c: Likewise.
77005 * manual/examples/swapcontext.c: Likewise.
77006 * manual/examples/termios.c: Likewise.
77007 * manual/examples/testopt.c: Likewise.
77008 * manual/examples/testpass.c: Likewise.
77009 * manual/examples/timeval_subtract.c: Likewise.
77010
77011 [BZ #13792]
77012 * manual/time.texi (Elapsed Time): Move timeval_subtract example
77013 function to ...
77014 * manual/timeval_subtract.c.texi: ... here, new file.
77015
77016 2012-03-02 David S. Miller <davem@davemloft.net>
77017
77018 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77019
77020 2012-03-02 Joseph Myers <joseph@codesourcery.com>
77021
77022 [BZ #3976]
77023 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77024 (__sin): Save and restore rounding mode and use round-to-nearest
77025 for all computations.
77026 (__cos): Save and restore rounding mode and use round-to-nearest
77027 for all computations.
77028 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77029 <fenv.h>.
77030 (tan): Save and restore rounding mode and use round-to-nearest for
77031 all computations.
77032 * math/libm-test.inc (cos_test_tonearest): New function.
77033 (cos_test_towardzero): Likewise.
77034 (cos_test_downward): Likewise.
77035 (cos_test_upward): Likewise.
77036 (sin_test_tonearest): Likewise.
77037 (sin_test_towardzero): Likewise.
77038 (sin_test_downward): Likewise.
77039 (sin_test_upward): Likewise.
77040 (tan_test_tonearest): Likewise.
77041 (tan_test_towardzero): Likewise.
77042 (tan_test_downward): Likewise.
77043 (tan_test_upward): Likewise.
77044 (main): Call the new functions.
77045 * sysdeps/i386/fpu/libm-test-ulps: Update.
77046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77047
77048 [BZ #10135]
77049 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77050 small n, then large n, before computing and testing k+n.
77051 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77053 Likewise.
77054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77055 Likewise.
77056 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77057 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77060 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77061 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77062 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77063 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77064 * math/libm-test.inc (scalbn_test): Add more tests.
77065 (scalbln_test): Likewise.
77066
77067 * manual/filesys.texi (mode_t): Describe constraints on size and
77068 signedness, not exact equivalence to a particular type.
77069 (ino_t): Likewise.
77070 (ino64_t): Likewise.
77071 (dev_t): Likewise.
77072 (nlink_t): Likewise.
77073 (blkcnt_t): Likewise.
77074 (blkcnt64_t): Likewise.
77075 * manual/llio.texi (off_t): Likewise.
77076
77077 [BZ #3976]
77078 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77079 (__ieee754_exp): Save and restore rounding mode and use
77080 round-to-nearest for all computations.
77081 * math/libm-test.inc (exp_test_tonearest): New function.
77082 (exp_test_towardzero): Likewise.
77083 (exp_test_downward): Likewise.
77084 (exp_test_upward): Likewise.
77085 (main): Call the new functions.
77086 * sysdeps/i386/fpu/libm-test-ulps: Update.
77087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77088
77089 2012-03-01 Chris Demetriou <cgd@google.com>
77090
77091 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77092 have predictable order.
77093
77094 2012-03-01 David S. Miller <davem@davemloft.net>
77095
77096 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77097
77098 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77099 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77100 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77101 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77102
77103 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77104 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77105 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77107 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77108 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77109 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77110 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77111 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77112
77113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77114
77115 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77116 * sysdeps/sparc/fpu/libm-test-ulps: to here.
77117 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77118
77119 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77120 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77121 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77122 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77123 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77124 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77125 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77126 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77127 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77128 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77129 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77130 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77132 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77135 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77136 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77137 * sysdeps/sparc/elf/configure: Regenerated.
77138
77139 2012-03-01 Joseph Myers <joseph@codesourcery.com>
77140
77141 * configure.in (AS, LD): Require binutils 2.20 or later.
77142 * configure: Regenerated.
77143 * manual/install.texi (Tools for Compilation): Give binutils 2.20
77144 as required minimum version.
77145 * INSTALL: Regenerated.
77146
77147 [BZ #2541]
77148 [BZ #4108]
77149 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77150 before squaring exponent.
77151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77152 bottom long double and 27 bits of top long double before squaring
77153 exponent.
77154 * math/libm-test.inc (erfc_test): Add more tests.
77155 * sysdeps/i386/fpu/libm-test-ulps: Update.
77156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77158
77159 2012-03-01 Kai Tietz <ktietz@redhat.com>
77160
77161 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77162 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77163 containing bit-fields.
77164 * soft-fp/extended.h (_FP_UNION_E): Likewise.
77165 * soft-fp/single.h (_FP_UNION_S): Likewise.
77166 * soft-fp/double.h (_FP_UNION_D): Likewise.
77167
77168 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77169
77170 [BZ #13786]
77171 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77172 not include ../strcmp.S.
77173 [USE_AS_STRNCASECMP_L]: Likewise.
77174 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77175 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77176 * sysdeps/i386/i686/multiarch/strncase_l-c.c
77177 (__strncasecmp_l_ia32): Define as alias to
77178 __strncasecmp_l_nonascii.
77179
77180 [BZ #5794]
77181 * math/libm-test.inc (expm1_test): Add test for bug 5794.
77182 * sysdeps/i386/fpu/libm-test-ulps: Update.
77183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77184
77185 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77187
77188 2012-02-29 Jeff Law <law@redhat.com>
77189
77190 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77191 out of bounds read.
77192
77193 2012-02-29 Marek Polacek <polacek@redhat.com>
77194
77195 [BZ #13706]
77196 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77197 * elf/Makefile: Add rules to run tst-unused-dep.out.
77198
77199 2012-02-28 David S. Miller <davem@davemloft.net>
77200
77201 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77202 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77204 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77205 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77206 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77207
77208 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77209
77210 * math/libm-test.inc (llround_test): Move one test from
77211 lround_test. Use TEST_f_L in moved test.
77212 (lround_test): Move misplaced test to llround_test. Add testcase
77213 from bug 2561.
77214
77215 2012-02-28 Ulrich Drepper <drepper@gmail.com>
77216
77217 * sysdeps/x86_64/fpu/e_expf.S: New file.
77218 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77219
77220 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
77221
77222 [BZ #13637]
77223 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77224 of remain_len that may cause incomplete multi-byte character and
77225 false match.
77226 * posix/bug-regex33.c: New file.
77227 * posix/Makefile (tests): Add bug-regex33.
77228
77229 2012-02-28 Joseph Myers <joseph@codesourcery.com>
77230
77231 * manual/macros.texi: New file.
77232 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77233 * manual/libc.texinfo: Include macros.texi.
77234 * manual/creatute.texi: Likewise.
77235 * manual/install.texi: Likewise.
77236 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77237 @glibcadj{} in references to the GNU C Library.
77238 * manual/charset.texi: Likewise.
77239 * manual/conf.texi: Likewise.
77240 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
77241 when not using those macros.
77242 * manual/creature.texi: Likewise.
77243 * manual/crypt.texi: Likewise.
77244 * manual/errno.texi: Likewise.
77245 * manual/filesys.texi: Likewise.
77246 * manual/header.texi: Likewise.
77247 * manual/install.texi: Likewise.
77248 * manual/intro.texi: Likewise.
77249 * manual/io.texi: Likewise.
77250 * manual/job.texi: Likewise.
77251 * manual/lang.texi: Likewise.
77252 * manual/libc.texiinfo: Likewise.
77253 * manual/llio.texi: Likewise.
77254 * manual/locale.texi: Likewise.
77255 * manual/maint.texi: Likewise.
77256 * manual/math.texi: Likewise.
77257 * manual/memory.texi: Likewise.
77258 * manual/message.texi: Likewise.
77259 * manual/nss.texi: Likewise.
77260 * manual/pattern.texi: Likewise.
77261 * manual/process.texi: Likewise.
77262 * manual/resource.texi: Likewise.
77263 * manual/search.texi: Likewise.
77264 * manual/setjmp.texi: Likewise.
77265 * manual/signal.texi: Likewise.
77266 * manual/socket.texi: Likewise.
77267 * manual/startup.texi: Likewise.
77268 * manual/stdio.texi: Likewise.
77269 * manual/string.texi: Likewise.
77270 * manual/sysinfo.texi: Likewise.
77271 * manual/syslog.texi: Likewise.
77272 * manual/terminal.texi: Likewise.
77273 * manual/time.texi: Likewise.
77274 * manual/users.texi: Likewise.
77275 * INSTALL: Regenerated.
77276 * NOTES: Regenerated.
77277 * sysdeps/gnu/errlist.c: Regenerated.
77278
77279 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
77280
77281 * include/dirent.h: Include <dirstream.h> before
77282 <dirent/dirent.h>.
77283
77284 2012-02-28 David S. Miller <davem@davemloft.net>
77285
77286 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77287 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77288 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77289 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77290
77291 2012-02-27 David S. Miller <davem@davemloft.net>
77292
77293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77295 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77296 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77297
77298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77299 frame pointer instead of stack pointer relative arg slot.
77300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77301 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77302 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77303
77304 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
77305
77306 [BZ #3992]
77307 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77308
77309 2012-02-27 David S. Miller <davem@davemloft.net>
77310
77311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77315 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77316 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77317 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77318 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77319
77320 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77321
77322 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77323 later. Allow versions 5-9.
77324 * configure: Regenerated.
77325 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77326 required minimum version and 4.6 as recommended version. Do not
77327 mention bugs in GCC 2.7 and 2.8.
77328 * INSTALL: Regenerated.
77329
77330 2012-02-27 David S. Miller <davem@davemloft.net>
77331
77332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77336 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77337 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77338 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77339 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77340
77341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77342 manipulate bits before adding and subtracting TWO112[sx].
77343 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77344
77345 2012-02-27 Roland McGrath <roland@hack.frob.com>
77346
77347 [BZ #13775]
77348 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77349 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77350 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77351 being in POSIX, because they are in 1003.1-2008.
77352
77353 * rt/tst-aio.c: Include <fcntl.h>.
77354 * rt/tst-aio7.c: Likewise.
77355 * rt/tst-aio64.c: Likewise.
77356
77357 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77358
77359 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77360
77361 * manual/install.texi (--with-headers): Describe headers as
77362 interface headers, not private headers.
77363 (Specific advice for GNU/Linux systems): Describe use of headers
77364 from "make headers_install", not private headers from older
77365 kernels.
77366 * INSTALL: Regenerated.
77367 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77368 Change to 2.6.19.
77369 * sysdeps/unix/sysv/linux/configure: Regenerated.
77370
77371 * manual/llio.texi (fclean): Remove documentation.
77372
77373 * manual/Makefile (libc-texi-generated): New variable. Include
77374 version.texi.
77375 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77376 $(libc-texi-generated), not duplicated list of files.
77377 (version.texi, stamp-version): New rules.
77378 (realclean): Remove $(libc-texi-generated), not individual files
77379 from that list. Do not remove dir-add.texinfo.
77380 * manual/libc.texinfo: Comment out uses of edition numbers and
77381 references to printed manual. Remove last-updated dates.
77382 (EDITION): Comment out.
77383 (ISBN): Likewise.
77384 (VERSION, UPDATED): Remove.
77385 (version.texi): Include.
77386
77387 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77388
77389 * sysdeps/posix/spawni.c: Include <signal.h>.
77390 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77391 * sysdeps/pthread/aio_fsync.c: Likewise.
77392
77393 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77394
77395 * conform/Makefile (tests): Run only when not cross-compiling and
77396 when fast-check is not defined.
77397
77398 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77399 * conform/data/limits.h-data: Fixes for POSIX2008.
77400 * conform/run-conformtest.sh: Run all tests.
77401 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77402 headers.
77403 * include/bits/dlfcn.h: Likewise.
77404 * include/langinfo.h: Likewise.
77405 * include/monetary.h: Likewise.
77406 * include/sys/poll.h: Likewise.
77407
77408 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77409 for __USE_GNU.
77410 * posix/spawn.h: Define __need_sigset_t.
77411 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77412 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77413 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77414 to get sigevent_t only.
77415 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77416 only for __USE_GNU.
77417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77418 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77419 process_vm_writev only for __USE_GNU.
77420 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77421
77422 * conform/Makefile: For now ignore errors from run-conformtest.
77423 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77424 POSIX to avoid namespace pollution. Don't prepend headers.
77425 * conform/data/aio.h-data: Fixes for POSIX testing.
77426 * conform/data/fcntl.h-data: Likewise.
77427 * conform/data/glob.h-data: Likewise.
77428 * conform/data/grp.h-data: Likewise.
77429 * conform/data/pthread.h-data: Likewise.
77430 * conform/data/pwd.h-data: Likewise.
77431 * conform/data/signal.h-data: Likewise.
77432 * conform/data/spawn.h-data: Likewise.
77433 * conform/data/stdio.h-data: Likewise.
77434 * conform/data/stdlib.h-data: Likewise.
77435 * conform/data/stropts.h-data: Likewise.
77436 * conform/data/sys/mman.h-data: Likewise.
77437 * conform/data/sys/stat.h-data: Likewise.
77438 * conform/data/sys/types.h-data: Likewise.
77439 * conform/data/sys/wait.h-data: Likewise.
77440 * conform/data/time.h-data: Likewise.
77441 * conform/data/unistd.h-data: Likewise.
77442 * conform/data/utime.h-data: Likewise.
77443
77444 * io/sys/stat.h: fchmod was always in POSIX.
77445 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77446 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77447 * rt/aio.h: Define __need_timespec before including <time.h>.
77448 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77449 struct. Add forward declaration of pthread_attr_t and use it in
77450 sigevent.
77451 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77452 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77453 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77454 always remove CLK_TCK definition.
77455
77456 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77457
77458 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77459
77460 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77461
77462 * conform/run-conformtest.sh: New file.
77463 * conform/Makefile: Run run-conformtest for tests.
77464 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77465 support.
77466
77467 * conform/data/uchar.h-data: New file.
77468 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77469 * conform/data/arpa/inet.h-data: Likewise.
77470 * conform/data/assert.h-data: Likewise.
77471 * conform/data/complex.h-data: Likewise.
77472 * conform/data/cpio.h-data: Likewise.
77473 * conform/data/ctype.h-data: Likewise.
77474 * conform/data/dirent.h-data: Likewise.
77475 * conform/data/dlfcn.h-data: Likewise.
77476 * conform/data/errno.h-data: Likewise.
77477 * conform/data/fcntl.h-data: Likewise.
77478 * conform/data/float.h-data: Likewise.
77479 * conform/data/fmtmsg.h-data: Likewise.
77480 * conform/data/fnmatch.h-data: Likewise.
77481 * conform/data/ftw.h-data: Likewise.
77482 * conform/data/glob.h-data: Likewise.
77483 * conform/data/grp.h-data: Likewise.
77484 * conform/data/iconv.h-data: Likewise.
77485 * conform/data/inttypes.h-data: Likewise.
77486 * conform/data/langinfo.h-data: Likewise.
77487 * conform/data/libgen.h-data: Likewise.
77488 * conform/data/limits.h-data: Likewise.
77489 * conform/data/locale.h-data: Likewise.
77490 * conform/data/math.h-data: Likewise.
77491 * conform/data/monetary.h-data: Likewise.
77492 * conform/data/mqueue.h-data: Likewise.
77493 * conform/data/ndbm.h-data: Likewise.
77494 * conform/data/net/if.h-data: Likewise.
77495 * conform/data/netdb.h-data: Likewise.
77496 * conform/data/netinet/in.h-data: Likewise.
77497 * conform/data/nl_types.h-data: Likewise.
77498 * conform/data/poll.h-data: Likewise.
77499 * conform/data/pthread.h-data: Likewise.
77500 * conform/data/pwd.h-data: Likewise.
77501 * conform/data/regex.h-data: Likewise.
77502 * conform/data/sched.h-data: Likewise.
77503 * conform/data/search.h-data: Likewise.
77504 * conform/data/semaphore.h-data: Likewise.
77505 * conform/data/setjmp.h-data: Likewise.
77506 * conform/data/signal.h-data: Likewise.
77507 * conform/data/spawn.h-data: Likewise.
77508 * conform/data/stdarg.h-data: Likewise.
77509 * conform/data/stdio.h-data: Likewise.
77510 * conform/data/stdlib.h-data: Likewise.
77511 * conform/data/string.h-data: Likewise.
77512 * conform/data/strings.h-data: Likewise.
77513 * conform/data/stropts.h-data: Likewise.
77514 * conform/data/sys/ipc.h-data: Likewise.
77515 * conform/data/sys/mman.h-data: Likewise.
77516 * conform/data/sys/msg.h-data: Likewise.
77517 * conform/data/sys/resource.h-data: Likewise.
77518 * conform/data/sys/select.h-data: Likewise.
77519 * conform/data/sys/sem.h-data: Likewise.
77520 * conform/data/sys/shm.h-data: Likewise.
77521 * conform/data/sys/socket.h-data: Likewise.
77522 * conform/data/sys/stat.h-data: Likewise.
77523 * conform/data/sys/statvfs.h-data: Likewise.
77524 * conform/data/sys/time.h-data: Likewise.
77525 * conform/data/sys/timeb.h-data: Likewise.
77526 * conform/data/sys/times.h-data: Likewise.
77527 * conform/data/sys/types.h-data: Likewise.
77528 * conform/data/sys/uio.h-data: Likewise.
77529 * conform/data/sys/un.h-data: Likewise.
77530 * conform/data/sys/utsname.h-data: Likewise.
77531 * conform/data/sys/wait.h-data: Likewise.
77532 * conform/data/syslog.h-data: Likewise.
77533 * conform/data/tar.h-data: Likewise.
77534 * conform/data/termios.h-data: Likewise.
77535 * conform/data/utime.h-data: Likewise.
77536 * conform/data/utmpx.h-data: Likewise.
77537 * conform/data/varargs.h-data: Likewise.
77538 * conform/data/wchar.h-data: Likewise.
77539 * conform/data/wctype.h-data: Likewise.
77540 * conform/data/wordexp.h-data: Likewise.
77541
77542 * include/stropts.h: New file.
77543 * include/uchar.h: New file.
77544 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77545 * include/assert.h: Likewise.
77546 * include/ctype.h: Likewise.
77547 * include/dirent.h: Likewise.
77548 * include/dlfcn.h: Likewise.
77549 * include/fcntl.h: Likewise.
77550 * include/fnmatch.h: Likewise.
77551 * include/glob.h: Likewise.
77552 * include/grp.h: Likewise.
77553 * include/libio.h: Likewise.
77554 * include/locale.h: Likewise.
77555 * include/math.h: Likewise.
77556 * include/net/if.h: Likewise.
77557 * include/netdb.h: Likewise.
77558 * include/netinet/in.h: Likewise.
77559 * include/pthread.h: Likewise.
77560 * include/pwd.h: Likewise.
77561 * include/regex.h: Likewise.
77562 * include/sched.h: Likewise.
77563 * include/search.h: Likewise.
77564 * include/setjmp.h: Likewise.
77565 * include/signal.h: Likewise.
77566 * include/stdio.h: Likewise.
77567 * include/stdlib.h: Likewise.
77568 * include/string.h: Likewise.
77569 * include/sys/cdefs.h: Likewise.
77570 * include/sys/mman.h: Likewise.
77571 * include/sys/msg.h: Likewise.
77572 * include/sys/resource.h: Likewise.
77573 * include/sys/select.h: Likewise.
77574 * include/sys/socket.h: Likewise.
77575 * include/sys/stat.h: Likewise.
77576 * include/sys/statvfs.h: Likewise.
77577 * include/sys/time.h: Likewise.
77578 * include/sys/times.h: Likewise.
77579 * include/sys/uio.h: Likewise.
77580 * include/sys/utsname.h: Likewise.
77581 * include/sys/wait.h: Likewise.
77582 * include/termios.h: Likewise.
77583 * include/time.h: Likewise.
77584 * include/ulimit.h: Likewise.
77585 * include/unistd.h: Likewise.
77586 * include/utime.h: Likewise.
77587 * include/wchar.h: Likewise.
77588 * include/wctype.h: Likewise.
77589 * include/wordexp.h: Likewise.
77590
77591 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77592
77593 * time/time.h: TIME_UTC must be a macro.
77594 Make timespec_get available for ISO C11 only as well.
77595
77596 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77597
77598 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77599 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77600
77601 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77602
77603 * configure.in: Use -o not -a in test for unsupported multi-arch.
77604
77605 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77606
77607 * manual/texinfo.tex: Update to version 2012-01-19.16.
77608
77609 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77610
77611 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77612
77613 2012-02-24 Roland McGrath <roland@hack.frob.com>
77614
77615 [BZ #13738]
77616 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77617 * manual/fdl-1.3.texi: New file.
77618 * manual/fdl-1.1.texi: File removed.
77619
77620 [BZ #13738]
77621 * manual/libc.texinfo (FDL_VERSION): New @set.
77622 Use it for mention of FDL in cover text.
77623 (Documentation License): Use it in @include file name.
77624
77625 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77626 Roland McGrath <roland@hack.frob.com>
77627
77628 [BZ #5461]
77629 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77630 (not LONG_LONG_MAX and LONG_LONG_MIN.
77631 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77632 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77633 name.
77634 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77635
77636 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77637
77638 [BZ #2547]
77639 [BZ #11365]
77640 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77641 manipulate bits before adding and subtracting TWO23[sx].
77642 * math/libm-test.inc (nearbyint_test): Add more tests.
77643
77644 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77645
77646 [BZ #2548]
77647 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77648 bits before adding and subtracting TWO23[sx].
77649 * math/libm-test.inc (rint_test): Add more tests.
77650 (rint_test_tonearest): Likewise.
77651 (rint_test_towardzero): Likewise.
77652 (rint_test_downward): Likewise.
77653 (rint_test_upward: Likewise.
77654
77655 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77656
77657 [BZ #10110]
77658 * include/stdc-predef.h: New file. Extracted from features.h.
77659 * include/features.h: Include stdc-predef.h.
77660 * Makefile (headers): Add stdc-predef.h.
77661 * CONFORMANCE (Compiler limitations): Update.
77662
77663 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77664
77665 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77666
77667 2012-02-21 David S. Miller <davem@davemloft.net>
77668
77669 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77670 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77671
77672 2012-02-20 David S. Miller <davem@davemloft.net>
77673
77674 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77675 using a normal save/restore sequence, rather than allocating a
77676 dummy stack frame just to store a frame pointer and restore.
77677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77678
77679 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77680
77681 * manual/install.texi: Fix stray word in line-wrapped comment.
77682
77683 2012-02-20 David S. Miller <davem@davemloft.net>
77684
77685 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77686 both binutils and gcc support GOTDATA.
77687
77688 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77689 "rd %pc" in the PIC register setup sequences.
77690
77691 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77692 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77693 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77694 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77695 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77697 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77698 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77700 (SYSCALL_ERROR_HANDLER): Likewise.
77701 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77702 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77704 (SYSCALL_ERROR_HANDLER): Likewise.
77705
77706 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77707 (HAVE_GCC_GOTDATA): New.
77708 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77709 relocation support in both binutils and gcc.
77710 * sysdeps/sparc/elf/configure: Regenerate.
77711
77712 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77713 * sysdeps/sparc/sparc32/elf/configure: Delete.
77714 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77715 * sysdeps/sparc/sparc64/elf/configure: Delete.
77716 * sysdeps/sparc/elf/configure.in: New file.
77717 * sysdeps/sparc/elf/configure: Generate.
77718
77719 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77720 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77722 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77723 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77724
77725 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77726
77727 * manual/install.texi: Do not mention specific glibc version
77728 numbers.
77729 * manual/libc.texinfo (VERSION, UPDATED): Update.
77730 (@copying): Use @copyright{} and range of years.
77731
77732 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77733
77734 [BZ #13695]
77735 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77736 [crti.S not in sysdirs] (generated): Do not append.
77737 [crti.S not in sysdirs] (omit-deps): Likewise.
77738 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77739 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77740 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77741 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77742 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77743 Likewise.
77744 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77745 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77746 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77747 * csu/defs.awk: Remove file.
77748 * sysdeps/generic/initfini.c: Likewise.
77749 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77750 variable.
77751 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77752 Likewise.
77753
77754 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77755
77756 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77757 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77758 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77759 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77761 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77762 <bits/epoll.h>.
77763 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77764 (__EPOLL_PACKED): Define to empty if not defined by
77765 <bits/epoll.h>.
77766 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77768 bits/epoll.h.
77769
77770 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77771
77772 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77773 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77774 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77775 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77776 <bits/timerfd.h>.
77777 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77779 bits/timerfd.h.
77780
77781 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77782
77783 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77784 in C locale.
77785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77786 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77787 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77789
77790 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77791
77792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77793 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77794
77795 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77796
77797 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77798 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77799 defined.
77800 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77801 Likewise.
77802 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77803 entry for 2.16.
77804
77805 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77806
77807 * math/w_acos.c: Use non-signaling floating-point comparisons.
77808 * math/w_acosf.c: Likewise.
77809 * math/w_acosh.c: Likewise.
77810 * math/w_acoshf.c: Likewise.
77811 * math/w_acoshl.c: Likewise.
77812 * math/w_acosl.c: Likewise.
77813 * math/w_asin.c: Likewise.
77814 * math/w_asinf.c: Likewise.
77815 * math/w_asinl.c: Likewise.
77816 * math/w_atanh.c: Likewise.
77817 * math/w_atanhf.c: Likewise.
77818 * math/w_atanhl.c: Likewise.
77819 * math/w_exp2.c: Likewise.
77820 * math/w_exp2f.c: Likewise.
77821 * math/w_exp2l.c: Likewise.
77822 * math/w_j0.c: Likewise.
77823 * math/w_j0f.c: Likewise.
77824 * math/w_j0l.c: Likewise.
77825 * math/w_j1.c: Likewise.
77826 * math/w_j1f.c: Likewise.
77827 * math/w_j1l.c: Likewise.
77828 * math/w_jn.c: Likewise.
77829 * math/w_jnf.c: Likewise.
77830 * math/w_log.c: Likewise.
77831 * math/w_log10.c: Likewise.
77832 * math/w_log10f.c: Likewise.
77833 * math/w_log10l.c: Likewise.
77834 * math/w_log2.c: Likewise.
77835 * math/w_log2f.c: Likewise.
77836 * math/w_log2l.c: Likewise.
77837 * math/w_logf.c: Likewise.
77838 * math/w_logl.c: Likewise.
77839 * math/w_sqrt.c: Likewise.
77840 * math/w_sqrtf.c: Likewise.
77841 * math/w_sqrtl.c: Likewise.
77842 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77843 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77845 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77846 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77847
77848 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77849
77850 [BZ #9739]
77851 * manual/string.texi (strnlen): Use correct parameter name in
77852 equivalent expression.
77853
77854 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77855
77856 [BZ #11174]
77857 * manual/users.texi (seteuid): Consistently use neweuid for
77858 argument name.
77859
77860 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77861
77862 [BZ #13704]
77863 * manual/nss.texi (Services in the NSS configuration): Correct
77864 list of services in example configuration file.
77865
77866 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77867
77868 [BZ #11322]
77869 * manual/arith.texi: Remove statements about negative zero
77870 behaving identically to zero.
77871
77872 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77873
77874 [BZ #5993]
77875 * manual/install.texi: Do not document upgrading from libc5.
77876
77877 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77878
77879 [BZ #4596]
77880 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77881
77882 2012-02-18 David S. Miller <davem@davemloft.net>
77883
77884 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77885 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77886 %o7 across the call.
77887 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77888 instead.
77889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77890 SETUP_PIC_REG_LEAF.
77891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77892 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77893 * sysdeps/sparc/crtn.S: Likewise.
77894
77895 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77896
77897 * aout/Makefile: Remove.
77898
77899 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77900
77901 [BZ #13058]
77902 * manual/examples/argp-ex1.c (main): Format definition in GNU
77903 style.
77904 * manual/examples/argp-ex2.c (main): Likewise.
77905 * manual/examples/argp-ex3.c (main): Likewise.
77906 * manual/examples/argp-ex4.c (main): Likewise.
77907 * manual/examples/longopt.c (main): Use new-style prototype
77908 definition.
77909 * manual/examples/strncat.c (main): Specify return type and use
77910 (void) for arguments.
77911 * manual/examples/subopt.c (main): Use char **argv argument.
77912
77913 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77914
77915 [BZ #5077]
77916 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77917 rounding modes.
77918
77919 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77920
77921 [BZ #6907]
77922 * manual/string.texi (strchr): Change when strchrnul is
77923 recommended.
77924
77925 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77926
77927 [BZ #174]
77928 * manual/locale.texi (setlocale): Document LOCPATH.
77929
77930 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77931
77932 [BZ #10210]
77933 * manual/process.texi (execle): Move @dots{} before last argument.
77934
77935 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77936
77937 [BZ #12047]
77938 * manual/charset.texi (Generic Charset Conversion): Fix typo
77939 (LC_TYPE -> LC_CTYPE).
77940
77941 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77942
77943 [BZ #5805]
77944 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77945 (scalbnf): Likewise.
77946 (scalbnl): Likewise.
77947 (scalbln): Likewise.
77948 (scalblnf): Likewise.
77949 (scalblnl): Likewise.
77950 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77951 (vwarnx): Likewise.
77952 (verr): Likewise.
77953 (verrx): Likewise.
77954 * manual/filesys.texi (telldir): Use braces around return type.
77955 * manual/llio.texi (mmap): Add space after comma.
77956 (mmap64): Likewise.
77957 * manual/math.texi (jn): Use @var{} on parameter names.
77958 (jnf): Likewise.
77959 (jnl): Likewise.
77960 (yn): Likewise.
77961 (ynf): Likewise.
77962 (ynl): Likewise.
77963 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77964 line.
77965 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77966 "...".
77967 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77968 (sched_get_priority_max): Likewise.
77969 * manual/signal.texi (sigvec): Add space after comma.
77970 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77971 names.
77972 (if_indextoname): Likewise.
77973 (if_freenameindex): Likewise.
77974 (sendto): Use ',' instead of '.' in prototype.
77975 * manual/startup.texi (syscall): Use @dots{} instead of literal
77976 "...".
77977 * manual/stdio.texi (__fpending): Separate initial words of
77978 paragraph from @deftypefun line.
77979 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77980 "...".
77981 (vsyslog): Use @var{} on parameter names.
77982 * manual/terminal.texi (stty): Use @var{} on parameter names.
77983 * manual/users.texi (getutmp): Use @var{} on parameter names.
77984 (getutmpx): Likewise.
77985
77986 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77987
77988 [BZ #6884]
77989 * manual/stdio.texi (fopen): Fix typos in description of
77990 ",ccs=STRING".
77991
77992 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77993
77994 [BZ #4026]
77995 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77996 get clock_id definition.
77997
77998 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77999
78000 [BZ #4822]
78001 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78002 (madvise): Cast every argument to void on its own.
78003
78004 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78005
78006 [BZ #9902]
78007 * manual/startup.texi (Exit Status): Fix typo.
78008
78009 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78010
78011 [BZ #10140]
78012 * manual/examples/argp-ex1.c: Include <stdlib.h>.
78013 * manual/examples/argp-ex2.c: Likewise.
78014 * manual/examples/argp-ex3.c: Likewise.
78015
78016 2012-02-16 Richard Henderson <rth@redhat.com>
78017
78018 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78019 * sysdeps/s390/s390-32/initfini.c: Remove.
78020 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78021 * sysdeps/s390/s390-64/initfini.c: Remove.
78022
78023 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78024
78025 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78026 compiler output for sysdeps/generic/initfini.c.
78027 * sysdeps/sh/elf/initfini.c: Remove file.
78028
78029 2012-02-16 David S. Miller <davem@davemloft.net>
78030
78031 [BZ #11494]
78032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78033
78034 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78035 * sysdeps/sparc/crti.S: New file.
78036 * sysdeps/sparc/crtn.S: New file.
78037 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78038 * sysdeps/sparc/sparc64/Makefile: Likewise.
78039
78040 2012-02-15 Mike Frysinger <vapier@gentoo.org>
78041
78042 [BZ #3335]
78043 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78044
78045 2012-02-15 Roland McGrath <roland@hack.frob.com>
78046
78047 [BZ #4822]
78048 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78049
78050 * mach/devstream.c (cookie_io_functions_t): Macro removed.
78051 (write, read, close): Likewise.
78052 Patch by Aurelien Jarno <aurelien@aurel32.net>.
78053
78054 2012-02-15 Joseph Myers <joseph@codesourcery.com>
78055
78056 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78057 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78058 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78059 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78060 <bits/signalfd.h>.
78061 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78063 bits/signalfd.h.
78064
78065 2012-02-14 Marek Polacek <polacek@redhat.com>
78066
78067 * sysdeps/x86_64/crti.S: New file.
78068 * sysdeps/x86_64/crtn.S: New file.
78069 * sysdeps/x86_64/elf/initfini.c: Remove file.
78070
78071 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78072
78073 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78074 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78075 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78076 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78077 <bits/inotify.h>.
78078 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78080 bits/inotify.h.
78081
78082 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78083
78084 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78085 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78086 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78087 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78088 <bits/eventfd.h>.
78089 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78091 bits/eventfd.h.
78092
78093 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
78094
78095 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78096 __feraiseexcept instead of feraiseexcept.
78097
78098 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78099 nanosleep invocations.
78100 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78101 strings, and add error checking for a nanosleep invocations.
78102
78103 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
78104
78105 Replace FSF snail mail address with URLs, as per GNU coding standards.
78106 Most of the snail mail addresses were wrong anyway, and omitting
78107 them makes the source code easier to maintain. Almost all of the
78108 changes are to license notices and to locale LC_IDENTIFICATION
78109 addresses, except for this one:
78110 * manual/libc.texinfo: In "Published by", give the FSF's URL,
78111 not its snail mail address.
78112
78113 2012-02-09 Richard Henderson <rth@twiddle.net>
78114
78115 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78116 of kernel-features.h.
78117
78118 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78119
78120 2012-02-08 Marek Polacek <polacek@redhat.com>
78121
78122 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78123 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78124 * sysdeps/gnu/_G_config.h: Likewise.
78125 * sysdeps/generic/_G_config.h: Likewise.
78126
78127 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
78128
78129 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78130 tests.
78131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78132
78133 * sysdeps/powerpc/powerpc32/crti.S: New file.
78134 * sysdeps/powerpc/powerpc32/crtn.S: New file.
78135 * sysdeps/powerpc/powerpc64/crti.S: New file.
78136 * sysdeps/powerpc/powerpc64/crtn.S: New file.
78137
78138 * Makeconfig (have-initfini): Don't set.
78139 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78140 * configure.in (nopic_initfini): Don't substitute.
78141 * config.h.in (HAVE_INITFINI): Don't #undef.
78142 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78143 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78144
78145 2012-02-08 Joseph Myers <joseph@codesourcery.com>
78146
78147 Support crti.S and crtn.S provided directly by architectures.
78148 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78149 [crti.S in sysdirs] (omit-deps): Likewise.
78150 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78151 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78152 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78153 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78154 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78155 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78156 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78157 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78158 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78159 compiler output for sysdeps/generic/initfini.c.
78160 * sysdeps/i386/elf/Makefile: Remove file.
78161 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78162
78163 2012-02-07 Marek Polacek <polacek@redhat.com>
78164
78165 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78166 * sysdeps/gnu/_G_config.h: Likewise.
78167 * sysdeps/mach/hurd/_G_config.h: Likewise.
78168
78169 2012-02-07 Marek Polacek <polacek@redhat.com>
78170
78171 * math/Makefile (tests): Add tst-CMPLX2.
78172 * math/tst-CMPLX2.c: New file.
78173
78174 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
78175
78176 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78177
78178 * math/libm-test.inc (jn_test): Add missing L suffix.
78179
78180 2012-02-06 Marek Polacek <polacek@redhat.com>
78181
78182 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78183 * sysdeps/i386/fpu/e_powf.S: Likewise.
78184 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78185 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78186 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78187 * sysdeps/i386/fpu/e_pow.S: Likewise.
78188 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78189 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78190 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78191 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78192 * sysdeps/i386/fpu/e_log2.S: Likewise.
78193 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78194 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78195 * sysdeps/i386/fpu/e_powl.S: Likewise.
78196 * sysdeps/i386/fpu/s_log1p.S: Likewise.
78197 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78198 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78199 * sysdeps/i386/fpu/e_logl.S: Likewise.
78200 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78201 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78202 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78203 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78204 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78205 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78206 * sysdeps/i386/fpu/e_log.S: Likewise.
78207 * sysdeps/i386/fpu/s_cexp.S: Likewise.
78208 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78209 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78210 * sysdeps/i386/fpu/e_logf.S: Likewise.
78211 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78212 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78213 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78214 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78215 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78216 * sysdeps/i386/fpu/e_log10.S: Likewise.
78217 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78218 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78219 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78220 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78221 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78222 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78223 * sysdeps/i386/asm-syntax.h: Likewise.
78224 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78225 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78226 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78227 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78228 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78229 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78230 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78231 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78232 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78233 * sysdeps/powerpc/sysdep.h: Likewise.
78234 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78235 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78236
78237 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78238
78239 [BZ #411]
78240 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78241
78242 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78243
78244 * sysdeps/i386/sysdep.h: Include <features.h>.
78245 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78246 version.
78247
78248 2012-02-05 Joseph Myers <joseph@codesourcery.com>
78249
78250 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78251 Define.
78252 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78253 LOAD_PIC_REG_STR.
78254
78255 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78256
78257 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78258 (SETUP_PIC_REG): Use GET_PC_THUNK.
78259 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78260 macro.
78261
78262 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78263
78264 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78265 for non-PIC compilation.
78266 (SETUP_PIC_REG): Add .p2align directive.
78267 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78268 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78269 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78270 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78271 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78272 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78273 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78274 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78275 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78276 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78277 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78278 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78279 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78280 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78281 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78282 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78283 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78284 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78285 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78286 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78287 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78288 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78289 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78290 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78293 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78294 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78295 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78296 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78297 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78299 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78300 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78301 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78302 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78303 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78304 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78305 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78306 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78307 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78308
78309 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78310
78311 * math/tst-CMPLX.c: Include <stdio.h>.
78312
78313 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78314
78315 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78316 float.
78317 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78318 * sysdeps/sparc/bits/mathdef.h: Likewise.
78319
78320 2012-01-31 Marek Polacek <polacek@redhat.com>
78321
78322 * libio/libio.h: Don't define _PARAMS.
78323 * locale/programs/config.h: Don't define PARAMS.
78324 * stdlib/strtol_l.c: Likewise.
78325 (__strtol_l): Remove PARAMS from the prototype.
78326
78327 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78328
78329 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78330 names. Just use the correct names. Remove unnecessary wrapper
78331 functions.
78332 * malloc/arena.c: Likewise.
78333 * malloc/hooks.c: Likewise.
78334
78335 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78336 ARENA_TEST says not to. Simplify test for creation of a new arena.
78337 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78338
78339 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78340
78341 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78342 into tail calls.
78343 (update_get_addr): New function.
78344 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78345 GET_ADDR_MODULE parameter.
78346
78347 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78348
78349 * crypt/cert.c: Remove __STDC__ conditionals.
78350 * crypt/crypt-entry.c: Likewise.
78351 * crypt/crypt_util.c: Likewise.
78352 * libio/filedoalloc.c: Likewise.
78353 * libio/fileops.c: Likewise.
78354 * libio/genops.c: Likewise.
78355 * libio/iofclose.c: Likewise.
78356 * libio/iofdopen.c: Likewise.
78357 * libio/iofopen.c: Likewise.
78358 * libio/iofopen64.c: Likewise.
78359 * libio/iogetdelim.c: Likewise.
78360 * libio/iopopen.c: Likewise.
78361 * libio/obprintf.c: Likewise.
78362 * libio/oldfileops.c: Likewise.
78363 * libio/oldiofclose.c: Likewise.
78364 * libio/oldiofdopen.c: Likewise.
78365 * libio/oldiofopen.c: Likewise.
78366 * libio/oldiopopen.c: Likewise.
78367 * libio/wfiledoalloc.c: Likewise.
78368 * libio/wgenops.c: Likewise.
78369 * locale/programs/xmalloc.c: Likewise.
78370 * misc/syslog.c: Likewise.
78371 * stdio-common/xbug.c: Likewise.
78372 * string/memchr.c: Likewise.
78373 * string/memcmp.c: Likewise.
78374 * string/memrchr.c: Likewise.
78375 * string/rawmemchr.c: Likewise.
78376 * sysdeps/posix/getcwd.c: Likewise.
78377 * time/strftime_l.c: Likewise.
78378
78379 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78380
78381 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78382 * config.make.in (config-cflags-sse2avx): Define.
78383 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78384 Fix typo.
78385
78386 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78387
78388 * scripts/config.guess: Update from upstream config git repository.
78389 * scripts/config.sub: Likewise.
78390
78391 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78392
78393 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78394 (EM_NUM): Update.
78395 (R_TILEPRO_*, R_TILEGX_*): New macros.
78396
78397 * scripts/firstversions.awk: Fix bug in version range handling.
78398
78399 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78400
78401 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78402
78403 * include/sys/epoll.h: New file.
78404 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78405 libc_hidden_def.
78406
78407 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78408
78409 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78410 Avoid unnecessary __WORDSIZE == 64 test.
78411 (fmaxf): Use VEX format if possible.
78412 (fmax): Likewise.
78413 (fminf): Likewise.
78414 (fmin): Likewise.
78415
78416 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78417 * math/math_private.h: Remove libc_fegetround* and
78418 libc_fesetround*.
78419 * sysdeps/i386/configure.in: Check for -msse2avx.
78420 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78421 also if SSE2AVX is defined.
78422 Remove libc_fegetround* and libc_fesetround*.
78423 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78424 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78426 of HAS_YMM_USABLE.
78427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78432
78433 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78434
78435 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78436
78437 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78438 size is not set.
78439 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78440
78441 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78442
78443 [BZ #13618]
78444 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78445 relocation.
78446 * Makeconfig (libm): Define.
78447 * elf/Makefile: Add rules to build and run tst-relsort1.
78448 * elf/tst-relsort1.c: New file.
78449 * elf/tst-relsort1mod1.c: New file.
78450 * elf/tst-relsort1mod2.c: New file.
78451
78452 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78453
78454 * math/s_ldexp.c: Remove __STDC__ conditionals.
78455 * math/s_ldexpf.c: Likewise.
78456 * math/s_ldexpl.c: Likewise.
78457 * math/s_nextafter.c: Likewise.
78458 * math/s_nexttowardf.c: Likewise.
78459 * math/s_significand.c: Likewise.
78460 * math/s_significandf.c: Likewise.
78461 * math/s_significandl.c: Likewise.
78462 * math/w_jnl.c: Likewise.
78463 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78464 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78465 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78466 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78467 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78468 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78469 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78470 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78471 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78472 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78473 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78474 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78475 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78476 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78477 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78478 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78479 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78480 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78482 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78483 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78484 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78485 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78487 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78488 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78489 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78490 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78491 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78492 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78493 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78494 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78495 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78496 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78497 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78498 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78499 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78500 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78501 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78502 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78503 * sysdeps/ieee754/k_standard.c: Likewise.
78504 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78505 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78506 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78511 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78512 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78513 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78514 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78515 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78516 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78517 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78518 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78520 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78522 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78523 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78524 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78525 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78526 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78527 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78528 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78529 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78533 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78534 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78535 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78536 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78537 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78539 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78540 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78541 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78543 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78544 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78546 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78547 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78548 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78549 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78550 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78551 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78552 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78553 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78554 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78555 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78556 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78557 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78558 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78559 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78560 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78561 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78562 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78563 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78564 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78565 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78566 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78567 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78568 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78569 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78570 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78571 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78572 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78573 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78574 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78575 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78576 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78577 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78578 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78579 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78580 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78581 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78582 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78583 * sysdeps/ieee754/s_matherr.c: Likewise.
78584 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78585 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78588
78589 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78590
78591 * crypt/md5.h: Remove __STDC__ conditionals.
78592 * libio/libioP.h: Likewise.
78593 * locale/programs/config.h: Likewise.
78594 * sysdeps/generic/sysdep.h: Likewise.
78595 * sysdeps/i386/asm-syntax.h: Likewise.
78596 * sysdeps/s390/asm-syntax.h: Likewise.
78597 * sysdeps/unix/sysdep.h: Likewise.
78598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78600
78601 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78602
78603 * libio/libio.h: Remove __STDC__ conditionals.
78604 * malloc/obstack.h: Likewise.
78605 * math/complex.h: Likewise.
78606 * math/math.h: Likewise.
78607 * sysdeps/generic/_G_config.h: Likewise.
78608 * sysdeps/gnu/_G_config.h: Likewise.
78609 * sysdeps/mach/hurd/_G_config.h: Likewise.
78610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78611 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78612 * sysdeps/sparc/bits/mathdef.h: Likewise.
78613
78614 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78615
78616 [BZ #13583]
78617 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78618 Clean up HAS_* macros.
78619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78620 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78621 possible.
78622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78623 HAS_AVX.
78624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78629
78630 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78631
78632 * elf/tst-unique3.cc (gets): Remove declaration.
78633 * elf/tst-unique3lib.cc (gets): Likewise.
78634 * elf/tst-unique3lib2.cc (gets): Likewise.
78635 * elf/tst-unique4.cc (gets): Likewise.
78636
78637 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78638
78639 * include/stdio.h: Add C++ protection. Add gets declarations and
78640 definitions.
78641 * debug/tst-chk1.c: Don't declare gets here.
78642 * stdio-common/tst-gets.c: Likewise.
78643
78644 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78645
78646 * posix/glob: Remove directory.
78647
78648 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78649
78650 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78651
78652 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78653
78654 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78655 of the non-standard EPFNOSUPPORT.
78656
78657 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78658
78659 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78660 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78661 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78662
78663 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78664
78665 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78666
78667 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78668
78669 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78670 transient errors.
78671 * nscd/grpcache.c (cache_addgr): Likewise.
78672 * nscd/hstcache.c (cache_addhst): Likewise.
78673 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78674 * nscd/pwdcache.c (cache_addpw): Likewise.
78675 * nscd/servicescache.c (cache_addserv): Likewise.
78676
78677 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78678
78679 * malloc/malloc.c: Various cleanups.
78680 * malloc/hooks.c: Likewise.
78681
78682 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78683 * stdlib/bug-fmtmsg1.c: New file.
78684
78685 * stdlib/fmtmsg.c (init): Add missing unlock.
78686 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78687
78688 2012-01-12 Marek Polacek <polacek@redhat.com>
78689
78690 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78691 and _GNU_SOURCE.
78692
78693 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78694
78695 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78696 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78697 macro to ensure uniqueness of label name.
78698 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78699 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78700
78701 2012-01-11 Ulrich Drepper <drepper@gmail.com>
78702
78703 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78704
78705 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78706 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78707 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78709
78710 2012-01-10 Ulrich Drepper <drepper@gmail.com>
78711
78712 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78713
78714 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78715 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78716 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78717
78718 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78719
78720 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78721 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78724
78725 * math/bits/math-finite.h: Add ldexp support.
78726
78727 2012-01-10 Marek Polacek <polacek@redhat.com>
78728
78729 * locale/programs/localedef.h (show_archive_content): Add noreturn
78730 attribute.
78731
78732 2012-01-09 Ulrich Drepper <drepper@gmail.com>
78733
78734 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78735
78736 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78737
78738 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78739
78740 * io/Makefile (headers): Add bits/poll2.h.
78741
78742 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
78743
78744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78745 typo #include statement.
78746
78747 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78748
78749 * include/sys/cdefs.h: Define __attribute_alloc_size.
78750 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78751 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78752 * elf/pldd.c: Likewise.
78753 * iconv/iconv_charmap.c: Likewise.
78754 * iconv/iconvconfig.c: Likewise.
78755 * iconv/strtab.c: Likewise.
78756 * locale/programs/locale.c: Likewise.
78757 * locale/programs/localedef.h: Likewise.
78758 * locale/programs/simple-hash.c: Likewise.
78759 * nscd/nscd.h: Likewise.
78760 * nss/makedb.c: Likewise.
78761 * sysdeps/generic/ldconfig.h: Likewise.
78762 * locale/programs/localedef.c: Remove xmalloc prototype.
78763 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78764
78765 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78766
78767 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78768 appropriate.
78769
78770 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78771
78772 * math/Makefile (tests): Add tst-CMPLX.
78773 * math/tst-CMPLX.c: New file.
78774
78775 * math/complex.h (CMPLXL): Fix typo.
78776
78777 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78778 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78779 GLIBC_2.16.
78780 * debug/tst-chk1.c: Add poll and ppoll tests.
78781 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78782 * include/sys/poll.h: Add hidden proto for ppoll.
78783 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78784 * sysdeps/mach/hurd/ppoll.c: Likewise.
78785 * io/ppoll.c: Likewise.
78786 * debug/poll_chk.c: New file.
78787 * debug/ppoll_chk.c: New file.
78788 * include/bits/poll2.h: New file.
78789 * io/bits/poll2.h: New file.
78790
78791 [BZ #1350]
78792 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78793
78794 * configure.in: static is always set to yes. Remove.
78795 * config.make.in: Don't set build-static.
78796 * Makeconfig: Remove use of build-static.
78797 * dlfcn/Makefile: Likewise.
78798 * elf/Makefile: Likewise.
78799 * math/Makefile: Likewise.
78800 * misc/Makefile: Likewise.
78801 * nptl/Makefile: Likewise.
78802 * sysdeps/mach/hurd/Makefile: Likewise.
78803
78804 * configure.in: PWD_P is not used anymore.
78805 * config.make.in: Remove PWD_P entry.
78806
78807 * configure.in: Remove last remnants of RANLIB.
78808 No need to check for signed size_t anymore.
78809 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78810 and IA-64.
78811 Remove __builtin_expect test because we require at least gcc 3.4.
78812 * aclocal.m4: Likewise.
78813
78814 * wcsmbs/mbrtoc16.c: Implement using towc function.
78815 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78816 * wcsmbs/wcsmbsload.c: Likewise.
78817 * iconv/gconv_simple.c: Likewise.
78818 * iconv/gconv_int.h: Likewise.
78819 * iconv/gconv_builtin.h: Likewise.
78820 * iconv/iconv_prog.c: Remove CHAR16 handling.
78821
78822 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78823
78824 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78825
78826 * configure.in: Remove --with-elf and --enable-bounded options.
78827 Dont set base_machine for ia64. More non-ELF conditions removed.
78828 Remove testing and setting of leading underscore information.
78829 * config.make.in (build-bounded): Set to no.
78830 * config.h.in: Remove NO_UNDERSCORES entry.
78831 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78832 them.
78833 * csu/start.c: Remove !NO_UNDERSCORE code.
78834 * locale/localeinfo.h: Likewise.
78835 * sysdeps/generic/machine-gmon.h: Likewise.
78836 * sysdeps/generic/sysdep.h: Likewise.
78837 * sysdeps/i386/sysdep.h: Likewise.
78838 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78839 * sysdeps/mach/sysdep.h: Likewise.
78840 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78842 * sysdeps/sh/sysdep.h: Likewise.
78843 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78844 * sysdeps/unix/i386/sysdep.S: Likewise.
78845 * sysdeps/unix/sparc/start.c: Likewise.
78846 * sysdeps/unix/sparc/sysdep.S: Likewise.
78847 * sysdeps/unix/sparc/sysdep.h: Likewise.
78848 * sysdeps/unix/start.c: Likewise.
78849 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78850 * sysdeps/x86_64/sysdep.h: Likewise.
78851
78852 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78853
78854 [BZ #13553]
78855 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78856 for non-gcc.
78857 * argp/argp-fmtstream.h: Use const instead __const.
78858 * argp/argp.h: Likewise.
78859 * assert/assert.h: Likewise.
78860 * bits/fenv.h: Likewise.
78861 * bits/sched.h: Likewise.
78862 * bits/sigset.h: Likewise.
78863 * bits/sigthread.h: Likewise.
78864 * catgets/nl_types.h: Likewise.
78865 * conform/data/pthread.h-data: Likewise.
78866 * crypt/crypt-private.h: Likewise.
78867 * crypt/crypt.h: Likewise.
78868 * crypt/crypt_util.c: Likewise.
78869 * ctype/ctype.h: Likewise.
78870 * debug/execinfo.h: Likewise.
78871 * debug/mbsnrtowcs_chk.c: Likewise.
78872 * debug/mbsrtowcs_chk.c: Likewise.
78873 * debug/wcsnrtombs_chk.c: Likewise.
78874 * debug/wcsrtombs_chk.c: Likewise.
78875 * debug/wcstombs_chk.c: Likewise.
78876 * dirent/dirent.h: Likewise.
78877 * dlfcn/dlfcn.h: Likewise.
78878 * elf/neededtest4.c: Likewise.
78879 * grp/grp.h: Likewise.
78880 * gshadow/gshadow.h: Likewise.
78881 * iconv/gconv.h: Likewise.
78882 * iconv/gconv_int.h: Likewise.
78883 * iconv/gconv_simple.c: Likewise.
78884 * iconv/iconv.h: Likewise.
78885 * iconv/loop.c: Likewise.
78886 * iconv/skeleton.c: Likewise.
78887 * include/aio.h: Likewise.
78888 * include/aliases.h: Likewise.
78889 * include/argz.h: Likewise.
78890 * include/arpa/inet.h: Likewise.
78891 * include/assert.h: Likewise.
78892 * include/dirent.h: Likewise.
78893 * include/dlfcn.h: Likewise.
78894 * include/execinfo.h: Likewise.
78895 * include/fcntl.h: Likewise.
78896 * include/fenv.h: Likewise.
78897 * include/glob.h: Likewise.
78898 * include/grp.h: Likewise.
78899 * include/libintl.h: Likewise.
78900 * include/mntent.h: Likewise.
78901 * include/netdb.h: Likewise.
78902 * include/pwd.h: Likewise.
78903 * include/rpc/netdb.h: Likewise.
78904 * include/sched.h: Likewise.
78905 * include/search.h: Likewise.
78906 * include/shadow.h: Likewise.
78907 * include/signal.h: Likewise.
78908 * include/stdio.h: Likewise.
78909 * include/stdlib.h: Likewise.
78910 * include/string.h: Likewise.
78911 * include/sys/socket.h: Likewise.
78912 * include/sys/stat.h: Likewise.
78913 * include/sys/statfs.h: Likewise.
78914 * include/sys/statvfs.h: Likewise.
78915 * include/sys/syslog.h: Likewise.
78916 * include/sys/time.h: Likewise.
78917 * include/sys/uio.h: Likewise.
78918 * include/time.h: Likewise.
78919 * include/unistd.h: Likewise.
78920 * include/utmp.h: Likewise.
78921 * include/wchar.h: Likewise.
78922 * include/wctype.h: Likewise.
78923 * inet/aliases.h: Likewise.
78924 * inet/arpa/inet.h: Likewise.
78925 * inet/netinet/ether.h: Likewise.
78926 * inet/netinet/in.h: Likewise.
78927 * intl/libintl.h: Likewise.
78928 * io/bits/fcntl2.h: Likewise.
78929 * io/fcntl.h: Likewise.
78930 * io/ftw.h: Likewise.
78931 * io/sys/poll.h: Likewise.
78932 * io/sys/stat.h: Likewise.
78933 * io/sys/statfs.h: Likewise.
78934 * io/sys/statvfs.h: Likewise.
78935 * io/utime.h: Likewise.
78936 * libio/bits/stdio.h: Likewise.
78937 * libio/bits/stdio2.h: Likewise.
78938 * libio/libio.h: Likewise.
78939 * libio/libioP.h: Likewise.
78940 * libio/stdio.h: Likewise.
78941 * locale/lc-ctype.c: Likewise.
78942 * locale/locale.h: Likewise.
78943 * login/utmp.h: Likewise.
78944 * malloc/arena.c: Likewise.
78945 * malloc/malloc.c: Likewise.
78946 * malloc/malloc.h: Likewise.
78947 * malloc/mcheck.c: Likewise.
78948 * malloc/mtrace.c: Likewise.
78949 * math/bits/mathcalls.h: Likewise.
78950 * math/fenv.h: Likewise.
78951 * math/math_private.h: Likewise.
78952 * misc/bits/error.h: Likewise.
78953 * misc/bits/syslog.h: Likewise.
78954 * misc/err.h: Likewise.
78955 * misc/error.h: Likewise.
78956 * misc/fstab.h: Likewise.
78957 * misc/mntent.h: Likewise.
78958 * misc/regexp.h: Likewise.
78959 * misc/search.h: Likewise.
78960 * misc/sgtty.h: Likewise.
78961 * misc/sys/mman.h: Likewise.
78962 * misc/sys/syslog.h: Likewise.
78963 * misc/sys/uio.h: Likewise.
78964 * misc/sys/xattr.h: Likewise.
78965 * misc/ttyent.h: Likewise.
78966 * nis/rpcsvc/ypclnt.h: Likewise.
78967 * nss/nss.h: Likewise.
78968 * posix/bits/unistd.h: Likewise.
78969 * posix/fnmatch.h: Likewise.
78970 * posix/glob.h: Likewise.
78971 * posix/sched.h: Likewise.
78972 * posix/spawn.h: Likewise.
78973 * posix/sys/wait.h: Likewise.
78974 * posix/unistd.h: Likewise.
78975 * posix/wordexp.h: Likewise.
78976 * pwd/pwd.h: Likewise.
78977 * resolv/netdb.h: Likewise.
78978 * resource/sys/resource.h: Likewise.
78979 * rt/aio.h: Likewise.
78980 * rt/bits/mqueue2.h: Likewise.
78981 * rt/mqueue.h: Likewise.
78982 * shadow/shadow.h: Likewise.
78983 * signal/signal.h: Likewise.
78984 * socket/send.c: Likewise.
78985 * socket/sendto.c: Likewise.
78986 * socket/sys/socket.h: Likewise.
78987 * stdio-common/printf.h: Likewise.
78988 * stdlib/bits/stdlib.h: Likewise.
78989 * stdlib/fmtmsg.h: Likewise.
78990 * stdlib/monetary.h: Likewise.
78991 * stdlib/stdlib.h: Likewise.
78992 * stdlib/ucontext.h: Likewise.
78993 * streams/stropts.h: Likewise.
78994 * string/argz.h: Likewise.
78995 * string/bits/string2.h: Likewise.
78996 * string/string.h: Likewise.
78997 * string/strings.h: Likewise.
78998 * sunrpc/rpc/auth.h: Likewise.
78999 * sunrpc/rpc/auth_des.h: Likewise.
79000 * sunrpc/rpc/clnt.h: Likewise.
79001 * sunrpc/rpc/netdb.h: Likewise.
79002 * sunrpc/rpc/pmap_clnt.h: Likewise.
79003 * sunrpc/rpc/xdr.h: Likewise.
79004 * sysdeps/generic/inttypes.h: Likewise.
79005 * sysdeps/generic/net/if.h: Likewise.
79006 * sysdeps/generic/sys/swap.h: Likewise.
79007 * sysdeps/gnu/net/if.h: Likewise.
79008 * sysdeps/gnu/utmpx.h: Likewise.
79009 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79010 * sysdeps/i386/i486/bits/string.h: Likewise.
79011 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79012 * sysdeps/s390/bits/string.h: Likewise.
79013 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79014 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79015 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79016 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79017 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79018 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79019 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79020 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79021 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79022 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79023 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79024 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79025 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79026 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79027 * sysdeps/unix/sysv/linux/readv.c: Likewise.
79028 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79029 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79031 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79032 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79033 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79034 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79035 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79036 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79037 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79038 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79039 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79040 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79041 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79042 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79043 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79044 * sysvipc/sys/ipc.h: Likewise.
79045 * sysvipc/sys/msg.h: Likewise.
79046 * sysvipc/sys/sem.h: Likewise.
79047 * sysvipc/sys/shm.h: Likewise.
79048 * termios/termios.h: Likewise.
79049 * time/sys/time.h: Likewise.
79050 * time/time.h: Likewise.
79051 * wcsmbs/bits/wchar2.h: Likewise.
79052 * wcsmbs/uchar.h: Likewise.
79053 * wcsmbs/wchar.h: Likewise.
79054 * wctype/wctype.h: Likewise.
79055
79056 [BZ #13551]
79057 * Makeconfig: Remove all but ELF support including AIX support.
79058 * Makerules: Likewise.
79059 * config.h.in: Likewise.
79060 * config.make.in: Likewise.
79061 * configure: Likewise.
79062 * configure.in: Likewise.
79063 * csu/Makefile: Likewise.
79064 * csu/version.c: Likewise.
79065 * debug/Makefile: Likewise.
79066 * dlfcn/Makefile: Likewise.
79067 * elf/Makefile: Likewise.
79068 * extra-lib.mk: Likewise.
79069 * iconv/Makefile: Likewise.
79070 * include/libc-symbols.h: Likewise.
79071 * include/shlib-compat.h: Likewise.
79072 * resolv/Makefile: Likewise.
79073 * resolv/res_libc.c: Likewise.
79074 * rt/Makefile: Likewise.
79075 * sysdeps/i386/asm-syntax.h: Likewise.
79076 * sysdeps/i386/sysdep.h: Likewise.
79077 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79078 * sysdeps/mach/sysdep.h: Likewise.
79079 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79080 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79081 * sysdeps/s390/asm-syntax.h: Likewise.
79082 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79083 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79084 * sysdeps/sh/sysdep.h: Likewise.
79085 * sysdeps/unix/sparc/sysdep.h: Likewise.
79086 * sysdeps/wordsize-32/divdi3.c: Likewise.
79087 * sysdeps/x86_64/sysdep.h: Likewise.
79088
79089 * argp/Versions: Remove _argp_unlock_xxx.
79090
79091 [BZ #13559]
79092 * abilist/ld.abilist: Update. Adjust for removal of tls option.
79093 * abilist/libBrokenLocale.abilist: Likewise.
79094 * abilist/libanl.abilist: Likewise.
79095 * abilist/libc.abilist: Likewise.
79096 * abilist/libcrypt.abilist: Likewise.
79097 * abilist/libdl.abilist: Likewise.
79098 * abilist/libm.abilist: Likewise.
79099 * abilist/libnsl.abilist: Likewise.
79100 * abilist/libpthread.abilist: Likewise.
79101 * abilist/libresolv.abilist: Likewise.
79102 * abilist/librt.abilist: Likewise.
79103 * abilist/libthread_db.abilist: Likewise.
79104 * abilist/libutil.abilist: Likewise.
79105 * abilist/libnss_db.abilist: New file.
79106
79107 * scripts/abilist.awk: Add support for indirect functions.
79108
79109 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79110
79111 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79112
79113 * shlib-versions: Remove entries for ports architectures.
79114
79115 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
79116 files in ports.
79117 * elf/stackguard-macros.h: Remove support for IA-64.
79118 * elf/tst-auditmod1.c: Likewise.
79119 * sysdeps/generic/ldsodefs.h: Likewise.
79120
79121 * sysdeps/unix/sysv/linux/configure.in: Ports should define
79122 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79123 configure files.
79124
79125 [BZ #13552]
79126 * configure.in: Remove --enable-omitfp support.
79127 * FAQ.in: Adjust.
79128 * config.make.in: Likewise.
79129 * Makeconfig: Likewise.
79130 * manual/install.texi: Likewise.
79131
79132 In case anyone cares, the IA-64 architecture could move to ports.
79133 * sysdeps/ia64/*: Removed.
79134 * sysdeps/unix/sysv/linux/ia64/*: Removed.
79135 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79136
79137 [BZ #13555]
79138 * configure.in: Remove entries for unsupported architectures.
79139
79140 [BZ #13533]
79141 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79142 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
79143 routines.
79144 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79145 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79146 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
79147 fall back to using wcrtomb.
79148 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79149 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
79150 renaming.
79151 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79152 * wcsmbs/tst-c16c32-1.c: New file.
79153
79154 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79155 local variable.
79156
79157 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79158
79159 * elf/tst-unique3.cc: Add explicit declaration of gets.
79160 * elf/tst-unique3lib.cc: Likewise.
79161 * elf/tst-unique3lib2.cc: Likewise.
79162 * elf/tst-unique4.cc: Likewise.
79163
79164 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79165
79166 2012-01-06 Joseph Myers <joseph@codesourcery.com>
79167
79168 [BZ #13566]
79169 * assert/assert.h (static_assert): Don't define for C++.
79170 * libio/stdio.h (gets): Do declare for C++ <= C++11.
79171 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79172
79173 2012-01-03 Ulrich Drepper <drepper@gmail.com>
79174
79175 * iconv/loop.c (single loop): Fix assertion in storing of
79176 remaining bytes.
79177
79178 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79179
79180 2012-01-01 Ulrich Drepper <drepper@gmail.com>
79181
79182 * posix/getconf.c: Update copyright year.
79183 * nss/getent.c: Likewise.
79184 * nss/makedb.c: Likewise.
79185 * iconv/iconvconfig.c: Likewise.
79186 * iconv/iconv_prog.c: Likewise.
79187 * elf/ldconfig.c: Likewise.
79188 * elf/pldd.c: Likewise.
79189 * elf/sotruss.ksh: Likewise.
79190 * catgets/gencat.c: Likewise.
79191 * csu/version.c: Likewise.
79192 * elf/ldd.bash.in: Likewise.
79193 * elf/sprof.c (print_version): Likewise.
79194 * locale/programs/locale.c: Likewise.
79195 * locale/programs/localedef.c: Likewise.
79196 * login/programs/pt_chown.c: Likewise.
79197 * nscd/nscd.c (print_version): Likewise.
79198 * debug/xtrace.sh: Likewise.
79199 * malloc/memusage.sh: Likewise.
79200 * malloc/mtrace.pl: Likewise.
79201 * debug/catchsegv.sh: Likewise.
79202
79203 2011-12-30 Jakub Jelinek <jakub@redhat.com>
79204
79205 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79206 pure attribute.
79207
79208 2011-12-24 Ulrich Drepper <drepper@gmail.com>
79209
79210 [BZ #13533]
79211 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79212 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79213 transformations.
79214 * iconv/gconv_int.h: Likewise.
79215 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79216 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79217 from libc for GLIBC_2.16.
79218 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79219 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79220 * wcsmbs/uchar.h: Really define mbstate_t.
79221 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79222 * wcsmbs/c16rtomb.c: New file.
79223 * wcsmbs/mbrtoc16.c: New file.
79224 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79225 for C/POSIX locale.
79226 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79227 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79228
79229 * wcsmbs/wchar.h: Add missing __restrict.
79230
79231 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79232
79233 [BZ #13532]
79234 * time/Makefile (routines): Add timespec_get.
79235 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79236 * time/time.h: Define TIME_UTC and declare timespec_get. Define
79237 timespec for ISO C11.
79238 * time/timespec_get.c: New file.
79239 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79240 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79241
79242 [BZ #13531]
79243 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79244 * stdlib/stdlib.h: Declare aligned_alloc.
79245 * Versions.def: Add GLIBC_2.16 for libc.
79246 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79247
79248 [BZ 13527]
79249 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79250 ISO C11.
79251
79252 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79253 code.
79254
79255 [BZ #13528]
79256 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79257
79258 [BZ #13529]
79259 * assert/assert.h (static_assert): Define.
79260
79261 * version.h: Update for 2.16 development version.
79262
79263 [BZ #13526]
79264 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79265 _ISOC11_SOURCE.
79266
79267 * version.h (RELEASE): Bump for 2.15 release.
79268 * include/features.h (__GLIBC_MINOR__): Bump to 15.
79269
79270 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79271 Patch by Marek Polacek <mpolacek@redhat.com>.
79272
79273 * bits/byteswap.h: Protect long long constants with __extension__.
79274 * sysdeps/i386/bits/byteswap.h: Likewise.
79275 * sysdeps/ia64/bits/byteswap.h: Likewise.
79276 * sysdeps/s390/bits/byteswap.h: Likewise.
79277 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79278
79279 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79280
79281 [BZ #13540]
79282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79283 destination buffer.
79284 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79285
79286 2011-12-23 Marek Polacek <polacek@redhat.com>
79287
79288 * elf/dl-addr.c (determine_info): Add inline keyword.
79289 * elf/tst-auditmod4b.c (check_avx): Likewise.
79290 * elf/tst-auditmod6b.c (check_avx): Likewise.
79291 * elf/tst-auditmod6c.c (check_avx): Likewise.
79292 * elf/tst-auditmod7b.c (check_avx): Likewise.
79293
79294 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79295
79296 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79297 !__SSE_MATH__.
79298
79299 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79300
79301 [BZ #13540]
79302 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79303 processing for last bytes.
79304
79305 2011-08-06 Bruno Haible <bruno@clisp.org>
79306
79307 [BZ #13061]
79308 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79309 U+0385, not to U+1FEE.
79310
79311 [BZ #13062]
79312 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79313 entry for U+00A5 U+0301.
79314
79315 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79316
79317 [BZ #13166]
79318 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79319 buffer for the output is too small.
79320
79321 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79322 optimization.
79323
79324 [BZ #13185]
79325 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79326 SSE flags if possible.
79327
79328 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79329
79330 [BZ #13540]
79331 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79332 processing for last bytes.
79333
79334 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79335
79336 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79337 (syscall-list-default-options, syscall-list-default-condition)
79338 (syscall-list-includes): Define.
79339 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79340 list of ABIs and options and #if conditions for each ABI. Do not
79341 handle common syscalls between ABIs specially.
79342 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79343 Remove.
79344 (syscall-list-variants, syscall-list-32bit-options)
79345 (syscall-list-32bit-condition, syscall-list-64bit-options)
79346 (syscall-list-64bit-condition): Define.
79347 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79348 (syscall-list-variants, syscall-list-32bit-options)
79349 (syscall-list-32bit-condition, syscall-list-64bit-options)
79350 (syscall-list-64bit-condition): Define.
79351 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79352 Remove.
79353 (syscall-list-variants, syscall-list-32bit-options)
79354 (syscall-list-32bit-condition, syscall-list-64bit-options)
79355 (syscall-list-64bit-condition): Define.
79356 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79357 Remove.
79358 (syscall-list-variants, syscall-list-32bit-options)
79359 (syscall-list-32bit-condition, syscall-list-64bit-options)
79360 (syscall-list-64bit-condition): Define.
79361
79362 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79363
79364 * locale/iso-639.def: Add brx entry.
79365
79366 [BZ #13328]
79367 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79368 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79369
79370 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79371 __feraiseexcept_renamed.
79372
79373 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79374
79375 [BZ #13538]
79376 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79377 EPOLLET with unsigned values.
79378 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79379 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79380
79381 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79382 to large cancellation.
79383 * math/s_cacoshf.c: Likewise.
79384 * math/s_cacoshl.c: Likewise.
79385
79386 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79387
79388 [BZ #13305]
79389 [BZ #12786]
79390 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79391 * math/s_cacoshf.c: Likewise.
79392 * math/s_cacoshl.c: Likewise.
79393
79394 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79395
79396 [BZ #13439]
79397 * iconv/gconv.h: Define __GCONV_SWAP.
79398 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79399 * iconvdata/utf-16.c: Likewise.
79400 * iconvdata/utf-32.c: Likewise.
79401
79402 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79403
79404 [BZ #13524]
79405 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79406 numerator after shifting it by one limb.
79407
79408 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79409
79410 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79411 under [__USE_EXTERN_INLINES].
79412
79413 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79414
79415 [BZ #13446]
79416 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79417
79418 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79419
79420 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79421 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79422 optimized code.
79423 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79424 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79425 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79426 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79427 for strncasecmp/strncasecmp_l compilation.
79428 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79429 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79430
79431 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79432
79433 [BZ #13484]
79434 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79435 of __asm__.
79436
79437 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79438
79439 [BZ #13506]
79440 * time/tzfile.c (__tzfile_read): Check values from file header.
79441
79442 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79443
79444 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79445 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79446 * powerpc/powerpc32/dl-start.S: Likewise.
79447 * powerpc/powerpc32/elf/start.S: Likewise.
79448 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79449 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79450 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79451 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79452 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79453 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79454 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79455 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79456 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79457 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79458 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79459 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79460 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79461 * powerpc/powerpc32/memset.S: Likewise.
79462 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79463 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79464 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79465 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79466 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79467 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79468 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79469 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79470 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79471 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79472 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79473 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79474 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79475
79476 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79477
79478 * math/libm-test.inc: Added more nearbyint tests.
79479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79480 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79482 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79483
79484 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79485
79486 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79487 FD_CLOEXEC.
79488
79489 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79490
79491 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79492 Add wcscpy-ssse3 wcscpy-c.
79493 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79494 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79495 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79496 * sysdeps/x86_64/wcschr.S: New file.
79497 * sysdeps/x86_64/wcsrchr.S: New file.
79498 * string/test-strcmp.c: Remove checking of wcscmp function for
79499 wrong alignments.
79500 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79501 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79502 wcsrchr-sse2 wcsrchr-c.
79503 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79504 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79505 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79506 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79507 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79508 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79509 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79510 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79511 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79512 * wcsmbc/wcschr.c (WCSCHR): New macro.
79513
79514 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79515
79516 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79517 * wcsmbs/test-wcsrchr.c: New file.
79518 * string/test-strrchr.c: Add wcsrchr support.
79519 (WIDE): New macro.
79520 * wcsmbs/test-wcscpy.c: New file.
79521 * string/test-strcpy.c: Add wcscpy support.
79522 (WIDE): New macro.
79523
79524 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79525
79526 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79527 the inner loop.
79528
79529 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79530
79531 [BZ #13472]
79532 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79533
79534 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79535
79536 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79537 Minor optimizations.
79538
79539 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79540 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79541 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79542
79543 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79544
79545 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79546 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79547 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79548 for gcc to avoid warnings.
79549 * inet/Makefile (tests): Add tst-checks.
79550 * inet/tst-checks.c: New file.
79551
79552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79553 warning.
79554
79555 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79556 __wmemcmp_sse2.
79557
79558 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79559 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79560
79561 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79562
79563 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79564
79565 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79566 problem.
79567
79568 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79569
79570 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79571
79572 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79573 conditional on GCC version.
79574 (__arch_compare_and_exchange_val_8_acq)
79575 (__arch_compare_and_exchange_val_16_acq)
79576 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79577 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79578 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79579
79580 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79581
79582 * sysdeps/sh/backtrace.c: New file.
79583
79584 2011-12-02 Andreas Schwab <schwab@redhat.com>
79585
79586 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79587 parenthesis.
79588
79589 2011-12-01 Andreas Schwab <schwab@redhat.com>
79590
79591 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79592 falling back to utime.
79593
79594 2011-11-30 Andreas Schwab <schwab@redhat.com>
79595
79596 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79597 expectations for float.
79598
79599 2011-11-29 Andreas Schwab <schwab@redhat.com>
79600
79601 * locale/weight.h (findidx): Add parameter len.
79602 * locale/weightwc.h (findidx): Likewise.
79603 * posix/fnmatch_loop.c (FCT): Adjust caller.
79604 * posix/regcomp.c (build_equiv_class): Likewise.
79605 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79606 * posix/regexec.c (check_node_accept_bytes): Likewise.
79607 * string/strcoll_l.c (STRCOLL): Likewise.
79608 * string/strxfrm_l.c (STRXFRM): Likewise.
79609
79610 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79611
79612 * Makefile.in: Remove CVSOPT handling.
79613 * configure.in: Remove use of AC_REVISION.
79614 * iconvdata/Makefile (distribute): No need to filter out CVS.
79615 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79616 handling.
79617
79618 2011-11-16 Andreas Schwab <schwab@redhat.com>
79619
79620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79621 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79622 [USE_AS_STRNCASECMP_L]: Likewise.
79623 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79624 NO_TLS_DIRECT_SEG_REFS.
79625 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79626 Fix argument offsets for non-PIC.
79627 [USE_AS_STRNCASECMP_L]: Likewise.
79628 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79629 NO_TLS_DIRECT_SEG_REFS.
79630
79631 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79632
79633 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79634 O_CLOEXEC.
79635 * locale/loadlocale.c (_nl_load_locale): Likewise.
79636
79637 2011-11-15 Andreas Schwab <schwab@redhat.com>
79638
79639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79640 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79641 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79642 (SYSCALL_GETTIME): Set errno on error.
79643
79644 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79645 count references to noai6ai_cached.
79646
79647 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79648
79649 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79650
79651 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79652 FD_CLOEXEC for /proc/self/maps.
79653
79654 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79655 FD_CLOEXEC for /proc/meminfo.
79656
79657 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79658 gai.conf.
79659
79660 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79661 FD_CLOEXEC for given file.
79662
79663 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79664
79665 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79666 FD_CLOEXEC for /etc/hosts.
79667 (_gethtent): Likewise.
79668
79669 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79670
79671 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79672 cancellation and set FD_CLOEXEC for /etc/netgroup.
79673
79674 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79675 reading /etc/publickey.
79676
79677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79678 allow cancellation when reading /etc/group.
79679
79680 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79681 cancellation.
79682 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79683
79684 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79685 when using data file.
79686
79687 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79688
79689 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79690 (write_nis_obj): Use "c" and "e" in fopen.
79691
79692 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79693
79694 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79695
79696 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79697
79698 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79699
79700 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79701 locale.alias.
79702
79703 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79704
79705 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79706
79707 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79708
79709 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79710 file parsing and set FD_CLOEXEC.
79711
79712 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79713
79714 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79715
79716 2011-11-14 Andreas Schwab <schwab@redhat.com>
79717
79718 * malloc/arena.c (arena_get2): Don't call reused_arena when
79719 _int_new_arena failed.
79720
79721 2011-11-14 Ulrich Drepper <drepper@gmail.com>
79722
79723 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79724 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79726 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79727 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79729 to compile strcasecmp and strncasecmp.
79730 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79731 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79732
79733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79734
79735 2011-11-13 Ulrich Drepper <drepper@gmail.com>
79736
79737 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79738 locale-defines.sym to gen-as-const-headers.
79739 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79740 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79742 to compile strcasecmp and strncasecmp.
79743 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79744 strcasecmp_l and strncasecmp_l.
79745 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79746 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79747 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79748 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79749 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79750 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79751 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79752 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79753 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79754 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79755 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79756
79757 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79758
79759 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79760 result of SYSDEP_GETTIME_CPU to retval.
79761 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79762 parameter list to macro. Remove trailing semicolon. Adjust users.
79763
79764 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79765 variable.
79766
79767 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79768 mantissa words.
79769 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79770
79771 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79772 from unused variable.
79773
79774 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79775 DWARF definitions.
79776 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79777 for assembling.
79778
79779 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79780 over namespaces.
79781
79782 * sunrpc/rpc_prot.c (rejected): Fix case value.
79783
79784 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79785 unsigned long long int to avoid warnings in shift.
79786
79787 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79788 of use of trans.
79789 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79790 variable tmp.
79791
79792 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79793 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79794 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79795
79796 * nis/nis_table.c (nis_list): Use variable of correct type for
79797 result of __follow_path call.
79798
79799 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79800
79801 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79802 of math functions ceil, trunc, floor, round, and sqrt, when
79803 avaliable on the platform.
79804 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79805 name clash.
79806 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79807 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79808 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79809
79810 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79811
79812 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79813 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79814
79815 2011-11-11 Roland McGrath <roland@hack.frob.com>
79816
79817 * include/unistd.h: Fix __readlink return type.
79818 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79819
79820 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79821
79822 * stdlib/ucontext.h: Undo last change for makecontext.
79823
79824 2011-11-11 Andreas Schwab <schwab@redhat.com>
79825
79826 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79827
79828 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79829 * setjmp/setjmp.h: Mark functions as non-leaf.
79830 * setjmp/bits/setjmp2.h: Likewise.
79831 * stdlib/ucontext.h: Likewise.
79832
79833 2011-11-10 Andreas Schwab <schwab@redhat.com>
79834
79835 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79836 (reused_arena): Don't check arena limit.
79837 (arena_get2): Atomically check arena limit.
79838
79839 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79840
79841 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79842 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79843
79844 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79845 instructions.
79846
79847 2011-11-07 Andreas Schwab <schwab@redhat.com>
79848
79849 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79850 handler when locking.
79851
79852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79853 Fix size of allocated buffer.
79854
79855 2011-11-04 Andreas Schwab <schwab@redhat.com>
79856
79857 [BZ #10103]
79858 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79859 declarations for long double functions.
79860 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79861
79862 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79863
79864 2011-11-03 Andreas Schwab <schwab@redhat.com>
79865
79866 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79867 installed.
79868
79869 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79870 is disabled.
79871
79872 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79873
79874 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79875
79876 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79877
79878 * include/alloca.h (stackinfo_alloca_round): Define.
79879 (extend_alloca): Use it.
79880 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79881 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79882 here.
79883
79884 * scripts/check-local-headers.sh: Ignore libaudit.h.
79885
79886 * nscd/Makefile (extra-objs): Make recursively expanded.
79887
79888 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79889
79890 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79892
79893 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79894 * posix/tst-rfc3484-2.c: Likewise.
79895 * posix/tst-rfc3484-3.c: Likewise.
79896
79897 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79898 process_vm_writev.
79899 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79900 process_vm_writev.
79901 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79902 process_vm_writev from libc using GLIBC_2.15 version.
79903
79904 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79905
79906 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79907
79908 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79909 stack usage.
79910
79911 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79912
79913 [BZ #13367]
79914 * nss/getent.c (initgroups_keys): Show error message in case no group
79915 names are given.
79916
79917 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79918 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79919 __bump_nl_timestamp.
79920 * nscd/connections (nscd_init): When host database is served open
79921 netlink socket and request notification about configuration changes.
79922 (main_loop_poll): Track netlink file descriptor and bump timestamp
79923 in case data becomes available.
79924 (main_loop_epoll): Likewise.
79925 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79926 (database_pers_head): Add extra_data fileds.
79927 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79928 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79929 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79930 Adjust caller.
79931 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79932 in6ai data, call __free_in6ai.
79933 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79934 Add -DHAVE_NETLINK.
79935 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79936 interface information. Reuse previous data if netlink timestamp
79937 is not changed.
79938 (__bump_nl_timestamp): New function.
79939 (__free_in6ai): New function.
79940
79941 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79942
79943 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79944 close_not_cancel_no_status here.
79945 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79946
79947 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79948
79949 [BZ #13276]
79950 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79951 return value.
79952
79953 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79954 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79955 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79956
79957 2011-07-03 Andreas Jaeger <aj@suse.de>
79958
79959 [BZ #10709]
79960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79961 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79962 * math/libm-test.inc (sin_test): Add test case.
79963
79964 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79965
79966 [BZ #13337]
79967 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79968 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79969
79970 * elf/chroot_canon.c (chroot_canon): Cleanups.
79971
79972 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79973
79974 [BZ #13335]
79975 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79976 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79977
79978 * string/test-strchr.c: Make usable for strchrnul testing.
79979 * string/test-strchrnul.c: New file.
79980 * string/Makefile (strop-tests): Add strchrnul.
79981
79982 * po/it.po: Update from translation team.
79983 * po/es.po: Likewise.
79984
79985 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79986
79987 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79988 the three constants needed as parameters. Drop the others.
79989 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79990 __m128i_strloadu_tolower.
79991 Create and initialize variable zero and use it in all the places
79992 where _mm_setzero_si128 was used.
79993
79994 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79995 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79996 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79997 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79998 anymore.
79999 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80000 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80001 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80002 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80003 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80004 __mpranred, __mptan.
80005 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80006 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80007 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80008 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80009 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80010 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80011 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80012 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80013 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80014
80015 2011-10-28 Andreas Schwab <schwab@redhat.com>
80016
80017 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80018 redefine if SHARED.
80019 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80020
80021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80022 wide char related routines to wcsmbs subdir.
80023
80024 2011-10-27 Andreas Schwab <schwab@redhat.com>
80025
80026 [BZ #13344]
80027 * misc/sys/cdefs.h (__THROWNL): Define.
80028 * posix/unistd.h: Use __THREADNL instead of __THREAD
80029 for memory synchronization functions.
80030
80031 2011-10-26 Roland McGrath <roland@hack.frob.com>
80032
80033 [BZ #13349]
80034 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80035 doesn't exist.
80036 * manual/stdio.texi (Obstack Streams): Node removed.
80037
80038 2011-10-26 Andreas Schwab <schwab@redhat.com>
80039
80040 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80041 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80042 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80043
80044 * math/math_private.h (math_force_eval): Allow non-addressable
80045 arguments.
80046 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80047
80048 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80049
80050 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80051 file is not needed.
80052
80053 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80054 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80056 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80057 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80058 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80060 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80061 Add AVX variants.
80062 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80063 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80064 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80065 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80066 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80067 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80068 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80069 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80070 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80071 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80072 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80073 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80074 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80075 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80076 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80077 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80078 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80079 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80080 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80081
80082 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80083 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
80084
80085 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80086 place. Use VEX encoding when compiling for AVX.
80087
80088 2011-10-25 Andreas Schwab <schwab@redhat.com>
80089
80090 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80091 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80092
80093 * string/test-strchr.c (do_test): Don't generate NUL bytes.
80094
80095 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80096
80097 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80098 useless if() expression.
80099 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80100 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80101 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80103 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80104 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80105 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80106 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80107 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80109 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80110 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80111 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80112 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80113 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80115 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80117 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80118
80119 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80120
80121 2011-10-25 Andreas Schwab <schwab@redhat.com>
80122
80123 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80124 condition.
80125 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80126
80127 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80128
80129 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80130 .text section. Avoid duplicate constants.
80131 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80133 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80139 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80140 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80141 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80142 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80143 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80144 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80145 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80147 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80148 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80151 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80152 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80153 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80154 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80155 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80156 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80157 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80158 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80159 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80160 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80161 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80162 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80163 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80164 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80165 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80166 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80167 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80169 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80170 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80171 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80172 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80173 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80174 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80175 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80176
80177 2011-10-24 Ulrich Drepper <drepper@gmail.com>
80178
80179 * sysdeps/x86_64/dla.h: Move to ...
80180 * sysdeps/x86_64/fpu/dla.h: ...here.
80181 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80182 situations. Use __builtin_fma only for gcc 4.6 and up.
80183
80184 * config.make.in: Add have-mfma4 entry.
80185 * configure.in: Substitute libc_cv_cc_fma4.
80186 * math/Makefile (dbl-only-routines): Add sincostab.
80187 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80188 Use __sincostab not sincos.
80189 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80190 name is a macro.
80191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80195 using __copysign.
80196 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
80197 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
80198 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80199 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80200 and __inv.
80201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80202 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80203 __copysign.
80204 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
80205 define aliases when function name is a macro.
80206 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80207 sysdeps/ieee754/dbl-64/sincos.tbl.
80208 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80209 fma4-enabled routines.
80210 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80211 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80212 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80213 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80214 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80215 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80216 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80218 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80219 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80220 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80221 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80222 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80223 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80224 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80225 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80226 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80227 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80228 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80229 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80230 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80231 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80233 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80234 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80235 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80236 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80237 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80238 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80239 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80240
80241 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80242 rename.
80243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80251
80252 2011-10-24 Andreas Schwab <schwab@redhat.com>
80253
80254 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80255
80256 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80257
80258 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80259
80260 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80261 prediction.
80262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80263
80264 * string/strnlen.c: Don't define STRNLEN, reverse logic.
80265 Remove unused variable magic_bits.
80266 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80267
80268 * string/strnlen.c: Define and use STRNLEN macro.
80269 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80270 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80272 * wcsmbs/wcslen.c: Define and use WCSLEN.
80273 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80274 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80275 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80276 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80277 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80278 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80279 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80280
80281 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80282
80283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80284 strnlen-sse2-no-bsf.
80285 Rename strlen-no-bsf to strlen-sse2-no-bsf.
80286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80287 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80288 Add strnlen support.
80289 (USE_AS_STRNLEN): New macro.
80290 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80291 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80292 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80293 * sysdeps/x86_64/wcslen.S: New file.
80294
80295 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
80296
80297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80298 XMM-moves are used for copying on small sizes.
80299
80300 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80301
80302 * wcsmbs/Makefile (strop-tests): Add wcschr.
80303 * wcsmbs/test-wcschr.c: New file.
80304 * string/test-strchr.c: Update.
80305 Add wcschr support.
80306 (WIDE): New macro.
80307
80308 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80309
80310 * wcsmbs/Makefile (strop-tests): Add wcslen.
80311 * wcsmbs/test-wcslen.c: New file.
80312 * string/test-strlen.c: Update.
80313 Add wcslen support.
80314 (WIDE): New macro.
80315
80316 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80317
80318 * po/it.po: Update from translation team.
80319
80320 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80321
80322 * sysdeps/x86_64/wcscmp.S: Update.
80323 Fix wrong comparison semantics.
80324 wcscmp shall use signed comparison not unsigned.
80325 Don't use substraction to avoid overflow bug.
80326 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80327 * wcsmbc/wcscmp.c: Likewise.
80328 * string/test-strcmp.c: Likewise.
80329 Add new tests to check cases with negative values.
80330
80331 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80332
80333 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80334 * sysdeps/x86_64/dla.h: ...here. New file.
80335 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80340 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80344
80345 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80346
80347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80348 __ynl_finite aliases.
80349
80350 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80351
80352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80353
80354 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80355 define DLA_FMA.
80356 [DLA_FMA] (EMULV): Use DLA_FMA.
80357 [DLA_FMA] (MUL12): Use EMULV.
80358 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80359 that are not needed.
80360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80365 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80367
80368 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80369
80370 * math/s_nan.c: Undef __nan.
80371 * math/s_nanf.c: Undef __nanf.
80372 * math/s_nanl.c: Undef __nanl.
80373 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80374 "math_private.h".
80375
80376 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80377
80378 * math/s_catan.c: Add branch predictions.
80379 * math/s_catanf.c: Likewise.
80380 * math/s_catanh.c: Likewise.
80381 * math/s_catanhf.c: Likewise.
80382 * math/s_catanhl.c: Likewise.
80383 * math/s_catanl.c: Likewise.
80384 * math/s_cexp.c: Likewise.
80385 * math/s_cexpf.c: Likewise.
80386 * math/s_cexpl.c: Likewise.
80387 * math/s_clog.c: Likewise.
80388 * math/s_clog10.c: Likewise.
80389 * math/s_clog10f.c: Likewise.
80390 * math/s_clog10l.c: Likewise.
80391 * math/s_clogf.c: Likewise.
80392 * math/s_clogl.c: Likewise.
80393 * math/s_csqrt.c: Likewise.
80394 * math/s_csqrtf.c: Likewise.
80395 * math/s_csqrtl.c: Likewise.
80396 * math/s_ctanf.c: Likewise.
80397 * math/s_ctanh.c: Likewise.
80398 * math/s_ctanhf.c: Likewise.
80399 * math/s_ctanhl.c: Likewise.
80400 * math/s_ctanl.c: Likewise.
80401
80402 * math/math_private.h: Define __nan, __nanf, __nanl.
80403 * math/s_cacosh.c: Include <math_private.h>.
80404 * math/s_cacoshl.c: Likewise.
80405 * math/s_casinh.c: Likewise.
80406 * math/s_casinhf.c: Likewise.
80407 * math/s_casinhl.c: Likewise.
80408 * math/s_ccos.c: Rely entire on ccosh.
80409 * math/s_ccosf.c: Rely entire on ccoshf.
80410 * math/s_ccosl.c: Rely entirely on ccoshl.
80411 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80412 Remove tests for FE_INVALID.
80413 * math/s_ccoshf.c: Likewise.
80414 * math/s_ccoshl.c: Likewise.
80415 * math/s_csin.c: Likewise.
80416 * math/s_csinf.c: Likewise.
80417 * math/s_csinh.c Likewise.
80418 * math/s_csinhf.c: Likewise.
80419 * math/s_csinhl.c: Likewise.
80420 * math/s_csinl.c: Likewise.
80421 * math/s_ctan.c: Likewise.
80422 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80423 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80425
80426 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80427
80428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80429 compilation problems.
80430
80431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80432 __builtin_expect.
80433
80434 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80435
80436 * sysdeps/i386/configure.in: Test for -mfma4 option.
80437 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80438 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80439 COMMON_CPUID_INDEX_80000001.
80440 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80441 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80442 use it if FMA3 is not supported.
80443 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80444
80445 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80447
80448 2011-10-20 Andreas Schwab <schwab@redhat.com>
80449
80450 [BZ #12892]
80451 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80452 it would create a cycle with a link time dependency.
80453
80454 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80455
80456 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80457 instruction.
80458 * string/Makefile (strop-tests): Add rawmemchr.
80459 * string/test-rawmemchr.c: New file.
80460
80461 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80463 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80464 when compiling str{,n}casecmp and when AVX is available. Hook up
80465 new optimized code in initializers.
80466
80467 2011-10-19 Andreas Schwab <schwab@redhat.com>
80468
80469 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80470 __feraiseexcept instead of feraiseexcept.
80471
80472 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80473
80474 * math/math_private.h: Define defaults for libc_fetestexcept and
80475 libc_feupdateenv.
80476 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80477 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80478 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80479 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80480 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80481 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80482 libc_fetestexcept and libc_feupdateenv.
80483
80484 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80485 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80486 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80487 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80488 libc_feholdexcept_setround.
80489
80490 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80491 Add s_nearbyint-c and s_nearbyintf-c.
80492 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80493 nearbyintf inlines.
80494 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80495 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80496 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80497 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80498
80499 * math/math_private.h: Define defaults for libc_fegetround,
80500 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80501 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80502 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80503 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80504 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80505 standard functions.
80506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80507 Remove comments and hacks for old compiler versions.
80508 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80509 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80510 libc_feholdexceptl.
80511
80512 2011-10-18 Andreas Schwab <schwab@redhat.com>
80513
80514 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80515 (__feraiseexcept_renamed): Add __NTH.
80516 (feraiseexcept): Add __NTH. Rename local variables to fix
80517 namespace violations.
80518
80519 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80520
80521 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80522
80523 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80524
80525 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80526 recently added interfaces.
80527 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80528
80529 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80530 about macro parameter expansion.
80531
80532 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80533 __NO_MATH_INLINES is defined. Cleanups.
80534
80535 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80536 and __floorf is target has SSE4.1.
80537 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80538 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80539 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80540 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80541
80542 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80543 name.
80544 (floorf): Likewise.
80545
80546 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80547
80548 2011-10-17 Andreas Schwab <schwab@redhat.com>
80549
80550 * misc/sys/cdefs.h: Fix last change.
80551
80552 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80553 database lookup.
80554
80555 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80556
80557 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80558
80559 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80560 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80561 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80562 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80563 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80564 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80565 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80566 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80567 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80568 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80569 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80570 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80571 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80572 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80573 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80574 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80575 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80576 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80577 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80578 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80580 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80581
80582 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80583 ceil, ceilf, floor, floorf.
80584
80585 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80586 Perform IRELATIVE relocations last.
80587
80588 * elf/do-rel.h: Add another parameter nrelative, replacing the
80589 local variable with the same name. Change name of the function
80590 to end in Rel or Rela (uppercase).
80591 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80592 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80593 elf_dynamic_do_##reloc function.
80594
80595 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80596
80597 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80598 is sufficient, at least on modern CPUs.
80599
80600 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80601
80602 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80603 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80604
80605 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80606 __expl_finite.
80607 * math/bits/math-finite.h: Add entries for exp.
80608 * math/e_expl.c: Add __*_finite alias.
80609 * sysdeps/i386/fpu/e_exp.S: Likewise.
80610 * sysdeps/i386/fpu/e_expf.S: Likewise.
80611 * sysdeps/i386/fpu/e_expl.c: Likewise.
80612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80613 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80614 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80616 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80617 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80618 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80619
80620 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80621 is sufficient, at least on modern CPUs.
80622
80623 * ctype/ctype-info.c (__ctype_init): Define.
80624 * include/ctype.h (__ctype_init): Declare.
80625 (__ctype_b_loc): The variable is always initialized.
80626 (__ctype_toupper_loc): Likewise.
80627 (__ctype_tolower_loc): Likewise.
80628 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80629 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80630
80631 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80632
80633 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80634
80635 * configure.in: Also look in $cxxmachine/include for C++ system
80636 headers.
80637
80638 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80639
80640 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80641 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80642 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80643 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80645 (USE_AS_WMEMCMP): New macro.
80646 Fixing indents.
80647 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80648 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80649 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80650 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80652 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80653 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80654 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80655 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80656 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80657 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80658 (USE_AS_WMEMCMP): New macro.
80659 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80660 * sysdeps/string/test-memcmp.c: Update.
80661 Fix simple_wmemcmp.
80662 Add new tests.
80663 * wcsmbs/wmemcmp.c: Update.
80664 (WMEMCMP): New macro.
80665 Fix overflow bug.
80666
80667 2011-10-12 Andreas Jaeger <aj@suse.de>
80668
80669 [BZ #13268]
80670 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80671
80672 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80673
80674 * libio/iofwide.c (do_length): Avoid warning.
80675
80676 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80677
80678 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80679
80680 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80681
80682 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80683 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80684 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80685 * sysdeps/i386/i686/fpu/e_log.S: New file.
80686 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80687 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80688
80689 * ctype/ctype.h: Add support for inlined isXXX functions when
80690 compiling C++ code.
80691
80692 2011-10-14 Andreas Schwab <schwab@redhat.com>
80693
80694 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80695
80696 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80697
80698 2011-10-13 Roland McGrath <roland@hack.frob.com>
80699
80700 [BZ #13291]
80701 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80702
80703 2011-10-13 Andreas Schwab <schwab@redhat.com>
80704
80705 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80706 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80707 feraiseexcept.
80708
80709 * sysdeps/x86_64/memrchr.S: Check for zero size.
80710
80711 * string/stratcliff.c: Add memrchr tests.
80712
80713 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80714
80715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80716 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80717 rawmemchr-sse2 rawmemchr-sse2-bsf.
80718 * sysdeps/i386/i686/multiarch/memchr.S: New file.
80719 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80720 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80721 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80722 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80723 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80724 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80725 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80726 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80727 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80728 * string/memrchr.c (MEMRCHR): New macro.
80729
80730 2011-10-12 Ulrich Drepper <drepper@gmail.com>
80731
80732 Add integration with gcc's -ffinite-math-only and optimize wrapper
80733 functions in libm.
80734 * Versions.def: Define GLIBC_2.15 version for libm.
80735 * math/Makefile (headers): Add bits/math-finite.h.
80736 * math/bits/math-finite.h: New file.
80737 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80738 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80739 * math/e_acoshl.c: Add __*_finite alias.
80740 * math/e_acosl.c: Likewise.
80741 * math/e_asinl.c: Likewise.
80742 * math/e_atan2l.c: Likewise.
80743 * math/e_atanhl.c: Likewise.
80744 * math/e_coshl.c: Likewise.
80745 * math/e_exp10.c: Likewise.
80746 * math/e_exp10f.c: Likewise.
80747 * math/e_exp10l.c: Likewise.
80748 * math/e_exp2l.c: Likewise.
80749 * math/e_fmodl.c: Likewise.
80750 * math/e_gammal_r.c: Likewise.
80751 * math/e_hypotl.c: Likewise.
80752 * math/e_j0l.c: Likewise.
80753 * math/e_j1l.c: Likewise.
80754 * math/e_jnl.c: Likewise.
80755 * math/e_lgammal_r.c: Likewise.
80756 * math/e_log10l.c: Likewise.
80757 * math/e_log2l.c: Likewise.
80758 * math/e_logl.c: Likewise.
80759 * math/e_powl.c: Likewise.
80760 * math/e_sinhl.c: Likewise.
80761 * math/e_sqrtl.c: Likewise.
80762 * math/e_scalb.c: Completely rewritten and optimized.
80763 * math/e_scalbf.c: Likewise.
80764 * math/e_scalbl.c: Likewise.
80765 * math/w_acos.c: Likewise.
80766 * math/w_acosf.c: Likewise.
80767 * math/w_acosl.c: Likewise.
80768 * math/w_acosh.c: Likewise.
80769 * math/w_acoshf.c: Likewise.
80770 * math/w_acoshl.c: Likewise.
80771 * math/w_asin.c: Likewise.
80772 * math/w_asinf.c: Likewise.
80773 * math/w_asinl.c: Likewise.
80774 * math/w_atan2.c: Likewise.
80775 * math/w_atan2f.c: Likewise.
80776 * math/w_atan2l.c: Likewise.
80777 * math/w_atanh.c: Likewise.
80778 * math/w_atanhf.c: Likewise.
80779 * math/w_atanhl.c: Likewise.
80780 * math/w_exp10.c: Likewise.
80781 * math/w_exp10f.c: Likewise.
80782 * math/w_exp10l.c: Likewise.
80783 * math/w_fmod.c: Likewise.
80784 * math/w_fmodf.c: Likewise.
80785 * math/w_fmodl.c: Likewise.
80786 * math/w_j0.c: Likewise.
80787 * math/w_j0f.c: Likewise.
80788 * math/w_j0l.c: Likewise.
80789 * math/w_j1.c: Likewise.
80790 * math/w_j1f.c: Likewise.
80791 * math/w_j1l.c: Likewise.
80792 * math/w_jn.c: Likewise.
80793 * math/w_jnf.c: Likewise.
80794 * math/w_log.c: Likewise.
80795 * math/w_logf.c: Likewise.
80796 * math/w_logl.c: Likewise.
80797 * math/w_log10.c: Likewise.
80798 * math/w_log10f.c: Likewise.
80799 * math/w_log10l.c: Likewise.
80800 * math/w_log2.c: Likewise.
80801 * math/w_log2f.c: Likewise.
80802 * math/w_log2l.c: Likewise.
80803 * math/w_pow.c: Likewise.
80804 * math/w_powf.c: Likewise.
80805 * math/w_powl.c: Likewise.
80806 * math/w_remainder.c: Likewise.
80807 * math/w_remainderf.c: Likewise.
80808 * math/w_remainderl.c: Likewise.
80809 * math/w_scalb.c: Likewise.
80810 * math/w_scalbf.c: Likewise.
80811 * math/w_scalbl.c: Likewise.
80812 * math/w_sqrt.c: Likewise.
80813 * math/w_sqrtf.c: Likewise.
80814 * math/w_sqrtl.c: Likewise.
80815 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80816 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80817 used.
80818 * math/math_private.h: Declare __kernel_standard_f.
80819 * math/w_cosh.c: Remove cruft and optimize a bit.
80820 * math/w_coshf.c: Likewise.
80821 * math/w_coshl.c: Likewise.
80822 * math/w_exp2.c: Likewise.
80823 * math/w_exp2f.c: Likewise.
80824 * math/w_exp2l.c: Likewise.
80825 * math/w_hypot.c: Likewise.
80826 * math/w_hypotf.c: Likewise.
80827 * math/w_hypotl.c: Likewise.
80828 * math/w_lgamma.c: Likewise.
80829 * math/w_lgamma_r.c: Likewise.
80830 * math/w_lgammaf.c: Likewise.
80831 * math/w_lgammaf_r.c: Likewise.
80832 * math/w_lgammal.c: Likewise.
80833 * math/w_lgammal_r.c: Likewise.
80834 * math/w_sinh.c: Likewise.
80835 * math/w_sinhf.c: Likewise.
80836 * math/w_sinhl.c: Likewise.
80837 * math/w_tgamma.c: Likewise.
80838 * math/w_tgammaf.c: Likewise.
80839 * math/w_tgammal.c: Likewise.
80840 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80841 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80842 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80843 Minor optimizations. Pretty printing. Remove cruft.
80844 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80846 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80847 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80848 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80849 * sysdeps/i386/fpu/e_asin.S: Likewise.
80850 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80851 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80852 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80853 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80854 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80855 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80856 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80857 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80858 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80859 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80860 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80861 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80862 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80863 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80864 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80865 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80866 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80867 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80868 * sysdeps/i386/fpu/e_log.S: Likewise.
80869 * sysdeps/i386/fpu/e_log10.S: Likewise.
80870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80872 * sysdeps/i386/fpu/e_log2.S: Likewise.
80873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80874 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80875 * sysdeps/i386/fpu/e_logf.S: Likewise.
80876 * sysdeps/i386/fpu/e_logl.S: Likewise.
80877 * sysdeps/i386/fpu/e_pow.S: Likewise.
80878 * sysdeps/i386/fpu/e_powf.S: Likewise.
80879 * sysdeps/i386/fpu/e_powl.S: Likewise.
80880 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80881 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80882 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80883 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80884 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80885 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80886 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80887 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80888 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80889 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80892 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80894 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80897 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80898 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80899 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80900 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80903 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80905 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80909 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80910 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80911 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80912 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80913 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80914 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80916 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80917 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80918 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80919 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80920 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80921 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80922 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80923 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80924 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80925 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80926 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80927 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80928 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80929 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80930 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80931 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80932 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80933 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80934 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80935 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80936 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80937 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80938 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80939 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80940 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80941 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80942 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80943 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80944 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80945 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80946 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80947 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80948 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80949 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80950 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80951 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80953 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80954 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80955 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80958 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80959 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80960 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80961 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80963 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80964 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80965 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80966 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80968 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80970 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80971 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80972 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80973 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80974 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80975 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80976 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80977 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80978 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80979 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80980 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80981 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80982 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80983 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80984 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80985 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80986 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80987 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80988 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80989 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80990 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80991 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80992 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80993 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80994 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80995 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80996 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80997 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80998 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80999 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
81000 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81001 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81002 (__isnanf): Likewise.
81003 (__isinf_ns): Likewise.
81004 (__isinf_nsf): Likewise.
81005 (__finite): Likewise.
81006 (__finitef): Likewise.
81007 (__ieee754_sqrt): Define as macro.
81008 (__ieee754_sqrtf): Define as macro.
81009 (__ieee754_sqrtl): Define as macro.
81010 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81011 inlined copy.
81012 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81013 __FINITE_MATH_ONLY__ consistent.
81014 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81015
81016 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
81017
81018 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81019 of rawmemchr.
81020
81021 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81022
81023 2011-10-09 Ulrich Drepper <drepper@gmail.com>
81024
81025 * po/ja.po: Update from translation team.
81026
81027 2011-10-08 Roland McGrath <roland@hack.frob.com>
81028
81029 * locale/programs/locarchive.c (prepare_address_space): New function.
81030 (create_archive, enlarge_archive, open_archive): Use it.
81031
81032 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81033 inside [SHARED], where it is used.
81034
81035 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81036
81037 * nss/getent.c (netgroup_keys): Remove unused variable.
81038 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81039
81040 2011-10-08 Ulrich Drepper <drepper@gmail.com>
81041
81042 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81043 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81045 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81046 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81047 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81048 * math/Makefile (libm-calls): Add s_isinf_ns.
81049 * math/divtc3.c: Use __isinf_nsl instead of isinf.
81050 * math/multc3.c: Likewise.
81051 * math/s_casin.c: Likewise.
81052 * math/s_casinf.c: Likewise.
81053 * math/s_casinl.c: Likewise.
81054 * math/s_ccos.c: Likewise.
81055 * math/s_ccosf.c: Likewise.
81056 * math/s_ccosl.c: Likewise.
81057 * math/s_ctan.c: Likewise.
81058 * math/s_ctanf.c: Likewise.
81059 * math/s_ctanh.c: Likewise.
81060 * math/s_ctanhf.c: Likewise.
81061 * math/s_ctanhl.c: Likewise.
81062 * math/s_ctanl.c: Likewise.
81063 * math/w_fmod.c: Likewise.
81064 * math/w_fmodf.c: Likewise.
81065 * math/w_fmodl.c: Likewise.
81066 * math/w_remainder.c: Likewise.
81067 * math/w_remainderf.c: Likewise.
81068 * math/w_remainderl.c: Likewise.
81069 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81070 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81073 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81074 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81075 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81076 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81077
81078 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81079 of the number.
81080 * stdio-common/printf_fphex.c: Likewise.
81081 * stdio-common/printf_size.c: Likewise.
81082
81083 * math/e_exp10.c: Include math_private.h using <...> not "...".
81084 * math/e_exp10f.c: Likewise.
81085 * math/e_exp10l.c: Likewise.
81086 * math/e_exp2l.c: Likewise.
81087 * math/e_j0l.c: Likewise.
81088 * math/e_j1l.c: Likewise.
81089 * math/e_jnl.c: Likewise.
81090 * math/e_lgammal_r.c: Likewise.
81091 * math/e_rem_pio2l.c: Likewise.
81092 * math/e_scalb.c: Likewise.
81093 * math/e_scalbf.c: Likewise.
81094 * math/e_scalbl.c: Likewise.
81095 * math/k_cosl.c: Likewise.
81096 * math/k_sinl.c: Likewise.
81097 * math/k_tanl.c: Likewise.
81098 * math/s_cacoshf.c: Likewise.
81099 * math/s_catan.c: Likewise.
81100 * math/s_catanf.c: Likewise.
81101 * math/s_catanh.c: Likewise.
81102 * math/s_catanhf.c: Likewise.
81103 * math/s_catanhl.c: Likewise.
81104 * math/s_catanl.c: Likewise.
81105 * math/s_ccosh.c: Likewise.
81106 * math/s_ccoshf.c: Likewise.
81107 * math/s_ccoshl.c: Likewise.
81108 * math/s_cexp.c: Likewise.
81109 * math/s_cexpf.c: Likewise.
81110 * math/s_cexpl.c: Likewise.
81111 * math/s_clog.c: Likewise.
81112 * math/s_clog10.c: Likewise.
81113 * math/s_clog10f.c: Likewise.
81114 * math/s_clog10l.c: Likewise.
81115 * math/s_clogf.c: Likewise.
81116 * math/s_clogl.c: Likewise.
81117 * math/s_csin.c: Likewise.
81118 * math/s_csinf.c: Likewise.
81119 * math/s_csinh.c: Likewise.
81120 * math/s_csinhf.c: Likewise.
81121 * math/s_csinhl.c: Likewise.
81122 * math/s_csinl.c: Likewise.
81123 * math/s_csqrt.c: Likewise.
81124 * math/s_csqrtf.c: Likewise.
81125 * math/s_csqrtl.c: Likewise.
81126 * math/s_ctan.c: Likewise.
81127 * math/s_ctanf.c: Likewise.
81128 * math/s_ctanh.c: Likewise.
81129 * math/s_ctanhf.c: Likewise.
81130 * math/s_ctanhl.c: Likewise.
81131 * math/s_ctanl.c: Likewise.
81132 * math/s_ldexp.c: Likewise.
81133 * math/s_ldexpf.c: Likewise.
81134 * math/s_ldexpl.c: Likewise.
81135 * math/s_significand.c: Likewise.
81136 * math/s_significandf.c: Likewise.
81137 * math/s_significandl.c: Likewise.
81138 * math/w_acos.c: Likewise.
81139 * math/w_acosf.c: Likewise.
81140 * math/w_acosh.c: Likewise.
81141 * math/w_acoshf.c: Likewise.
81142 * math/w_acoshl.c: Likewise.
81143 * math/w_acosl.c: Likewise.
81144 * math/w_asin.c: Likewise.
81145 * math/w_asinf.c: Likewise.
81146 * math/w_asinl.c: Likewise.
81147 * math/w_atan2.c: Likewise.
81148 * math/w_atan2f.c: Likewise.
81149 * math/w_atan2l.c: Likewise.
81150 * math/w_atanh.c: Likewise.
81151 * math/w_atanhf.c: Likewise.
81152 * math/w_atanhl.c: Likewise.
81153 * math/w_cosh.c: Likewise.
81154 * math/w_coshf.c: Likewise.
81155 * math/w_coshl.c: Likewise.
81156 * math/w_dremf.c: Likewise.
81157 * math/w_exp10.c: Likewise.
81158 * math/w_exp10f.c: Likewise.
81159 * math/w_exp10l.c: Likewise.
81160 * math/w_exp2.c: Likewise.
81161 * math/w_exp2f.c: Likewise.
81162 * math/w_fmod.c: Likewise.
81163 * math/w_fmodf.c: Likewise.
81164 * math/w_fmodl.c: Likewise.
81165 * math/w_hypot.c: Likewise.
81166 * math/w_hypotf.c: Likewise.
81167 * math/w_hypotl.c: Likewise.
81168 * math/w_j0.c: Likewise.
81169 * math/w_j0f.c: Likewise.
81170 * math/w_j0l.c: Likewise.
81171 * math/w_j1.c: Likewise.
81172 * math/w_j1f.c: Likewise.
81173 * math/w_j1l.c: Likewise.
81174 * math/w_jn.c: Likewise.
81175 * math/w_jnf.c: Likewise.
81176 * math/w_jnl.c: Likewise.
81177 * math/w_lgamma.c: Likewise.
81178 * math/w_lgamma_r.c: Likewise.
81179 * math/w_lgammaf.c: Likewise.
81180 * math/w_lgammaf_r.c: Likewise.
81181 * math/w_lgammal.c: Likewise.
81182 * math/w_lgammal_r.c: Likewise.
81183 * math/w_log.c: Likewise.
81184 * math/w_log10.c: Likewise.
81185 * math/w_log10f.c: Likewise.
81186 * math/w_log10l.c: Likewise.
81187 * math/w_log2.c: Likewise.
81188 * math/w_log2f.c: Likewise.
81189 * math/w_log2l.c: Likewise.
81190 * math/w_logf.c: Likewise.
81191 * math/w_logl.c: Likewise.
81192 * math/w_pow.c: Likewise.
81193 * math/w_powf.c: Likewise.
81194 * math/w_powl.c: Likewise.
81195 * math/w_remainder.c: Likewise.
81196 * math/w_remainderf.c: Likewise.
81197 * math/w_remainderl.c: Likewise.
81198 * math/w_scalb.c: Likewise.
81199 * math/w_scalbf.c: Likewise.
81200 * math/w_scalbl.c: Likewise.
81201 * math/w_sinh.c: Likewise.
81202 * math/w_sinhf.c: Likewise.
81203 * math/w_sinhl.c: Likewise.
81204 * math/w_sqrt.c: Likewise.
81205 * math/w_sqrtf.c: Likewise.
81206 * math/w_sqrtl.c: Likewise.
81207 * math/w_tgamma.c: Likewise.
81208 * math/w_tgammaf.c: Likewise.
81209 * math/w_tgammal.c: Likewise.
81210
81211 * po/ja.po: Update from translation team.
81212
81213 2011-09-29 Andreas Jaeger <aj@suse.de>
81214
81215 [BZ #13179]
81216 * sunrpc/netname.c (netname2host): Fix logic.
81217
81218 [BZ #6779]
81219 [BZ #6783]
81220 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81221 correctly.
81222 * math/w_remainder.c (__remainder): Likewise.
81223 * math/w_remainderf.c (__remainderf): Likewise.
81224 * math/libm-test.inc (remainder_test): Add test cases.
81225
81226 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81227
81228 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
81229 sdiv_qrnnd.
81230
81231 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81232
81233 * string/test-memcmp.c: Avoid unncessary #defines.
81234 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81235
81236 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81237
81238 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81239 Use new sse2 version for core i3 - i7 as it's faster
81240 than sse42 version.
81241 (bit_Prefer_PMINUB_for_stringop): New.
81242 * sysdeps/x86_64/rawmemchr.S: Update.
81243 Replace with faster SSE2 version.
81244 * sysdeps/x86_64/memrchr.S: New file.
81245 * sysdeps/x86_64/memchr.S: Update.
81246 Replace with faster SSE2 version.
81247
81248 2011-09-12 Marek Polacek <mpolacek@redhat.com>
81249
81250 * elf/dl-load.c (lose): Add cast to avoid warning.
81251
81252 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81253
81254 * po/ca.po: Update from translation team.
81255
81256 * inet/getnetgrent_r.c: Hook up nscd.
81257 * nscd/Makefile (routines): Add nscd_netgroup.
81258 (nscd-modules): Add netgroupcache.
81259 (CFLAGS-netgroupcache.c): Define.
81260 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81261 (cache_search): Add const to second parameter.
81262 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81263 INNETGR.
81264 (dbs): Add netgrdb entry.
81265 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81266 (verify_persistent_db): Handle netgrdb.
81267 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81268 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81269 GETFDNETGR.
81270 (netgroup_response_header): Define.
81271 (innetgroup_response_header): Define.
81272 (datahead): Add netgroup_response_header and innetgroup_response_header
81273 elements.
81274 * nscd/nscd.conf: Add entries for netgroup cache.
81275 * nscd/nscd.h (dbtype): Add netgrdb.
81276 (_PATH_NSCD_NETGROUP_DB): Define.
81277 (netgroup_iov_disabled): Declare.
81278 (xmalloc, xcalloc, xrealloc): Move declarations here.
81279 (cache_search): Adjust prototype.
81280 Add netgroup-related prototypes.
81281 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81282 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81283 (__nscd_innetgr): Declare.
81284 * nscd/selinux.c (perms): Use access_vector_t as element type and
81285 add netgroup-related initializers.
81286 * nscd/netgroupcache.c: New file.
81287 * nscd/nscd_netgroup.c: New file.
81288 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81289 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81290 For four parameters use innetgr.
81291 * nss/nss_files/files-init.c: Add definition and callback for netgr.
81292 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81293 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81294 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81295
81296 * nscd/connections.c (register_traced_file): Don't register file
81297 for disabled databases.
81298
81299 2011-10-06 Ulrich Drepper <drepper@gmail.com>
81300
81301 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81302
81303 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81304 from tree and freeing node.
81305
81306 2011-09-25 Jiri Olsa <jolsa@redhat.com>
81307
81308 * nss/nsswitch.c (__nss_database_lookup): Handle
81309 nss_parse_service_list out of memory case.
81310
81311 2011-09-15 Jiri Olsa <jolsa@redhat.com>
81312
81313 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81314 out of memory case.
81315
81316 2011-10-04 Andreas Schwab <schwab@redhat.com>
81317
81318 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81319 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81320 pass it down.
81321 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81322 elf_machine_rela, elf_machine_lazy_rel.
81323 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81324 (ELF_DYNAMIC_DO_REL): Likewise.
81325 (ELF_DYNAMIC_DO_RELA): Likewise.
81326 (ELF_DYNAMIC_RELOCATE): Likewise.
81327 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81328 to ELF_DYNAMIC_DO_REL.
81329 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81330 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81331 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81332 elf_machine_rela.
81333 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81334 skip_ifunc, don't call ifunc function if non-zero.
81335 (elf_machine_rela): Likewise.
81336 (elf_machine_lazy_rel): Likewise.
81337 (elf_machine_lazy_rela): Likewise.
81338 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81339 (elf_machine_lazy_rel): Likewise.
81340 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81341 Likewise.
81342 (elf_machine_lazy_rel): Likewise.
81343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81344 Likewise.
81345 (elf_machine_lazy_rel): Likewise.
81346 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81347 (elf_machine_lazy_rel): Likewise.
81348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81349 (elf_machine_lazy_rel): Likewise.
81350 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81351 (elf_machine_lazy_rel): Likewise.
81352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81353 (elf_machine_lazy_rel): Likewise.
81354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81355 (elf_machine_lazy_rel): Likewise.
81356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81357 (elf_machine_lazy_rel): Likewise.
81358
81359 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81360
81361 * nss/nss_files/files-init.c (_nss_files_init): Use static
81362 initialization for all the *_traced_file variables.
81363
81364 2011-09-28 Andreas Schwab <schwab@redhat.com>
81365
81366 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81367
81368 2011-09-27 Roland McGrath <roland@hack.frob.com>
81369
81370 [BZ #13226]
81371 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81372
81373 2011-09-27 Andreas Schwab <schwab@redhat.com>
81374
81375 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81376 Reread the line before reparsing it.
81377
81378 2011-09-26 Andreas Schwab <schwab@redhat.com>
81379
81380 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81381
81382 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81383 Maxim Kuvyrkov <maxim@codesourcery.com>
81384 Joseph Myers <joseph@codesourcery.com>
81385
81386 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81387 if needed for __stack_chk_guard.
81388
81389 2011-09-19 Roland McGrath <roland@hack.frob.com>
81390
81391 * sysdeps/posix/spawni.c (script_execute): Always define it.
81392 It will be optimized away if unused.
81393 (maybe_script_execute): New function.
81394 (__spawni): Call it.
81395
81396 * Makerules: Don't include tls.make.
81397 (config-tls): Always set to thread.
81398 * tls.make.c: File removed.
81399
81400 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81401
81402 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81403 * config.make.in (CPPFLAGS-config): New substituted variable.
81404
81405 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81406
81407 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81408
81409 [BZ #13192]
81410 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81411 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81412
81413 2011-09-15 Roland McGrath <roland@hack.frob.com>
81414
81415 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81416 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81417 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81418 (CALL_FAIL): Likewise.
81419 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81420 (CALL_FAIL): Macro removed.
81421 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81422
81423 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81424
81425 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81426 for __FINITE_MATH_ONLY__ == 1.
81427
81428 2011-09-15 Andreas Schwab <schwab@redhat.com>
81429
81430 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81431 __ieee754_sqrt instead of sqrt.
81432 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81433 __ieee754_sqrtf instead of sqrtf.
81434 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81435 __floorf instead of floorf.
81436 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81437 __floorf, __truncf instead of floorf, truncf.
81438
81439 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81440
81441 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81442
81443 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81444 __extern_always_inline.
81445 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81446 32-bit.
81447
81448 2011-09-14 Andreas Schwab <schwab@redhat.com>
81449
81450 * elf/rtld.c (dl_main): Also relocate in dependency order when
81451 doing symbol dependency testing.
81452
81453 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81454
81455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81456 Always define `refsym'.
81457
81458 2011-09-13 Andreas Schwab <schwab@redhat.com>
81459
81460 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81461 (__FD_ELT): Renamed from __FDELT.
81462 * misc/bits/select2.h (__FD_ELT): Likewise.
81463 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81464 __FD_MASK instead of __FDELT, __FDMASK.
81465 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81466 Likewise.
81467 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81468 Likewise.
81469
81470 * elf/Makefile (gen-ldd): Fix pattern.
81471
81472 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81473 (init_tls): Likewise.
81474
81475 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81476
81477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81478
81479 2011-09-12 Andreas Schwab <schwab@redhat.com>
81480
81481 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81482 `struct cmsghdr *' instead of `void *'.
81483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81484 Likewise.
81485
81486 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81487
81488 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81489 if non-absolute.
81490 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81491 ldd_rewrite_script.
81492
81493 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81494
81495 * configure.in: Remove --with-tls option.
81496 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81497 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81498 out in case it is missing.
81499 * sysdeps/ia64/elf/configure.in: Likewise.
81500 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81501 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81502 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81503 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81504 * sysdeps/sh/elf/configure.in: Likewise.
81505 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81506 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81507 * sysdeps/x86_64/elf/configure.in: Likewise.
81508 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81509 * sysdeps/mach/hurd/tls.h: Likewise.
81510
81511 [BZ #13067]
81512 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81513
81514 [BZ #13090]
81515 * configure.in: Fix use of AC_INIT.
81516
81517 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81518
81519 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81520
81521 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81522 __set_errno.
81523 * malloc/hooks.c: Likewise.
81524
81525 [BZ #11929]
81526 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81527 variables statically.
81528 (narenas): Initialize.
81529 (list_lock): Initialize.
81530 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81531 initializtion of main_arena and list_lock. Small cleanups.
81532 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81533 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81534 Add initializers to main_arena and mp_.
81535 (malloc_state): Remove pagesize member. Change all users to use
81536 GLRO(dl_pagesize).
81537
81538 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81539 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81540 is always initialized.
81541
81542 * malloc/malloc.c: Removed unused configurations and dead code.
81543 * malloc/arena.c: Likewise.
81544 * malloc/hooks.c: Likewise.
81545 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81546
81547 * include/tls.h: Removed. USE___THREAD must always be defined.
81548 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81549 * elf/dl-libc.c: Likewise.
81550 * elf/dl-tsd.c: Likewise.
81551 * include/errno.h: Likewise.
81552 * include/netdb.h: Likewise.
81553 * include/resolv.h: Likewise.
81554 * inet/herrno-loc.c: Likewise.
81555 * inet/herrno.c: Likewise.
81556 * malloc/arena.c: Likewise.
81557 * malloc/hooks.c: Likewise.
81558 * malloc/malloc.c: Likewise.
81559 * resolv/res-state.c: Likewise.
81560 * resolv/res_libc.c: Likewise.
81561 * sysdeps/i386/dl-machine.h: Likewise.
81562 * sysdeps/ia64/dl-machine.h: Likewise.
81563 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81564 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81565 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81566 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81567 * sysdeps/sh/dl-machine.h: Likewise.
81568 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81569 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81570 * sysdeps/unix/i386/sysdep.S: Likewise.
81571 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81572 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81577 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81581 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81582 * sysdeps/x86_64/dl-machine.h: Likewise.
81583 * tls.make.c: Likewise.
81584
81585 * configure.in: Remove --with-__thread option. Make tests for
81586 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81587 tls_model attribute fail if no support is available. Remove
81588 USE_IN_LIBIO.
81589 * Makeconfig: Adjust for dropped configure option. All features are
81590 now mandatory.
81591 * Makerules: Likewise.
81592 * Versions.def: Likewise.
81593 * argp/argp-fmtstream.c: Likewise.
81594 * argp/argp-fmtstream.h: Likewise.
81595 * argp/argp-help.c: Likewise.
81596 * assert/assert.c: Likewise.
81597 * config.h.in: Likewise.
81598 * config.make.in: Likewise.
81599 * configure: Likewise.
81600 * configure.in: Likewise.
81601 * csu/Versions: Likewise.
81602 * csu/init.c: Likewise.
81603 * elf/tst-audit2.c: Likewise.
81604 * elf/tst-tls10.c: Likewise.
81605 * elf/tst-tls10.h: Likewise.
81606 * elf/tst-tls11.c: Likewise.
81607 * elf/tst-tls12.c: Likewise.
81608 * elf/tst-tls14.c: Likewise.
81609 * elf/tst-tlsmod11.c: Likewise.
81610 * elf/tst-tlsmod12.c: Likewise.
81611 * elf/tst-tlsmod13.c: Likewise.
81612 * elf/tst-tlsmod13a.c: Likewise.
81613 * elf/tst-tlsmod14a.c: Likewise.
81614 * elf/tst-tlsmod15b.c: Likewise.
81615 * elf/tst-tlsmod16a.c: Likewise.
81616 * elf/tst-tlsmod16b.c: Likewise.
81617 * elf/tst-tlsmod7.c: Likewise.
81618 * elf/tst-tlsmod8.c: Likewise.
81619 * elf/tst-tlsmod9.c: Likewise.
81620 * gmon/gmon.c: Likewise.
81621 * grp/fgetgrent_r.c: Likewise.
81622 * grp/putgrent.c: Likewise.
81623 * hurd/fopenport.c: Likewise.
81624 * include/libc-symbols.h: Likewise.
81625 * include/tls.h: Likewise.
81626 * intl/gettextP.h: Likewise.
81627 * intl/loadinfo.h: Likewise.
81628 * locale/global-locale.c: Likewise.
81629 * locale/localeinfo.h: Likewise.
81630 * mach/devstream.c: Likewise.
81631 * malloc/arena.c: Likewise.
81632 * malloc/set-freeres.c: Likewise.
81633 * misc/err.c: Likewise.
81634 * misc/getttyent.c: Likewise.
81635 * misc/mntent_r.c: Likewise.
81636 * posix/getopt.c: Likewise.
81637 * posix/wordexp.c: Likewise.
81638 * pwd/fgetpwent_r.c: Likewise.
81639 * resolv/Versions: Likewise.
81640 * resolv/res_hconf.c: Likewise.
81641 * shadow/fgetspent_r.c: Likewise.
81642 * shadow/putspent.c: Likewise.
81643 * stdio-common/printf_fphex.c: Likewise.
81644 * stdio-common/tmpfile.c: Likewise.
81645 * stdlib/abort.c: Likewise.
81646 * stdlib/fmtmsg.c: Likewise.
81647 * sunrpc/auth_unix.c: Likewise.
81648 * sunrpc/clnt_perr.c: Likewise.
81649 * sunrpc/clnt_tcp.c: Likewise.
81650 * sunrpc/clnt_udp.c: Likewise.
81651 * sunrpc/clnt_unix.c: Likewise.
81652 * sunrpc/openchild.c: Likewise.
81653 * sunrpc/svc_simple.c: Likewise.
81654 * sunrpc/svc_tcp.c: Likewise.
81655 * sunrpc/svc_udp.c: Likewise.
81656 * sunrpc/svc_unix.c: Likewise.
81657 * sunrpc/xdr.c: Likewise.
81658 * sunrpc/xdr_array.c: Likewise.
81659 * sunrpc/xdr_rec.c: Likewise.
81660 * sunrpc/xdr_ref.c: Likewise.
81661 * sunrpc/xdr_stdio.c: Likewise.
81662
81663 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81664
81665 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81666
81667 2011-07-03 Andreas Jaeger <aj@suse.de>
81668
81669 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81670 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81671 regenerate with gen-libm-tests.pl.
81672
81673 2010-05-12 Petr Baudis <pasky@suse.cz>
81674
81675 [BZ #11589]
81676 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81677 around j0() zero points by switching to j1().
81678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81679 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81680 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81681 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81682
81683 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81684
81685 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81686 instead of 0.
81687 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81688 instead of 0.
81689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81690 Patch in part by Pavel Roskin <proski@gnu.org>.
81691
81692 [BZ #13138]
81693 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81694 realloc.
81695 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
81696 Free memory block if necessary.
81697
81698 [BZ #12847]
81699 * libio/genops.c (INTDEF): For string streams the _lock pointer can
81700 be NULL. Don't lock in this case.
81701
81702 2011-09-09 Roland McGrath <roland@hack.frob.com>
81703
81704 * elf/elf.h (ELFOSABI_GNU): New macro.
81705 (ELFOSABI_LINUX): Define to that.
81706
81707 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
81708
81709 * string/strncat.c (strncat): Undef the symbol in case it has been
81710 defined in bits/string.h.
81711
81712 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81713
81714 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81715
81716 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81717 link map.
81718
81719 2011-08-17 Andreas Jaeger <aj@suse.de>
81720
81721 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81722
81723 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
81724 Ian Lance Taylor <iant@google.com>
81725
81726 * math/libm-test.inc (lround_test): New testcase.
81727 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81728
81729 2011-09-08 Ulrich Drepper <drepper@gmail.com>
81730
81731 * Makefile: Remove support for automatic cvs check-ins.
81732 * Makerules: Likewise.
81733 * config.make.in: Likewise.
81734 * configure.in: Likewise.
81735 * intl/Makefile: Likewise.
81736 * locale/Makefile: Likewise.
81737 * po/Makefile: Likewise.
81738 * posix/Makefile: Likewise.
81739 * sysdeps/gnu/Makefile: Likewise.
81740 * sysdeps/mach/hurd/Makefile: Likewise.
81741 * sysdeps/sparc/sparc32/Makefile: Likewise.
81742
81743 [BZ #13118]
81744 * posix/Makefile (bug-regex32-ENV): Define.
81745 Patch by John Stanley <jpsinthemix@verizon.net>.
81746
81747 * misc/Makefile (headers): Add bits/select2.h.
81748 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81749 * misc/bits/select2.h: New file.
81750 * include/bits/select2.h: New file.
81751 * debug/Makefile (routines): Add fdelt_chk.
81752 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81753 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81754 FD_ISSET.
81755 * debug/fdelt_chk.c: New file.
81756
81757 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81758 * wcsmbs/test-wmemcmp.c: Likewise.
81759 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81760 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81761
81762 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81763
81764 * string/Makefile (strop-tests): Add memcmp.
81765 * string/test-wmemcmp.c: New file.
81766 * string/test-memcmp.c: Add wmemcmp support.
81767
81768 2011-09-08 Roland McGrath <roland@hack.frob.com>
81769
81770 [BZ #13153]
81771 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81772 2011-07-19 change.
81773
81774 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81775 garbage value in a __mach_port_mod_refs call in the cases of the
81776 task-self and thread-self ports.
81777
81778 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81779
81780 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81781
81782 2011-09-08 Andreas Schwab <schwab@redhat.com>
81783
81784 * elf/dl-load.c (lose): Check for non-null L.
81785
81786 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81787
81788 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81789
81790 * elf/dl-libc.c (dlerror_run): Pass back error code from
81791 dl_catch_error.
81792
81793 [BZ #13123]
81794 * elf/dl-load.c (lose): Free l_origin if it is valid.
81795
81796 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81797 names.
81798 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81799 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81800 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81801 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81802 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81803 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81804
81805 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81806
81807 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81808 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81810 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81811 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81812 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81813 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81814 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81815 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81816 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81817
81818 2011-08-15 Alan Modra <amodra@gmail.com>
81819
81820 [BZ #13092]
81821 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81822 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81823 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81824 ppc_mcount to static-only-routines.
81825 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81826 __mcount_internal.
81827 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81828 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81829
81830 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81831
81832 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81833 for finite and infinity parameters.
81834
81835 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81836
81837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81838 and add nop instructions for throughput optimization.
81839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81840
81841 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81842
81843 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81844 aligned copy for power7 with vector-scalar instructions.
81845 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81846
81847 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81848
81849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81850 AVX check.
81851
81852 2011-09-07 Andreas Schwab <schwab@redhat.com>
81853
81854 [BZ #13144]
81855 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81856 last change.
81857
81858 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81859
81860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81861 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81862 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81863 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81864 clock_gettime.
81865
81866 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81867
81868 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81869 Forgot to demangle the pointer.
81870
81871 * sysdeps/i386/sysdep.h: Define atom_text_section.
81872 * sysdeps/x86_64/sysdep.h: Likewise.
81873 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81874 section with atom_text_section.
81875 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81876 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81877 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81879 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81880
81881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81882 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81883 already be defined. Change to take two parameters and don't assign
81884 result to variable. Adjust all users.
81885 Define INTERNAL_GETTIME if not already defined.
81886 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81887 call.
81888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81889 HAVE_CLOCK_GETTIME_VSYSCALL.
81890 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81891
81892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81893 gettimeofday vsyscall, just use time.
81894
81895 2011-09-06 Andreas Schwab <schwab@redhat.com>
81896
81897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81898 <errno.h>.
81899
81900 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81901
81902 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81903 syscall on x86-64.
81904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81905 syscall.
81906 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81907 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81908 syscall if possible.
81909
81910 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81911
81912 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81913 e_ident. Don't pass to find_mapsXX.
81914 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81915
81916 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81917
81918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81919 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81920 * sysdeps/x86_64/multiarch/strchr.S: Update.
81921 Check bit_slow_BSF bit.
81922 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81923 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81924 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81925
81926 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81927
81928 [BZ #13134]
81929 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81930 before glibc 2.15.
81931 (tryshell): Define.
81932 (__spawni): Change last parameter to be flag. Test
81933 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81934 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81935 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81936 * posix/spawni.c: Likewise.
81937 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81938 * posix/spawnp.c: Likewise. Change normal version to use
81939 SPAWN_XFLAGS_USE_PATH.
81940 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81941 SPAWN_XFLAGS_TRY_SHELL.
81942
81943 [BZ #13150]
81944 * posix/glob.h: Remove gcc 1.x support.
81945
81946 [BZ #13068]
81947 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81948
81949 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81950
81951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81952 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81953 strrchr-sse2-bsf
81954 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81955 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81956 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81957 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81958 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81959 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81960
81961 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81962
81963 * sysdeps/x86_64/wcscmp.S: New file.
81964
81965 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81966 wcscmp-c wcscmp-sse2
81967 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81968 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81969 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81970 * wcsmbs/wcscmp.c: Allow renaming.
81971
81972 2011-09-05 David S. Miller <davem@davemloft.net>
81973
81974 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81975 stack slot, rather than the struct return pointer slot.
81976 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81977 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81979 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81980
81981 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81982
81983 * po/ja.po: Update from translation team.
81984
81985 [BZ #13144]
81986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81987 kernel in 64-bit binaries.
81988
81989 2011-09-01 David S. Miller <davem@davemloft.net>
81990
81991 * elf/elf.h (HWCAP_SPARC_*): Move to..
81992 * sysdeps/sparc/sysdep.h: this new file and add new values.
81993 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81994 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81995 _DL_HWCAP_COUNT to 24.
81996 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81997 entries.
81998 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81999 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82000 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82002 instead of magic constants.
82003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82004
82005 2011-08-31 David S. Miller <davem@davemloft.net>
82006
82007 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82009 Reimplement to do errno handling inline.
82010 (SYSCALL_ERROR_HANDLER): New macro.
82011 (__SYSCALL_STRING): Do not do errno handling in asm.
82012 (__CLONE_SYSCALL_STRING): Delete.
82013 (__INTERNAL_SYSCALL_STRING): Delete.
82014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82015 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82016 (PSEUDO): Reimplement to do errno handling inline.
82017 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82018 (SYSCALL_ERROR_HANDLER): New macro.
82019 (__SYSCALL_STRING): Do not do errno handling in asm.
82020 (__CLONE_SYSCALL_STRING): Delete.
82021 (__INTERNAL_SYSCALL_STRING): Delete.
82022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82023 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82024 i386.
82025 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82026 (inline_syscall*): Add 'err' argument.
82027 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82028 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82029 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82030 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82031
82032 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82033 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82034
82035 2011-08-30 Andreas Schwab <schwab@redhat.com>
82036
82037 * elf/rtld.c (dl_main): Relocate objects in dependency order.
82038
82039 2011-08-29 Jiri Olsa <jolsa@redhat.com>
82040
82041 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82042 directive.
82043
82044 2011-08-24 David S. Miller <davem@davemloft.net>
82045
82046 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82047
82048 2011-08-24 Andreas Schwab <schwab@redhat.com>
82049
82050 * elf/Makefile: Add rules to build and run unload8 test.
82051 * elf/unload8.c: New file.
82052 * elf/unload8mod1.c: New file.
82053 * elf/unload8mod1x.c: New file.
82054 * elf/unload8mod2.c: New file.
82055 * elf/unload8mod3.c: New file.
82056
82057 * elf/dl-close.c (_dl_close_worker): Reset private search list if
82058 it wasn't used.
82059
82060 2011-08-23 David S. Miller <davem@davemloft.net>
82061
82062 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82063 subtract stack bias.
82064 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82065 %sp not %fp in calculations.
82066 (_JMPBUF_UNWINDS_ADJ): Likewise.
82067
82068 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82069 (aio_suspend): Call it to force an exception region around the
82070 AIO_MISC_WAIT() invocation.
82071
82072 2011-08-23 Andreas Schwab <schwab@redhat.com>
82073
82074 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82075 backslash.
82076
82077 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
82078
82079 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82080 protection macro.
82081 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82082 and <dl-machine.h>.
82083 (Elf64_FuncDesc): Remove.
82084
82085 2011-08-22 David S. Miller <davem@davemloft.net>
82086
82087 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82088 sigaltstack check, add missing cfi directives.
82089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82090 missing cfi directives, and sigaltstack handling.
82091
82092 2011-08-16 Andreas Schwab <schwab@redhat.com>
82093
82094 [BZ #11724]
82095 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82096 object is seen twice.
82097 * elf/dl-fini.c (_dl_sort_fini): Likewise.
82098
82099 * elf/Makefile (distribute): Add tst-initorder2.c.
82100 (tests): Add tst-initorder2.
82101 (modules-names): Add tst-initorder2a tst-initorder2b
82102 tst-initorder2c tst-initorder2d. Add rules to build them.
82103 ($(objpfx)tst-initorder2.out): New rule.
82104 * elf/tst-initorder2.c: New file.
82105 * elf/tst-initorder2.exp: New file.
82106
82107 2011-08-22 Andreas Schwab <schwab@redhat.com>
82108
82109 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82110
82111 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82112 dependencies back to end of function.
82113
82114 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82115 $(elfobjdir)/ld.so.
82116
82117 2011-08-21 Ulrich Drepper <drepper@gmail.com>
82118
82119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82120 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82122 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82123 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82124 of __vdso_gettimeofday.
82125 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82126 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
82127 attribute_hidden.
82128 (_libc_vdso_platform_setup): Remove initialization of
82129 __vdso_gettimeofday and __vdso_time.
82130
82131 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82132
82133 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82134 and fgetc_unlocked.
82135 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82136 getc_unlocked.
82137
82138 * elf/dl-open.c (add_to_global): Report additions to the global scope
82139 for LD_DEBUG=scopes.
82140 (dl_open_worker): Also print scope of newly loaded dependencies.
82141 (_dl_show_scope): Indicate if there is no scope.
82142
82143 [BZ #13114]
82144 * stdio-common/Makefile (tests): Add bug24.
82145 * stdio-common/bug24.c: New file.
82146
82147 2011-08-19 Andreas Jaeger <aj@suse.de>
82148
82149 [BZ #13114]
82150 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82151 non-existant file when using close-on-exec mode.
82152
82153 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82154
82155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82156 the very first instruction.
82157
82158 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82159 the CFI state in the end.
82160 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82161 inclusion of dl-trampoline.h.
82162 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82163
82164 2011-08-19 Andreas Schwab <schwab@redhat.com>
82165
82166 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82167 expectations for long double.
82168
82169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82170 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82171
82172 2011-08-14 David S. Miller <davem@davemloft.net>
82173
82174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82175 artificual limit depends upon the system page size.
82176
82177 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82178
82179 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82180 * resolv/Makefile: Define CFLAGS-libresolv.
82181
82182 2011-08-17 Andreas Schwab <schwab@redhat.com>
82183
82184 * nss/makedb.c (compute_tables): Make variables used in nested
82185 function static.
82186
82187 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82188
82189 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82190 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82191 if buffer was too small.
82192
82193 * elf/pldd.c (main): Attach to all threads in the process.
82194 Rewrite /proc handling to use *at functions.
82195
82196 2011-08-16 Ulrich Drepper <drepper@gmail.com>
82197
82198 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82199 specifies first scope to show.
82200 (dl_open_worker): Update callers. Move printing scope of new
82201 object to before the relocation.
82202 * elf/rtld.c (dl_main): Update _dl_show_scope call.
82203 * sysdeps/generic/ldsodefs.h: Update declaration.
82204
82205 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82206 string for the scope number.
82207
82208 2011-08-14 Ulrich Drepper <drepper@gmail.com>
82209
82210 * nscd/servicescache.c (cache_addserv): Make sure written is always
82211 initialized.
82212
82213 2011-08-14 Roland McGrath <roland@hack.frob.com>
82214
82215 * sysdeps/i386/i486/bits/atomic.h
82216 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82217 statement expression, so as to suppress "set but not used" warning.
82218 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82219
82220 * string/strncat.c (STRNCAT): Use prototype definition.
82221
82222 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82223 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82224 -Iprograms here.
82225 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82226 (localedef-modules): Add localedef.
82227 (locale-modules): Add locale.
82228
82229 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82230 * elf/rtld.c (dl_main): Invert order of assignment in last change,
82231 to avoid a warning.
82232
82233 2011-08-14 David S. Miller <davem@davemloft.net>
82234
82235 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82236 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82237
82238 2011-08-13 Ulrich Drepper <drepper@gmail.com>
82239
82240 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82241 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82242 * elf/rtld.c (dl_main): Set l_name of vDSO.
82243 Call _dl_show_scope when DL_DEBUG_SCOPES.
82244 (process_dl_debug): Recognize scopes flag and also set it for all.
82245 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82246 Declare _dl_show_scope.
82247
82248 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82249 (do_dlopen): Pass caller_dlopen to dl_open.
82250 (__libc_dlopen_mode): Initialize caller_dlopen.
82251
82252 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82253 of libc. Make tolower call locale-independent. Optimize a bit by
82254 using isdigit instead of isalnum.
82255 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82256
82257 2011-08-12 Ulrich Drepper <drepper@gmail.com>
82258
82259 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82260 was a dependency or dynamically loaded.
82261
82262 2011-08-11 Ulrich Drepper <drepper@gmail.com>
82263
82264 * intl/l10nflist.c: Allow architecture-specific pop function.
82265 * sysdeps/x86_64/l10nflist.c: New file.
82266
82267 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82268 classification.
82269
82270 2011-08-10 Andreas Schwab <schwab@redhat.com>
82271
82272 * include/dirent.h: Add libc_hidden_proto for scandirat and
82273 scandirat64. Don't declare __scandirat64.
82274 * dirent/scandirat.c: Add libc_hidden_def.
82275 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82276 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82277
82278 2011-08-10 David S. Miller <davem@davemloft.net>
82279
82280 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82281 enum.
82282 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82284 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82285
82286 2011-08-09 Ulrich Drepper <drepper@gmail.com>
82287
82288 * Versions.def [libc]: Add GLIBC_2.15.
82289 * dirent/Makefile (routines): Add scandirat and scandirat64.
82290 * dirent/Versions [libc]: Export scandirat and scandirat64 for
82291 GLIBC_2.15.
82292 * dirent/dirent.h: Declare scandirat and scandirat64.
82293 * dirent/scandirat.c: New file.
82294 * dirent/scandirat64.c: New file.
82295 * sysdeps/wordsize-64/scandirat.c: New file.
82296 * sysdeps/wordsize-64/scandirat64.c: New file.
82297 * dirent/opendir.c: Define opendirat.
82298 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
82299 using scandirat.
82300 * dirent/scandir64.c: Adjust for scandir.c change.
82301 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
82302 __scandirat64, and __scandir_cancel_handler.
82303 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
82304 additional parameter and use openat instead of open (outside of ld.so).
82305 Add new __opendir as wrapper around __opendirat.
82306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82307 here without requiring old scandirat implementation.
82308
82309 2011-08-08 Ulrich Drepper <drepper@gmail.com>
82310
82311 * dirent/scandir.c (cancel_handler): Renamed to
82312 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82313 defined. Adjust users.
82314 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82315 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82316
82317 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82318
82319 * string/test-string.h (IMPL): Use __STRING to expand name and then
82320 stringify it.
82321
82322 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82323 of cleanups.
82324
82325 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82326
82327 * string/Makefile: Update.
82328 (strop-tests): Append strncat.
82329 * string/test-wcscmp.c: New file.
82330 New comprehensive test for wcscmp.
82331 * string/test-strcmp.c: Update.
82332 (WIDE): New define.
82333
82334 2011-07-22 Andreas Schwab <schwab@redhat.com>
82335
82336 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82337 line.
82338
82339 2011-07-26 Andreas Schwab <schwab@redhat.com>
82340
82341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82342 encoding to ACE if AI_IDN.
82343
82344 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82345
82346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82347 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82348
82349 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82350
82351 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82352 Fix overflow bug in strncat.
82353 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82354
82355 * string/test-strncat.c: Update.
82356 Add new tests for checking overflow bugs.
82357
82358 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82359
82360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82361 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82362 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82363 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82364 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82365 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82366 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82367 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82368 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82369
82370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82371 (USE_AS_STRCAT): Define.
82372 Add strcat and strncat support.
82373 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82374
82375 2011-07-25 Andreas Schwab <schwab@redhat.com>
82376
82377 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82378 __n bigger than INT_MAX+1.
82379 (__strncmp_g): Likewise.
82380
82381 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82382
82383 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82384 * libio/stido.h: Likewise.
82385
82386 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82387 (AF_NFC): Define.
82388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82389 (AF_NFC): Define.
82390
82391 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82394 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82396
82397 [BZ #13021]
82398 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82399 installed.
82400
82401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82402 typo.
82403 (_dl_x86_64_save_sse): Likewise.
82404
82405 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82406
82407 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82408 OSXSAVE.
82409 (_dl_x86_64_save_sse): Likewise.
82410
82411 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82412
82413 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82414
82415 2011-07-21 Andreas Schwab <schwab@redhat.com>
82416
82417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82418 change.
82419 (_dl_x86_64_save_sse): Use correct AVX check.
82420
82421 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82422
82423 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82424 bug in strncpy/strncat.
82425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82426
82427 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82428
82429 * string/tester.c (test_strcat): Add tests for different alignments
82430 of source and destination.
82431 (test_strncat): Likewise.
82432
82433 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82434
82435 [BZ #12852]
82436 * posix/glob.c (glob): Check passed in values before using them in
82437 expressions to avoid some overflows.
82438 (glob_in_dir): Likewise.
82439
82440 [BZ #13007]
82441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82442 check for AVX enablement so that we don't crash with old kernels and
82443 new hardware.
82444 * elf/tst-audit4.c: Add same checks here.
82445 * elf/tst-audit6.c: Likewise.
82446
82447 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82448
82449 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82450
82451 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82452
82453 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82454
82455 * po/cs.po: Update from translation team.
82456 * po/bg.po: Likewise.
82457
82458 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82459
82460 * misc/sys/cdefs.h: Add support for const attribute.
82461 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82462 to gnu_dev_{major,minor,makedev} functions.
82463
82464 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82465
82466 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82467
82468 2011-07-20 Andreas Schwab <schwab@redhat.com>
82469
82470 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82471 strlen results.
82472
82473 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82474
82475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82476 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82477 register in order to avoid conflicts with the soft frame pointer
82478 being held in r11 when necessary.
82479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82480 (INTERNAL_VSYSCALL_NCS): Likewise.
82481
82482 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82483
82484 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82485 * elf/dl-fini.c (_dl_fini): Adjust caller.
82486 * elf/dl-close.c (_dl_close_worker): Likewise.
82487 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82488
82489 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82490
82491 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82492 "aux_cache->nlibs < 0".
82493
82494 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82495 in the reload-count case.
82496
82497 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82498
82499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82500 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82501 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82502 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82503 * sysdeps/x86_64/multiarch/strcat.S: New file.
82504 * sysdeps/x86_64/multiarch/strncat.S: New file.
82505 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82507 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82508 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82509 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82510 (USE_AS_STRCAT): Define.
82511 Add strcat and strncat support.
82512 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82513 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82514 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82515 * string/strncat.c: Update.
82516 (USE_AS_STRNCAT): Define.
82517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82518 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82519 and i7.
82520 * sysdeps/x86_64/multiarch/init-arch.h
82521 (bit_Prefer_PMINUB_for_stringop): New.
82522 (index_Prefer_PMINUB_for_stringop): Likewise.
82523 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82524 bit_Prefer_PMINUB_for_stringop.
82525
82526 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82527
82528 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82529 buffer64.
82530 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82531 of casting of buffer.
82532 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82533 buffer32 and buffer64.
82534 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82535 writes instead of casting of buffer.
82536 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82537 buffer32.
82538 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82539 casting of buffer.
82540
82541 2011-07-19 Andreas Schwab <schwab@redhat.com>
82542
82543 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82544
82545 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82546
82547 * nscd/nscd.c (termination_handler): Don't do anything for a database
82548 if it has not yet been initialized.
82549
82550 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82551
82552 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82553
82554 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82555
82556 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82557
82558 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82559
82560 * po/nl.po: Update from translation team.
82561 * po/sv.po: Likewise.
82562
82563 2011-07-16 Roland McGrath <roland@hack.frob.com>
82564
82565 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82566 now disallowed by GCC.
82567
82568 * configure.in (use-default-link): Default to yes if a test -shared
82569 link meets our qualifications.
82570 * configure: Regenerated.
82571
82572 * config.make.in (output-format): New variable.
82573 * configure.in: Check for ld --print-output-format support.
82574 * configure: Regenerated.
82575 * Makerules ($(common-objpfx)format.lds)
82576 [$(output-format) != unknown]: Just use $(output-format),
82577 instead of the linker-script munging.
82578
82579 2011-07-14 Roland McGrath <roland@hack.frob.com>
82580
82581 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82582 of $(common-objpfx)shlib.lds.
82583 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82584
82585 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82586 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82587
82588 * configure.in (-z relro check): Adjust test code to add a large
82589 writable data section after it.
82590 * configure: Regenerated.
82591
82592 2011-07-11 Roland McGrath <roland@hack.frob.com>
82593
82594 * configure.in (-z relro check): Fix test code to make the variable
82595 truly const.
82596 * configure: Regenerated.
82597
82598 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82599
82600 * nscd/nscd.h (struct traced_file): Define.
82601 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82602 elements. Add traced_files.
82603 (inotify_fd): Declare.
82604 (register_traced_file): Declare.
82605 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82606 (inotify_fd): Export.
82607 (resolv_conf_descr): Remove.
82608 (nscd_init): Move inotify descriptor creation to main.
82609 Don't register files for notification here.
82610 (register_traced_file): New function.
82611 (invalidate_cache): Don't use reset_res to determine whether to call
82612 res_init, go through the list of registered files.
82613 (main_loop_poll): The inotify descriptors are now stored in the
82614 structures for the traced files.
82615 (main_loop_epoll): Likewise.
82616 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82617 to __nss_disable_nscd.
82618 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82619 for a database anymore. Check the records for all the registered
82620 files instead.
82621 * nss/Makefile (libnss_files-routines): Add files-init.
82622 (libnss_db-routines): Add db-init.
82623 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82624 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82625 * nss/nss_db/db-init.c: New file.
82626 * nss/nss_files/files-init.c: New file.
82627 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82628 __nss_lookup_function.
82629 (__nss_lookup_function): Call nss_load_library.
82630 (nss_load_all_libraries): New function.
82631 (__nss_disable_nscd): Take parameter with callback function for files
82632 to register. Set is_nscd. Load all the DSOs for the NSS modules
82633 used for the cached services.
82634 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82636 options for features to all the files in nscd.
82637
82638 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82639
82640 2011-07-10 Roland McGrath <roland@hack.frob.com>
82641
82642 * csu/elf-init.c (__libc_csu_init): Comment typo.
82643
82644 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82645
82646 * po/pl.po: Update from translation team.
82647 * po/ja.po: Likewise.
82648 * po/ru.po: Likewise.
82649 * po/ko.po: Likewise.
82650 * po/fr.po: Likewise.
82651
82652 2011-07-09 Roland McGrath <roland@hack.frob.com>
82653
82654 * configure.in (.ctors/.dtors header and trailer check):
82655 Use an empirical test on a built program.
82656 * configure: Regenerated.
82657
82658 * configure.in (-z relro check): Use an empirical test on a built DSO.
82659 Detect, but do not require, on ia64.
82660 * configure: Regenerated.
82661
82662 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82663 Update tests that use readelf to use $READELF instead.
82664 * configure: Regenerated.
82665
82666 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82667
82668 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82669 if the result is not used.
82670
82671 2011-07-05 Andreas Jaeger <aj@suse.de>
82672
82673 [BZ#9696]
82674 * stdlib/tst-strtod.c: Add testcase.
82675
82676 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82677
82678 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82679 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82680 The latter has a higher limit. Take additional parameter to pass to
82681 the new function.
82682 (__pathconf): Pass file to __statfs_link_max.
82683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82684 __statfs_link_max.
82685 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82686 __statfs_link_max.
82687
82688 [BZ #12868]
82689 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82690 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82691 Handle Lustre.
82692 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82693 (__statfs_filesize_max): Likewise.
82694 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82695
82696 2011-07-05 Andreas Jaeger <aj@suse.de>
82697
82698 * resolv/res_comp.c (dn_skipname): Remove unused variable.
82699
82700 2011-07-06 Marek Polacek <mpolacek@redhat.com>
82701
82702 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82703 `status' variable.
82704 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82705 Likewise.
82706
82707 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
82708
82709 * Makefile (strop-tests): Add strncat.
82710 * string/test-strncat.c: New file.
82711
82712 2011-06-30 Marek Polacek <mpolacek@redhat.com>
82713
82714 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82715
82716 2011-06-21 Andreas Jaeger <aj@suse.de>
82717
82718 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82719 Copy rule from iconvdata/Makefile.
82720
82721 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82722
82723 [BZ #12922]
82724 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82725 but no long options are defined, just return 'W'.
82726
82727 2011-06-22 Marek Polacek <mpolacek@redhat.com>
82728
82729 [BZ #9696]
82730 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82731
82732 2011-07-06 Ulrich Drepper <drepper@gmail.com>
82733
82734 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82735 netgroups to read.
82736 (innetgr): Likewise.
82737
82738 2011-07-05 Roland McGrath <roland@hack.frob.com>
82739
82740 * config.make.in (install_root): Default to $(DESTDIR).
82741
82742 2011-07-05 Ulrich Drepper <drepper@gmail.com>
82743
82744 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82745
82746 2011-07-02 Roland McGrath <roland@hack.frob.com>
82747
82748 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82749
82750 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82751 containing directory rather than embedding absolute directory names.
82752
82753 * scripts/check-local-headers.sh: Rewritten using awk.
82754 Match by word, not by line. Print error messages for matches.
82755 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82756
82757 * Makerules [shlib-lds-flags empty]:
82758 ($(common-objpfx)libc_pic.opts): New target.
82759 ($(common-objpfx)libc_pic.os.clean): New target.
82760 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82761
82762 * config.make.in (OBJCOPY): New variable.
82763 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82764 * configure: Regenerated.
82765
82766 * config.make.in (use-default-link): New variable.
82767 * configure.in (use_default_link): Grok --with-default-link to set it.
82768 * configure: Regenerated.
82769 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82770 (shlib-lds, shlib-lds-flags): Define to empty.
82771
82772 * Makerules (shlib-lds): New variable.
82773 (shlib-lds-flags): New variable.
82774 (build-shlib, build-moduile, build-module-asneeded): Use it.
82775 ($(common-objpfx)libc.so): Use $(shlib-lds).
82776 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82777 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82778
82779 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82780 DT_FLAGS/DT_FLAGS_1 with zero flags.
82781
82782 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82783 linker script munging.
82784
82785 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82786
82787 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82788 as 128-bit value.
82789 * crypt/sha512.c (sha512_process_block): Perform total addition using
82790 128-bit if possible.
82791 (__sha512_finish_ctx): Likewise.
82792 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82793 as 64-bit value.
82794 * crypt/sha256.c (SWAP64): Define.
82795 (sha256_process_block): Perform total addition using 64-bit if
82796 possible.
82797 (__sha256_finish_ctx): Likewise.
82798
82799 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82800
82801 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82802 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82803 * nscd/hstcache.c (cache_addhst): Likewise.
82804 * nscd/grpcache.c (cache_addgr): Likewise.
82805 * nscd/aicache.c (addhstaiX): Likewise.
82806 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82807
82808 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82809
82810 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82812 * nscd/hstcache.c (cache_addhst): Likewise.
82813 * nscd/grpcache.c (cache_addgr): Likewise.
82814 * nscd/aicache.c (addhstaiX): Likewise.
82815
82816 2011-07-01 Andreas Schwab <schwab@redhat.com>
82817
82818 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82819 domain only when needed.
82820
82821 2011-06-30 Andreas Schwab <schwab@redhat.com>
82822
82823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82824 is always restored.
82825
82826 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82827
82828 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82829 are re-adding the entry.
82830 * nscd/servicescache.c (cache_addserv): Likewise.
82831
82832 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82833
82834 * sysdeps/generic/dl-irel.h: fix protection against multiple
82835 inclusions.
82836 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82837
82838 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82839
82840 [BZ #12935]
82841 * malloc/memusage.sh: Fix quoting in message.
82842 * debug/xtrace.sh: Likewise.
82843
82844 * configure.in: Remove support for --experimental-malloc option, make
82845 it the default.
82846 * config.make.in: Likewise.
82847 * malloc/Makefile: Likewise.
82848
82849 2011-06-27 Andreas Schwab <schwab@redhat.com>
82850
82851 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82852 two-byte characters.
82853
82854 2011-06-27 Roland McGrath <roland@hack.frob.com>
82855
82856 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82857 AC_CACHE_CHECK invocation.
82858 * configure: Regenerated.
82859
82860 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82861
82862 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82863
82864 [BZ #12350]
82865 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82866 bit from old_res_options.
82867
82868 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82869
82870 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82871 value type for setfct.
82872
82873 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82874
82875 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82876 __gettimeofday instead of gettimeofday.
82877
82878 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82879
82880 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82881
82882 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82883
82884 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82885
82886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82887 info.
82888
82889 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82890
82891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82892 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82893 strcpy-sse2-unaligned strncpy-sse2-unaligned
82894 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82895 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82896 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82897 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82898 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82899 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82900 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82901 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82902 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82903 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82904 (STRCPY): Support SSE2 and SSSE3 versions.
82905
82906 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82907
82908 [BZ #12874]
82909 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82910 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82911 kernels which artificially limit size of requests.
82912
82913 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82914
82915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82916 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82917 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82918 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82919 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82920 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82921 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82922 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82925 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82926 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82927 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82928 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82929 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82931 Enable unaligned load optimization for Intel Core i3, i5 and i7
82932 processors.
82933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82934 Define.
82935 (index_Fast_Unaligned_Load): Define.
82936 (HAS_FAST_UNALIGNED_LOAD): Define.
82937
82938 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82939
82940 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82941
82942 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82943
82944 [BZ #12907]
82945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82946 until it is clear that the information is realy needed.
82947 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82948
82949 2011-06-22 Andreas Schwab <schwab@redhat.com>
82950
82951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82952
82953 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82954
82955 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82956 /sys/devices/system/cpu/online if it is usable.
82957
82958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82959 reading the information from the /proc filesystem to once a second.
82960
82961 2011-06-21 Andreas Jaeger <aj@suse.de>
82962
82963 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82964 NULL after inclusion of kernel headers.
82965
82966 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82967
82968 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82969 calls to internal_setent.
82970
82971 [BZ #12885]
82972 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82973 addresses using gethostbyname4_r ignore IPv4 addresses.
82974
82975 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82976 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82977
82978 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82979
82980 2011-06-20 David S. Miller <davem@davemloft.net>
82981
82982 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82983 inclusions.
82984 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82985
82986 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82987 (elf_irel): Use it.
82988 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82989 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82990 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82991 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82992 * sysdeps/x86_64/dl-irel.h: Likewise.
82993
82994 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82995 * elf/dl-sym.c: Likewise.
82996
82997 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82998
82999 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
83000 need to dereference resplen2.
83001
83002 2011-06-14 Andreas Schwab <schwab@redhat.com>
83003
83004 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83005
83006 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83007
83008 * Makeconfig: Define vardbdir and inst_vardbdir.
83009 * nss/Makefile: Add rules to install db-Makefile.
83010
83011 * nss/nss_db/db-XXX.c: Cleanup.
83012
83013 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83014 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83015 GLIBC_PRIVATE.
83016 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83017 * nss/makedb.c: Implement -g option to specify that value strings
83018 are generated and should not be added to table iterated over for
83019 get*ent calls.
83020 * nss/nss_db/db-initgroups.c: New file.
83021
83022 * nss/getent.c: Add support for initgroups lookups through getgrouplist
83023 interface.
83024
83025 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83026 (internal_getgrouplist): Adjust to name change.
83027 Update use_initgroups_entry if this is not the first call.
83028 * nss/databases.def: Add initgroups entry.
83029
83030 * nss/makedb.c (compute_tables): Check result of multiple hash table
83031 sizes to minimize maximum chain length.
83032
83033 2011-06-14 Ulrich Drepper <drepper@gmail.com>
83034
83035 * Versions.def: Add entry for libnss_db.
83036 * shlib-versions: Likewise.
83037 * nss/Makefile: Add rules to build libnss_db.
83038 * nss/Versions: Add libnss_db information. Organize libnss_files
83039 entries better.
83040 * nss/db-Makefile: Add gshadow support. Change rules for the new
83041 makedb progra. Some minor improvements to generate smaller files.
83042 * nss/nss_db/nss_db.h: Move NSS database header data structures to
83043 here from...
83044 * nss/makedb.c: ...here.
83045 Improve database format to be smaller and require less memory at
83046 runtime.
83047 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
83048 db anymore.
83049 * nss/nss_db/db-netgrp.c: Likewise.
83050 * nss/nss_db/db-open.c: Likewise.
83051 * nss/nss_files/flies-XXX.x: Adjust comments.
83052 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83053 * nss/nss_files/files-grp.c: Likewise.
83054 * nss/nss_files/files-hosts.c: Likewise.
83055 * nss/nss_files/files-network.c: Likewise.
83056 * nss/nss_files/files-proto.c: Likewise.
83057 * nss/nss_files/files-pwd.c: Likewise.
83058 * nss/nss_files/files-rpc.c: Likewise.
83059 * nss/nss_files/files-service.c: Likewise.
83060 * nss/nss_files/files-sgrp.c: Likewise.
83061 * nss/nss_files/files-spwd.c: Likewise.
83062 * nss/nss_db/db-alias.c: Removed.
83063 * nss/nss_db/dummy-db.h: Removed.
83064
83065 2011-06-02 Ulrich Drepper <drepper@gmail.com>
83066
83067 * nss/makedb.c: Rewritten to not use database library.
83068 * nss/Makefile: Update to build new makedb program.
83069
83070 2011-06-14 Andreas Jaeger <aj@suse.de>
83071
83072 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83073 memset declaration.
83074
83075 2011-06-10 Andreas Schwab <schwab@redhat.com>
83076
83077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83078 tmpbuf.
83079
83080 2011-06-10 Roland McGrath <roland@hack.frob.com>
83081
83082 * Makerules (shlib.lds): Fail if the linker script comes out empty.
83083 * elf/Makefile ($(objpfx)ld.so): Likewise.
83084
83085 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83086 Don't list ld.so twice in dependencies.
83087
83088 * posix/bug-regex31.c: Include <stdlib.h>.
83089
83090 * nscd/hstcache.c (cache_addhst): Remove unused variable.
83091
83092 * nis/nss_compat/compat-spwd.c
83093 (getspent_next_nss_netgr): Remove unused variable.
83094 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83095
83096 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83097 nonmembers" output to use the right array.
83098
83099 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83100
83101 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83102
83103 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83104 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83105 * catgets/gencat.c (read_input_file): Likewise.
83106 * locale/programs/locarchive.c (enlarge_archive): Likewise.
83107
83108 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83109 variable definition inside #if's controlling its use.
83110
83111 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83112
83113 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83114
83115 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83116
83117 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83118 unreachable code.
83119
83120 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83121
83122 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83123 * configure: Regenerated.
83124
83125 * Makerules: Revert last change.
83126 * elf/Makefile: Likewise.
83127
83128 2011-06-09 Roland McGrath <roland@hack.frob.com>
83129
83130 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83131 * elf/Makefile ($(objpfx)librtld.os): Likewise.
83132 (reloc-link): Likewise.
83133
83134 2011-06-09 Ulrich Drepper <drepper@gmail.com>
83135
83136 * elf/Makefile: Add rules to build pldd.
83137 * elf/pldd.c: New file.
83138 * elf/pldd-xx.c: New file.
83139
83140 2011-06-07 Ulrich Drepper <drepper@gmail.com>
83141
83142 * version.h: Update for 2.15 development version.
83143
83144 2011-06-07 David S. Miller <davem@davemloft.net>
83145
83146 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83147 ifuncs.
83148 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83149 elf_machine_lazy_rel): Likewise.
83150 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83152 elf_machine_lazy_rel): Likewise.
83153 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83154 dl_hwcap via passed in argument.
83155 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83156 Likewise.
83157
83158 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83159
83160 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
83161
83162 2011-06-06 Roland McGrath <roland@hack.frob.com>
83163
83164 [BZ #12849]
83165 * manual/fdl-1.1.texi: New file, verbatim from:
83166 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83167 * manual/lgpl-2.1.texi: New file, verbatim from:
83168 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83169 * manual/Makefile (licenses): New variable, list those new file names.
83170 (texis): Use it.
83171 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83172
83173 * manual/fdl.texi: File removed.
83174 * manual/lesser.texi: File removed.
83175 * manual/libc.texinfo (Copying, Documentation License):
83176 Use new @include file names, put @appendix directive before @include.
83177
83178 2011-06-04 Jakub Jelinek <jakub@redhat.com>
83179
83180 [BZ #12841]
83181 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83182 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83183 (mq_open): Add __NTH.
83184
83185 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
83186
83187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83188 Assume Intel Core i3/i5/i7 processor if AVX is available.
83189
83190 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83191
83192 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83193 typo.
83194
83195 2011-05-31 Andreas Schwab <schwab@redhat.com>
83196
83197 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83198 memory. Use alloca_account. Fix memory leak when retrying.
83199
83200 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83201
83202 * version.h (RELEASE): Bump for 2.14 release.
83203 * include/features.h (__GLIBC_MINOR__): Bump to 14.
83204
83205 * config.make.in (RANLIB): Remove entry.
83206
83207 2011-05-30 Ulrich Drepper <drepper@gmail.com>
83208
83209 * po/Makefile (po-sed-cmd): Add ksh to extensions.
83210 (libc.pot): Work around missing support for .ksh extension in xgettext.
83211
83212 [BZ #12684]
83213 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83214 if both request failed.
83215 (send_dg): In case of server errors clear resplen or *resplen2.
83216
83217 [BZ #12454]
83218 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83219 when there are multiple maps.
83220 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83221 (_dl_fini): Remove test here.
83222
83223 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83224
83225 2011-05-29 Ulrich Drepper <drepper@gmail.com>
83226
83227 [BZ #12350]
83228 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83229 bit from old_res_options.
83230 (gaih_inet): Likewise.
83231
83232 [BZ #11099]
83233 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83234 as signed.
83235
83236 * resolv/res_init.c (res_setoptions): Make the code more compact.
83237
83238 [BZ #11558]
83239 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83240 set RES_USEVC.
83241
83242 [BZ #11634]
83243 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83244
83245 * malloc/malloc.h: Mark malloc hook variables as deprecated.
83246
83247 [BZ #11781]
83248 * malloc/malloc.h: Declare malloc hook variables as volatile.
83249
83250 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83251 in last patch.
83252
83253 [BZ #11799]
83254 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83255 raise in the comment.
83256 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83257 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83258 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83259
83260 2011-05-28 Ulrich Drepper <drepper@gmail.com>
83261
83262 [BZ #12811]
83263 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83264 grow the buffers more if it already has to be sufficient.
83265 (build_wcs_upper_buffer): Likewise.
83266 * posix/regexec.c (check_matching): Likewise.
83267 (clean_state_log_if_needed): Likewise.
83268 (extend_buffers): Don't enlarge buffers beyond size of the input
83269 buffer.
83270 Patches mostly by Emil Wojak <emil@wojak.eu>.
83271 * posix/bug-regex32.c: New file.
83272 * posix/Makefile (tests): Add bug-regex32.
83273
83274 * locale/findlocale.c (_nl_find_locale): Return right away if
83275 _nl_explode_name failed.
83276 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83277
83278 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83279
83280 * debug/xtrace.sh: Unify messages.
83281 * malloc/memusage.sh: Likewise.
83282
83283 [BZ #12813]
83284 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83285 time symbol from vDSO. Substitute with vsyscall if not available.
83286 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83287 __vdso_time.
83288
83289 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83290 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83291 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83292 Add sendmmsg and internal_sendmmsg.
83293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83294 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83296
83297 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83298 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83300
83301 2011-05-27 Ulrich Drepper <drepper@gmail.com>
83302
83303 [BZ #12813]
83304 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83305 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
83306 available.
83307 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83308 __vdso_getcpu.
83309
83310 [BZ #12814]
83311 * iconvdata/Makefile (tests): Add bug-iconv9.
83312 * iconvdata/bug-iconv9.c: New file.
83313
83314 2011-05-27 Andreas Schwab <schwab@redhat.com>
83315
83316 [BZ #12814]
83317 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83318
83319 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83320
83321 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83322 (struct user_regs_struct): Change intcs field back to cs.
83323
83324 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83325
83326 * po/ja.po: Update from translation team.
83327
83328 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83329
83330 [BZ #12795]
83331 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83333
83334 2011-05-20 Andreas Schwab <schwab@redhat.com>
83335
83336 * stdlib/longlong.h: Update from GCC.
83337
83338 2011-05-23 Andreas Schwab <schwab@redhat.com>
83339
83340 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83341 parameter name.
83342 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83343 Add parameter name.
83344 (__sysconf): Pass it down.
83345
83346 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83347
83348 [BZ #12671]
83349 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83350 some situations.
83351 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83352 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83353 add in in __libc_use_alloca calls. Adjust callers.
83354 (glob): Use malloc in some situations.
83355
83356 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83357 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83358 pltexit.
83359
83360 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83361
83362 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83363 and CLOCK_BOOTTIME_ALARM.
83364
83365 [BZ #12782]
83366 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83367 is returned.
83368
83369 * string/_strerror.c (__strerror_r): Print negative errors as signed
83370 numbers.
83371
83372 [BZ #12777]
83373 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83374 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83375 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83376
83377 * configure.in: Fix typo in redirection and correct removal of test
83378 files in two cases.
83379
83380 [BZ #12788]
83381 * locale/setlocale.c (new_composite_name): Fix test to check for
83382 identical name of all categories.
83383
83384 [BZ #12792]
83385 * libio/filedoalloc.c (local_isatty): New function.
83386 (_IO_file_doallocate): Use local_isatty.
83387 * stdio-common/perror.c (perror): In case a new stream is used
83388 forward the stream error.
83389 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83390 error flag.
83391
83392 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83393
83394 [BZ #11884]
83395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83396 alloca.
83397 * include/alloca.h (extend_alloca_account): Define.
83398
83399 [BZ #11857]
83400 * posix/regex.h: Fix comments with documentation of user-accessible
83401 fields after compilation and describe correct free'ing of pattern
83402 after re_compile_pattern.
83403 Patch by Reuben Thomas <rrt@sc3d.org>.
83404
83405 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83406
83407 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83408 and -mno-altivec to prevent the compiler from using Altivec and/or
83409 VSX instructions when the corresponding registers are not available.
83410
83411 2011-05-19 Andreas Schwab <schwab@redhat.com>
83412
83413 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83414
83415 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83416
83417 * libio/freopen.c (freopen): Use __dup2, not dup2.
83418 * libio/freopen64.c (freopen64): Likewise.
83419
83420 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83421
83422 [BZ #12775]
83423 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83424 * math/Makefile (tests): Add test-powl.
83425 (CFLAGS-test-powl.c): Define.
83426 * math/test-powl.c: New file.
83427
83428 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83429
83430 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83431
83432 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83433
83434 [BZ #11837]
83435 * iconvdata/gb18030.c: Update to GB18020-2005.
83436
83437 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83438
83439 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83440 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83441 Patch by Aharon Robbins <arnold@skeeve.com>.
83442
83443 [BZ #11892]
83444 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83445 on the stack.
83446
83447 [BZ #11895]
83448 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83449 through underflows.
83450
83451 [BZ #12766]
83452 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83453 point to strings before performing equality test for error_one_per_line
83454 mode.
83455
83456 [BZ #11697]
83457 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83458
83459 [BZ #11820]
83460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83461 (struct user_fpregs_struct): Avoid __uint*_t types.
83462
83463 [BZ #6420]
83464 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83465 symbol info. Use it instead of calling _dl_addr locally.
83466 (lock_and_info): New function.
83467 (tr_freehook): Call lock_and_info and pass symbol info as additional
83468 parameter to tr_where.
83469 (tr_mallochook): Likewise.
83470 (tr_reallochook): Likewise.
83471 (tr_memalignhook): Likewise.
83472
83473 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83474 used and couldn't be at all thread-safe.
83475
83476 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83477
83478 * libio/freopen.c (freopen): Don't close old file descriptor
83479 before the new one is opened. Instead dup the new file descriptor
83480 to the old one after the new stream is created.
83481 * libio/freopen64.c (freopen64): Likewise.
83482 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83483 * libio/fileops.c (_IO_new_file_close_it): Handle new
83484 _IO_FLAGS2_NOCLOSE flag.
83485 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83486 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83487 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83488 _IO_FLAGS2_NOCLOSE flag.
83489 * include/unistd.h: Add hidden_proto for dup3.
83490 Define __have_dup3.
83491 * io/dup3.c: Define hidden symbol.
83492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83493
83494 [BZ #7101]
83495 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83496 when an incomplete long option is used.
83497 * posix/tst-getopt_long1.c: New file.
83498 * posix/Makefile (tests): Add tst-getopt_long1.
83499
83500 [BZ #10138]
83501 * scripts/config.guess: Update from autoconf-2.68.
83502 * scripts/config.sub: Likewise.
83503
83504 [BZ #10157]
83505 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83506 tests into ...
83507 (has_cpuclock): ...this. New function.
83508 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83509 macro here based on has_cpuclock code.
83510
83511 [BZ #10149]
83512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83513 First byte (not low byte) is now always NUL.
83514 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83515
83516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83517 Use non-cancelable interfaces.
83518
83519 [BZ #9809]
83520 * locale/iso-639.def: Add entry for Sorani.
83521
83522 [BZ #11901]
83523 * include/stdlib.h: Move include protection to the right place.
83524 Define abort_msg_s. Declare __abort_msg with it.
83525 * stdlib/abort.c (__abort_msg): Adjust type.
83526 * assert/assert.c (__assert_fail_base): New function. Majority
83527 of code from __assert_fail. Allocate memory for __abort_msg with
83528 mmap.
83529 (__assert_fail): Now call __assert_fail_base.
83530 * assert/assert-perr.c: Remove bulk of implementation. Use
83531 __assert_fail_base.
83532 * include/assert.hL Declare __assert_fail_base.
83533 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83534 mmap.
83535 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83536
83537 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83538
83539 [BZ #11952]
83540 [BZ #12453]
83541 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83542 until all modules are registered in the DTV.
83543 * elf/Makefile: Add rules to build and run tst-tls19.
83544 * elf/tst-tls19.c: New file.
83545 * elf/tst-tls19mod1.c: New file.
83546 * elf/tst-tls19mod2.c: New file.
83547 * elf/tst-tls19mod3.c: New file.
83548 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83549
83550 [BZ #12083]
83551 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83552 correctly.
83553
83554 [BZ #12601]
83555 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83556 two-byte sequence errors.
83557 * iconvdata/Makefile (tests): Add bug-iconv8.
83558 * iconvdata/bug-iconv8.c: New file.
83559
83560 [BZ #12626]
83561 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83562 buf2 definition.
83563
83564 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83565
83566 [BZ #12432]
83567 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83568 (dummy_getcfa): New function.
83569 (init): Get _Unwind_GetCFA address, use dummy if not found.
83570 (backtrace_helper): In recursion check, also check whether CFA changes.
83571 (__backtrace): Completely initialize arg.
83572
83573 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83574 storing incomplete byte sequence in state object. Avoid testing for
83575 guaranteed too small input if we know there is enough data available.
83576
83577 2011-05-11 Andreas Schwab <schwab@redhat.com>
83578
83579 * Makeconfig (+link-pie): Indent.
83580 * Rules (binaries-pie): Define if $(have-fpie) and
83581 $(build-shared).
83582 (binaries-shared): Also filter out $(binaries-pie).
83583 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83584 * nscd/Makefile (others-pie): Add nscd.
83585 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83586 ($(objpfx)nscd): Remove command override.
83587 * login/Makefile (others-pie): Add pt_chown.
83588 ($(objpfx)pt_chown): Remove command override.
83589 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83590 remove command overrides.
83591
83592 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83593
83594 * libio/tst_putwc.c: Fix error messages.
83595
83596 [BZ #12724]
83597 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83598 currently writing and seek to current position when not.
83599 * libio/Makefile (tests): Add bug-fclose1.
83600 * libio/bug-fclose1.c: New file.
83601
83602 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83603
83604 [BZ #12511]
83605 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83606 don't set DF_1_NODELETE here.
83607 (do_lookup_x): When entering new entry test for copy relocation
83608 and if necessary set DF_1_NODELETE flag.
83609 * elf/tst-unique4.cc: New file.
83610 * elf/tst-unique4.h: New file.
83611 * elf/tst-unique4lib.cc: New file.
83612 * elf/Makefile: Add rules to build and run tst-unique4.
83613 Patch by Piotr Bury <pbury@goahead.com>.
83614
83615 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83616
83617 [BZ #12052]
83618 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83619
83620 [BZ #12625]
83621 * misc/mntent_r.c (addmntent): Flush the stream after the output
83622
83623 [BZ #12393]
83624 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83625 (is_trusted_path_normalize): Skip initial colon. Append slash
83626 to empty buffer. Duplicate is_trusted_path code but allow
83627 constructed patch to be prefix.
83628 (is_dst): Allow $ORIGIN followed by /.
83629 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83630 Correct testing of result of is_trusted_path_normalize
83631 (decompose_rpath): Fix warning.
83632
83633 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83634
83635 [BZ #11257]
83636 * grp/initgroups.c (internal_getgrouplist): When we found the service
83637 list through the initgroups entry in nsswitch.conf do not always
83638 continue on a successful lookup. Don't always use the
83639 __nss_group_database value if it is set.
83640 * nss/nsswitch.conf (initgroups): Change action for successful db
83641 lookup to continue for compatibility.
83642
83643 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83644
83645 [BZ #11532]
83646 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83647 and CP774 modules.
83648 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83649 and CP774 modules.
83650 * iconvdata/tst-tables.sh: Likewise.
83651 * iconvdata/cp770.c: New file.
83652 * iconvdata/cp771.c: New file.
83653 * iconvdata/cp772.c: New file.
83654 * iconvdata/cp773.c: New file.
83655 * iconvdata/cp774.c: New file.
83656 * iconvdata/testdata/CP770: New file.
83657 * iconvdata/testdata/CP770..UTF8: New file.
83658 * iconvdata/testdata/CP771: New file.
83659 * iconvdata/testdata/CP771..UTF8: New file.
83660 * iconvdata/testdata/CP772: New file.
83661 * iconvdata/testdata/CP772..UTF8: New file.
83662 * iconvdata/testdata/CP773: New file.
83663 * iconvdata/testdata/CP773..UTF8: New file.
83664 * iconvdata/testdata/CP774: New file.
83665 * iconvdata/testdata/CP774..UTF8: New file.
83666
83667 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83668 END CHARMAP line.
83669 * iconvdata/gen-8bit-gap.sh: Likewise.
83670 * iconvdata/gen-8bit.sh: Likewise.
83671
83672 * locale/iso-639.def: Add ary entry.
83673
83674 [BZ #11258]
83675 * locale/C-translit.h.in: Add U20A1 transliteration.
83676
83677 [BZ #12178]
83678 * locale/iso-639.def: Add wae entry.
83679 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83680
83681 [BZ #12545]
83682 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83683 for n.
83684
83685 [BZ #12711]
83686 * locale/C-translit.h.in: Add entry for U20B9.
83687 Patch by pravin.d.s@gmail.com.
83688
83689 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83690
83691 [BZ #12713]
83692 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83693 ENAMETOOLONG use generic getcwd.
83694 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83695 in rtld. Use *stat64.
83696 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83697 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83698 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83699 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83700 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83701 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83702 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83703 __fstatat64 macros.
83704 * include/dirent.h: Add libc_hidden_proto for rewinddir.
83705 * dirent/rewinddir.c: Add libc_hidden_def.
83706 * sysdeps/mach/hurd/rewinddir.c: Likewise.
83707 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
83708
83709 * include/dirent.h (__alloc_dir): Add flags parameter.
83710 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83711 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83712 __alloc_dir.
83713 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
83714 from fdopendir if O_CLOEXEC is already set.
83715
83716 2011-03-15 Alan Modra <amodra@gmail.com>
83717
83718 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83719 l_tls_firstbyte_offset non-zero. Save padding offset in
83720 l_tls_firstbyte_offset for later use.
83721 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83722 freeing static tls block.
83723
83724 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
83725
83726 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83727 where #ifdef was intended. The intent is to prevent ARG_MAX from
83728 being defined by the kernel headers.
83729
83730 2011-05-07 Ulrich Drepper <drepper@gmail.com>
83731
83732 [BZ #12734]
83733 * resolv/resolv.h: Define RES_NOTLDQUERY.
83734 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83735 no-tld-query and set RES_NOTLDQUERY.
83736 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83737 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83738 modern BIND to search name as TLD unless forbidden.
83739
83740 2011-05-07 Petr Baudis <pasky@suse.cz>
83741 Ulrich Drepper <drepper@gmail.com>
83742
83743 [BZ #12393]
83744 * elf/dl-load.c (fillin_rpath): Move trusted path check...
83745 (is_trusted_path): ...to here.
83746 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83747 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83748 using is_trusted_path_normalize() in setuid scripts.
83749
83750 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83751
83752 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83753 __BEGIN/__END_DECLS.
83754
83755 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83756
83757 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83758 NSS_STATUS_NOTFOUND if no record was found.
83759
83760 2011-05-05 Andreas Schwab <schwab@redhat.com>
83761
83762 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83763 (headers-not-in-tirpc): Remove rpc/netdb.h
83764 * resolv/netdb.h: Revert last change.
83765
83766 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83767
83768 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83769 circular dependency between libgcc.a and libc.a.
83770
83771 2011-05-05 Andreas Schwab <schwab@redhat.com>
83772
83773 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83774 * nis/Makefile: Don't install rpcsvc/*.
83775 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83776 instead of <rpc/types.h>.
83777 (MAXHOSTNAMELEN): Define.
83778
83779 2011-05-03 Andreas Schwab <schwab@redhat.com>
83780
83781 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83782
83783 2011-04-28 Maciej Babinski <mbabinski@google.com>
83784
83785 [BZ #12714]
83786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83787 gethostbyname4_r when IPv6 results are possible.
83788
83789 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83790
83791 [BZ #12723]
83792 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83793 _PC_PIPE_BUF handling.
83794
83795 2011-04-30 Bruno Haible <bruno@clisp.org>
83796
83797 [BZ #12717]
83798 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83799 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83800 to 'int'.
83801 * inet/getnameinfo.c (getnameinfo): Likewise.
83802
83803 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83804
83805 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83806 to groups setting in database lookup.
83807 * nss/nsswitch.conf: Add initgroups entry.
83808
83809 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83810
83811 [BZ #12685]
83812 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83813 mode string.
83814 Patch by Eric Blake <eblake@redhat.com>.
83815
83816 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83817
83818 * sunrpc/Makefile (need-export-routines): Add svc_run.
83819 (routines): Remove svc_run.
83820 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83821 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83822 * sunrpc/svc_run.c (svc_run): Likewise.
83823 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83824
83825 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83826
83827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83828 problem in reallocation in last patch.
83829
83830 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83831
83832 * sunrpc/Makefile: Move inclusion of Rules.
83833
83834 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83835
83836 * nss/nss_files/files-initgroups.c: New file.
83837 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83838 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83839 _nss_files_initgroups_dyn.
83840
83841 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83842
83843 * elf/elf.h (R_ARM_IRELATIVE): Define.
83844
83845 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83846
83847 * po/ru.po: Update from translation team.
83848
83849 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83850
83851 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83852 dependencies.
83853
83854 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83855
83856 [BZ #12653]
83857 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83858 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83860 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83861 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83862
83863 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83864
83865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83866 differing bytes.
83867 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83868 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83870
83871 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83872
83873 [BZ #12420]
83874 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83875 storing it.
83876 * stdlib/bug-getcontext.c: New file.
83877 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83878
83879 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83880
83881 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83882 instructions into .machine "z9-109".
83883 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83884 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83885
83886 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83887
83888 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83889 between environment variables and auxiliary vector.
83890
83891 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83892
83893 * Makefile: Add rules to build linkobj/libc.so.
83894 * include/libc-symbols.h: Define libc_hidden_nolink.
83895 * include/rpc/auth.h: Mark functions which are to be hidden.
83896 * include/rpc/auth_des.h: Likewise.
83897 * include/rpc/auth_unix.h: Likewise.
83898 * include/rpc/clnt.h: Likewise.
83899 * include/rpc/des_crypt.h: Likewise.
83900 * include/rpc/key_prot.h: Likewise.
83901 * include/rpc/pmap_clnt.h: Likewise.
83902 * include/rpc/pmap_prot.h: Likewise.
83903 * include/rpc/pmap_rmt.h: Likewise.
83904 * include/rpc/rpc_msg.h: Likewise.
83905 * include/rpc/svc.h: Likewise.
83906 * include/rpc/svc_auth.h: Likewise.
83907 * include/rpc/xdr.h: Likewise.
83908 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83909 * nss/Makefile: Likewise.
83910 * sunrpc/Makefile: Don't install headers. Build library with normal
83911 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83912 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83913 for the compat linking library. Remove use of INTDEF/INTUSE.
83914 * sunrpc/auth_none.c: Likewise.
83915 * sunrpc/auth_unix.c: Likewise.
83916 * sunrpc/authdes_prot.c: Likewise.
83917 * sunrpc/authuxprot.c: Likewise.
83918 * sunrpc/clnt_gen.c: Likewise.
83919 * sunrpc/clnt_perr.c: Likewise.
83920 * sunrpc/clnt_raw.c: Likewise.
83921 * sunrpc/clnt_simp.c: Likewise.
83922 * sunrpc/clnt_tcp.c: Likewise.
83923 * sunrpc/clnt_udp.c: Likewise.
83924 * sunrpc/clnt_unix.c: Likewise.
83925 * sunrpc/des_crypt.c: Likewise.
83926 * sunrpc/des_soft.c: Likewise.
83927 * sunrpc/get_myaddr.c: Likewise.
83928 * sunrpc/key_call.c: Likewise.
83929 * sunrpc/key_prot.c: Likewise.
83930 * sunrpc/netname.c: Likewise.
83931 * sunrpc/pm_getmaps.c: Likewise.
83932 * sunrpc/pm_getport.c: Likewise.
83933 * sunrpc/pmap_clnt.c: Likewise.
83934 * sunrpc/pmap_prot.c: Likewise.
83935 * sunrpc/pmap_prot2.c: Likewise.
83936 * sunrpc/pmap_rmt.c: Likewise.
83937 * sunrpc/publickey.c: Likewise.
83938 * sunrpc/rpc_cmsg.c: Likewise.
83939 * sunrpc/rpc_common.c: Likewise.
83940 * sunrpc/rpc_dtable.c: Likewise.
83941 * sunrpc/rpc_prot.c: Likewise.
83942 * sunrpc/rpc_thread.c: Likewise.
83943 * sunrpc/rtime.c: Likewise.
83944 * sunrpc/svc.c: Likewise.
83945 * sunrpc/svc_auth.c: Likewise.
83946 * sunrpc/svc_authux.c: Likewise.
83947 * sunrpc/svc_raw.c: Likewise.
83948 * sunrpc/svc_run.c: Likewise.
83949 * sunrpc/svc_simple.c: Likewise.
83950 * sunrpc/svc_tcp.c: Likewise.
83951 * sunrpc/svc_udp.c: Likewise.
83952 * sunrpc/svc_unix.c: Likewise.
83953 * sunrpc/svcauth_des.c: Likewise.
83954 * sunrpc/xcrypt.c: Likewise.
83955 * sunrpc/xdr.c: Likewise.
83956 * sunrpc/xdr_array.c: Likewise.
83957 * sunrpc/xdr_float.c: Likewise.
83958 * sunrpc/xdr_intXX_t.c: Likewise.
83959 * sunrpc/xdr_mem.c: Likewise.
83960 * sunrpc/xdr_rec.c: Likewise.
83961 * sunrpc/xdr_ref.c: Likewise.
83962 * sunrpc/xdr_sizeof.c: Likewise.
83963 * sunrpc/xdr_stdio.c: Likewise.
83964
83965 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83966
83967 [BZ #12650]
83968 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83969 * sysdeps/ia64/dl-tls.h: Likewise.
83970 * sysdeps/powerpc/dl-tls.h: Likewise.
83971 * sysdeps/s390/dl-tls.h: Likewise.
83972 * sysdeps/sh/dl-tls.h: Likewise.
83973 * sysdeps/sparc/dl-tls.h: Likewise.
83974 * sysdeps/x86_64/dl-tls.h: Likewise.
83975 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83976
83977 2011-03-14 Andreas Schwab <schwab@redhat.com>
83978
83979 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83980 rpath element also skip the following colon.
83981 (expand_dynamic_string_token): Add is_path parameter and pass
83982 down to DL_DST_REQUIRED and _dl_dst_substitute.
83983 (decompose_rpath): Call expand_dynamic_string_token with
83984 non-zero is_path. Ignore empty rpaths.
83985 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83986 with zero is_path.
83987
83988 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83989
83990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83991 Make cancelable.
83992
83993 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83994
83995 [BZ #12655]
83996 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83997 Patch by Filipe David Manana <fdmanana@apache.org>.
83998
83999 2011-04-07 Andreas Schwab <schwab@redhat.com>
84000
84001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84002 Maintain aligned stack.
84003 (CHECK_RSP): Remove unused macro.
84004
84005 2011-04-03 Ulrich Drepper <drepper@gmail.com>
84006
84007 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84008 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84009
84010 2011-04-02 Ulrich Drepper <drepper@gmail.com>
84011
84012 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84013
84014 * include/features.h: Mention __USE_XOPEN2K8 in comment.
84015
84016 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
84017
84018 [BZ #12518]
84019 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84020 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84021 * sysdeps/x86_64/memmove.c: New file.
84022 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84023 (memcpy): Renamed to ...
84024 (__new_memcpy): This.
84025 (memcpy): Provide GLIBC_2_14 memcpy.
84026 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84027 (memcpy): Provide GLIBC_2_2_5 memcpy.
84028
84029 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84030
84031 [BZ #12631]
84032 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84033
84034 2011-03-30 Andreas Schwab <schwab@redhat.com>
84035
84036 * misc/syncfs.c: New file.
84037 * misc/Makefile (routines): Add syncfs.
84038 * posix/unistd.h: Declare syncfs.
84039 * sysdeps/unix/syscalls.list: Add syncfs.
84040
84041 2011-04-01 Andreas Schwab <schwab@redhat.com>
84042
84043 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84044 open_by_handle_at.
84045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84046 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84050 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84051 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84052
84053 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84054
84055 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84056 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84057 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84059 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84062
84063 * io/Makefile: Compile fallocate.c, fallocate64.c, and
84064 sync_file_range.c with -fexceptions.
84065 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84066 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84067 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84068 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84069 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84070 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84071 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84072 sync_file_range as cancellation point
84073 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
84074 now a wrapper around __call_sync_file_range with cancellation handling.
84075 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84076 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
84077 function name to __call_sync_file_range.
84078 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84079 Add call_sync_file_range.
84080
84081 2011-04-01 Andreas Schwab <schwab@redhat.com>
84082
84083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84084 bits/timex.h.
84085
84086 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84087
84088 * iconv/iconv.h: Fix typo in comment.
84089 * io/fcntl.h: Likewise.
84090 * libio/stdio.h: Likewise.
84091 * posix/spawn.h: Likewise.
84092 * posix/unistd.h: Likewise.
84093 * stdlib/stdlib.h: Likewise.
84094 * time/time.h: Likewise.
84095 * wcsmbs/wchar.h: Likewise.
84096
84097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84098 open_by_handle): Add.
84099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84100 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
84101 Augment a few comments.
84102 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84107 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84108 open_by_handle.
84109
84110 * io/fcntl.h (AT_EMPTY_PATH): Define.
84111
84112 2011-03-30 Ulrich Drepper <drepper@gmail.com>
84113
84114 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84115 * sysdeps/unix/sysv/linux/bits/time.h: New file.
84116 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84117 to...
84118 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
84119 * Versions.def: Add GLIBC_2.14.
84120 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84121 Export.
84122
84123 2011-03-22 Ulrich Drepper <drepper@gmail.com>
84124
84125 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84126 round counter.
84127 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84128
84129 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
84130
84131 [BZ #12597]
84132 * string/test-strncmp.c (do_page_test): New function.
84133 (check2): Likewise.
84134 (test_main): Call check2.
84135 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84136
84137 2011-03-20 Ulrich Drepper <drepper@gmail.com>
84138
84139 [BZ #12587]
84140 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84141 Handle cache information in CPU leaf 4.
84142 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84143
84144 2011-03-18 Ulrich Drepper <drepper@gmail.com>
84145
84146 [BZ #12583]
84147 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84148 character representation.
84149 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84150
84151 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
84152
84153 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84154 END(__isnan) to END(__isnanf) to match function entry point/label
84155 EALIGN(__isnanf,...).
84156
84157 2011-03-10 Jakub Jelinek <jakub@redhat.com>
84158
84159 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84160
84161 2011-03-10 Ulrich Drepper <drepper@gmail.com>
84162
84163 [BZ #12510]
84164 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84165 copy from the symbol referenced in the relocation to initialize the
84166 used variable.
84167 Patch by Piotr Bury <pbury@goahead.com>.
84168 * elf/Makefile: Add rules to build and tst-unique3.
84169 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84170 * elf/tst-unique3.cc: New file.
84171 * elf/tst-unique3.h: New file.
84172 * elf/tst-unique3lib.cc: New file.
84173 * elf/tst-unique3lib2.cc: New file.
84174
84175 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84176
84177 2011-03-10 Mike Frysinger <vapier@gentoo.org>
84178
84179 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84180 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
84181 to _start.
84182
84183 2011-03-06 Ulrich Drepper <drepper@gmail.com>
84184
84185 * elf/dl-load.c (_dl_map_object): If we are looking for the first
84186 to-be-loaded object along a path to loader is ld.so.
84187
84188 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84189 Ulrich Drepper <drepper@gmail.com>
84190
84191 * sysdeps/x86_64/memset.S: After aligning destination, code
84192 branches to different locations depending on the value of
84193 misalignment, when multiarch is enabled. Fix this.
84194
84195 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84196
84197 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84198 Set _x86_64_preferred_memory_instruction for AMD processsors.
84199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84200 Set bit_Prefer_SSE_for_memop for AMD processors.
84201
84202 2011-03-04 Ulrich Drepper <drepper@gmail.com>
84203
84204 * libio/fmemopen.c (fmemopen): Optimize a bit.
84205
84206 2011-03-03 Andreas Schwab <schwab@redhat.com>
84207
84208 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84209
84210 2011-03-03 Roland McGrath <roland@redhat.com>
84211
84212 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84213
84214 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
84215
84216 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84217 __bzero_ultra1 instead of __memset_ultra1.
84218
84219 2011-02-23 Andreas Schwab <schwab@redhat.com>
84220 Ulrich Drepper <drepper@gmail.com>
84221
84222 [BZ #12509]
84223 * include/link.h (struct link_map): Add l_orig_initfini.
84224 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84225 returning unsuccessfully.
84226 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84227 close of a file loaded at startup, restore the original l_initfini
84228 list.
84229 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84230 list, store the pointer.
84231 * elf/Makefile ($(objpfx)noload-mem): New rule.
84232 (noload-ENV): Define.
84233 (tests): Add $(objpfx)noload-mem.
84234 * elf/noload.c: Include <memcheck.h>.
84235 (main): Call mtrace. Close all opened handles.
84236
84237 2011-02-17 Andreas Schwab <schwab@redhat.com>
84238
84239 [BZ #12454]
84240 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84241 dependencies are missing.
84242
84243 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
84244
84245 Fix __if_freereq crash: Unlike the generic version which uses free,
84246 Hurd needs munmap.
84247 * sysdeps/mach/hurd/ifreq.h: New file.
84248
84249 2011-01-27 Petr Baudis <pasky@suse.cz>
84250 Ulrich Drepper <drepper@gmail.com>
84251
84252 [BZ 12445]#
84253 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84254 to extend_alloca().
84255 * stdio-common/bug23.c: New file.
84256 * stdio-common/Makefile (tests): Add bug23.
84257
84258 2010-09-28 Andreas Schwab <schwab@redhat.com>
84259 Ulrich Drepper <drepper@gmail.com>
84260
84261 [BZ #12489]
84262 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84263 before performing relro protection. At old place add assertion
84264 to make sure nothing changed.
84265
84266 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
84267 Glauber de Oliveira Costa <glommer@gmail.com>
84268
84269 * elf/elf.h: Add new ARM TLS relocs.
84270
84271 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
84272
84273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84274 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84275 cast from r3.
84276 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
84277 'tests' variable.
84278 * sysdeps/wordsize-64/tst-writev.c: New file.
84279
84280 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
84281
84282 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84283 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84284 insns in _dl_start to prevent a TOC reference before relocs are
84285 resolved.
84286
84287 2011-02-15 Ulrich Drepper <drepper@gmail.com>
84288
84289 [BZ #12469]
84290 * Makeconfig: Remove RANLIB definition.
84291 * Makerules: Don't use RANLIB.
84292 * aclocal.m4: Remove ranlib test.
84293 * configure.in: No need to check for ranlib.
84294 * elf/rtld-Rules: Don't use RANLIB.
84295
84296 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
84297
84298 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84299 protection macro.
84300 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84301 inclusion protection macro.
84302
84303 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84304 SIGRTMIN and SIGRTMAX and print information in that case only when
84305 SIGRTMIN is defined.
84306
84307 2011-02-11 Jakub Jelinek <jakub@redhat.com>
84308
84309 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84310 arginfo fn returning -1.
84311
84312 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84313 and thousands string is zero terminated.
84314
84315 2011-02-03 Andreas Schwab <schwab@redhat.com>
84316
84317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84318 sysdeps/unix/sysv/linux/bits/socket.h.
84319
84320 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84321
84322 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84323 (__CPU_COUNT): Remove old macros.
84324 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84325 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84326 (__CPU_ALLOC, __CPU_FREE): Add macros.
84327 (__sched_cpualloc, __sched_cpufree): Add declarations.
84328
84329 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84330
84331 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84332 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84333 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84334 (readdhstai): Return value of addhstaiX call.
84335 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84336 (addgrbyX): Return value returned by cache_addgr.
84337 (readdgrbyname): Return value returned by addgrbyX.
84338 (readdgrbygid): Likewise.
84339 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84340 (addpwbyX): Return value returned by cache_addpw.
84341 (readdpwbyname): Return value returned by addhstbyX.
84342 (readdpwbyuid): Likewise.
84343 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84344 (addservbyX): Return value returned by cache_addserv.
84345 (readdservbyname): Return value returned by addservbyX:
84346 (readdservbyport): Likewise.
84347 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84348 (addhstbyX): Return value returned by cache_addhst.
84349 (readdhstbyname): Return value returned by addhstbyX.
84350 (readdhstbyaddr): Likewise.
84351 (readdhstbynamev6): Likewise.
84352 (readdhstbyaddrv6): Likewise.
84353 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84354 (readdinitgroups): Return value returned by addinitgroupsX.
84355 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84356 (prune_cache): Keep track of timeout value of re-added entries.
84357 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84358 * nscd/nscd.h: Adjust prototypes of readd* functions.
84359
84360 2011-02-04 Roland McGrath <roland@redhat.com>
84361
84362 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84363 (nis_stats): Likewise.
84364 * nis/nis_modify.c (nis_modify): Likewise.
84365 * nis/nis_remove.c (nis_remove): Likewise.
84366 * nis/nis_add.c (nis_add): Likewise.
84367
84368 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84369
84370 * posix/fnmatch_loop.c: Add some consts.
84371
84372 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84373
84374 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84375
84376 [BZ #12460]
84377 * config.make.in (config-cflags-novzeroupper): Define.
84378 * configure.in: Substitute libc_cv_cc_novzeroupper.
84379 * elf/Makefile (AVX-CFLAGS): Define.
84380 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84381 (CFLAGS-tst-auditmod4a.c): Likewise.
84382 (CFLAGS-tst-auditmod4b.c): Likewise.
84383 (CFLAGS-tst-auditmod6b.c): Likewise.
84384 (CFLAGS-tst-auditmod6c.c): Likewise.
84385 (CFLAGS-tst-auditmod7b.c): Likewise.
84386 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84387
84388 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84389
84390 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84391 function to the callback.
84392 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84393
84394 2011-02-02 Andreas Schwab <schwab@redhat.com>
84395
84396 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84397 of errno.
84398
84399 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84400
84401 [BZ #11724]
84402 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84403 of constructors.
84404 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84405 of destructors.
84406 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84407
84408 [BZ #11724]
84409 * elf/Makefile: Add rules to build and run new test.
84410 * elf/tst-initorder.c: New file.
84411 * elf/tst-initorder.exp: New file.
84412 * elf/tst-initordera1.c: New file.
84413 * elf/tst-initordera2.c: New file.
84414 * elf/tst-initordera3.c: New file.
84415 * elf/tst-initordera4.c: New file.
84416 * elf/tst-initorderb1.c: New file.
84417 * elf/tst-initorderb2.c: New file.
84418 * elf/tst-order-a1.c: New file.
84419 * elf/tst-order-a2.c: New file.
84420 * elf/tst-order-a3.c: New file.
84421 * elf/tst-order-a4.c: New file.
84422 * elf/tst-order-b1.c: New file.
84423 * elf/tst-order-b2.c: New file.
84424 * elf/tst-order-main.c: New file.
84425 New test case by George Gensure <werkt0@gmail.com>.
84426
84427 2010-10-01 Andreas Schwab <schwab@redhat.com>
84428
84429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84430 decoding ACE if AI_CANONIDN.
84431
84432 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84433
84434 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84435
84436 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84437
84438 * version.h (RELEASE): Bump for 2.13 release.
84439 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84440
84441 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84442
84443 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84444 MADV_NOHUGEPAGE.
84445 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84447 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84448 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84449 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84450 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84451
84452 * posix/getconf.c: Update copyright year.
84453 * catgets/gencat.c: Likewise.
84454 * csu/version.c: Likewise.
84455 * debug/catchsegv.sh: Likewise.
84456 * debug/xtrace.sh: Likewise.
84457 * elf/ldconfig.c: Likewise.
84458 * elf/ldd.bash.in: Likewise.
84459 * elf/sprof.c (print_version): Likewise.
84460 * iconv/iconv_prog.c: Likewise.
84461 * iconv/iconvconfig.c: Likewise.
84462 * locale/programs/locale.c: Likewise.
84463 * locale/programs/localedef.c: Likewise.
84464 * malloc/memusage.sh: Likewise.
84465 * malloc/mtrace.pl: Likewise.
84466 * nscd/nscd.c (print_version): Likewise.
84467 * nss/getent.c: Likewise.
84468
84469 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84470 PF_CAIF, and PF_ALG.
84471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84472
84473 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84474
84475 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84476 (modules-names): Use them.
84477 (ifunc-test-modules, ifunc-pie-tests): Define.
84478 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84479 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84480 (test-extras): Likewise.
84481 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84482 $(compile-command.c).
84483 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84484 (all-built-dso): Define.
84485 (check-textrel.out, check-execstack.out): Depend on it.
84486
84487 * configure.in: Don't override --enable-multi-arch.
84488
84489 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84490
84491 [BZ #6812]
84492 * nscd/hstcache.c (tryagain): Define.
84493 (cache_addhst): Return tryagain not notfound for temporary errors.
84494 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84495 failed.
84496
84497 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84498
84499 [BZ #10563]
84500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84501 to make the syscall.
84502 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84503
84504 [BZ #12378]
84505 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84506 and fall back to matching as normal character if the string ends before
84507 the matching ']' is found. This is what POSIX requires.
84508 * posix/testfnm.c: Adjust test result.
84509 * posix/globtest.sh: Adjust test result. Add new test.
84510 * posix/tst-fnmatch.input: Likewise.
84511 * posix/tst-fnmatch2.c: Add new test.
84512
84513 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84514
84515 * elf/Makefile (check-execstack): Revert last change. Depend on
84516 check-execstack.h.
84517 (check-execstack.h): New target.
84518 (generated): Add check-execstack.h.
84519 * elf/check-execstack.c: Include "check-execstack.h".
84520 (main): Revert last change.
84521 (handle_file): Return zero if GNU_STACK is absent and
84522 DEFAULT_STACK_PERMS doesn't include PF_X.
84523
84524 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84525
84526 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84527 in child fails because the descriptor is already closed.
84528 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84529 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84530 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84531
84532 [BZ #12397]
84533 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84534 syscall.
84535
84536 [BZ #10484]
84537 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84538 temporary buffer used to handle multi lookups locally.
84539 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84540
84541 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84542
84543 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84544 loader is ld.so.
84545
84546 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84547
84548 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84549 alignment for SSE2.
84550
84551 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84552
84553 [BZ #12394]
84554 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84555 characters. When rounding increased number of integer digits recompute
84556 number of groups.
84557 * stdio-common/tst-grouping.c: New file.
84558 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84559
84560 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84561
84562 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84563 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84564
84565 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84566 void.
84567 * bits/select.h: Likewise.
84568
84569 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84570
84571 * po/ja.po: Update from translation team.
84572
84573 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84574
84575 [BZ #11155]
84576 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84577 implementation just like for lxstat, fxstatat, et al.
84578
84579 2010-12-27 Jim Meyering <meyering@redhat.com>
84580
84581 [BZ #12348]
84582 * posix/regexec.c (build_trtable): Return failure indication upon
84583 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84584
84585 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84586
84587 [BZ #12201]
84588 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84589 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84590 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84591 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84592
84593 [BZ #12207]
84594 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84595
84596 [BZ #12204]
84597 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84598 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84599
84600 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84601
84602 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84603 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84604 script has SORT_BY_INIT_PRIORITY.
84605 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84606 NO_CTORS_DTORS_SECTIONS is defined.
84607 * elf/soinit.c: Likewise.
84608 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84609 NO_CTORS_DTORS_SECTIONS is defined.
84610 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84611 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84612 * sysdeps/sh/init-first.c: Likewise.
84613 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84614
84615 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84616
84617 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84618 always use the slow path.
84619
84620 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84621
84622 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84623 similar rule which adds the sysdep directories to the header search in
84624 order to pick up the correct platform stackinfo.h.
84625 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84626 perform test if it is, otherwise return successfully without testing.
84627 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84628 DEFAULT_STACK_PERMS define in stackinfo.h.
84629 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84630 defined in stackinfo.h.
84631 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84632 DEFAULT_STACK_PERMS defined in stackinfo.h.
84633 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84634 * sysdeps/ia64/stackinfo.h: Likewise.
84635 * sysdeps/s390/stackinfo.h: Likewise.
84636 * sysdeps/sh/stackinfo.h: Likewise.
84637 * sysdeps/sparc/stackinfo.h: Likewise.
84638 * sysdeps/x86_64/stackinfo.h: Likewise.
84639 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84640 PF_X for powerpc64. Retain PF_X for powerpc32.
84641
84642 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84643
84644 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84645 accurately.
84646 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84647 GETDENTS_64BIT_ALIGNED.
84648
84649 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84650
84651 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84652
84653 2010-12-10 Andreas Schwab <schwab@redhat.com>
84654
84655 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84656 _GNU_SOURCE.
84657
84658 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84659 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84660 Remove __restrict.
84661 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84662 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84663
84664 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84665
84666 [BZ #11655]
84667 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84668 are initialized.
84669
84670 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84671
84672 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84673
84674 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84675
84676 * po/it.po: Update from translation team.
84677
84678 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84679
84680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84681 unused codes.
84682
84683 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84684
84685 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84686
84687 2010-11-24 Andreas Schwab <schwab@redhat.com>
84688
84689 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84690 specially.
84691 (gaih_getanswer_slice): Likewise.
84692
84693 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84694
84695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84696
84697 2010-05-31 Petr Baudis <pasky@suse.cz>
84698
84699 [BZ #11149]
84700 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84701 silently even in the chroot mode.
84702
84703 2010-11-22 Ulrich Drepper <drepper@gmail.com>
84704
84705 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84706 last patch a bit. Pretty printing
84707
84708 2010-05-31 Petr Baudis <pasky@suse.cz>
84709
84710 [BZ #10085]
84711 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84712 initialization of skip_initgroups_dyn.
84713
84714 2010-11-19 Ulrich Drepper <drepper@gmail.com>
84715
84716 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84718
84719 2010-11-16 Ulrich Drepper <drepper@gmail.com>
84720
84721 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84722
84723 2010-11-11 Andreas Schwab <schwab@redhat.com>
84724
84725 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84726 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84727 (tst-fnmatch-ENV): Set MALLOC_TRACE.
84728 ($(objpfx)tst-fnmatch-mem): New rule.
84729 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84730 * posix/tst-fnmatch.c (main): Call mtrace.
84731
84732 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
84733
84734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84735 Support Intel processor model 6 and model 0x2c.
84736
84737 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
84738
84739 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84740 signed comparison.
84741
84742 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
84743
84744 [BZ #12205]
84745 * string/test-strncasecmp.c (check_result): New function.
84746 (do_one_test): Use it.
84747 (check1): New function.
84748 (test_main): Use it.
84749 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84750 Support strcasecmp and strncasecmp.
84751
84752 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84753
84754 [BZ #12194]
84755 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84757
84758 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84759
84760 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84761 IFUNC support.
84762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84763 memset-x86-64.
84764 * sysdeps/x86_64/multiarch/bzero.S: New file.
84765 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84766 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84767 * sysdeps/x86_64/multiarch/memset.S: New file.
84768 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84770 Set bit_Prefer_SSE_for_memop for Intel processors.
84771 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84772 Define.
84773 (index_Prefer_SSE_for_memop): Define.
84774 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84775
84776 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84777
84778 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84779 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84780
84781 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84782
84783 [BZ #12191]
84784 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84785 (__x86_64_raw_data_cache_size_half): Likewise.
84786 (__x86_64_raw_shared_cache_size): Likewise.
84787 (__x86_64_raw_shared_cache_size_half): Likewise.
84788
84789 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84790 (__x86_64_raw_data_cache_size_half): Likewise.
84791 (__x86_64_raw_shared_cache_size): Likewise.
84792 (__x86_64_raw_shared_cache_size_half): Likewise.
84793 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84794 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84795 and __x86_64_raw_shared_cache_size_half. Round
84796 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84797 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84798 to multiple of 256 bytes.
84799
84800 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84801
84802 [BZ #12167]
84803 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84804 of inacessible symlinks. Verify result of symlink before returning it.
84805 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84806 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84807
84808 2010-10-28 Erich Ritz <erichritz@gmail.com>
84809
84810 * math/math.h (isinf): Fix typo in comment.
84811
84812 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84813
84814 * po/da.po: Update from translation team.
84815
84816 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84817
84818 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84819 is added to the list.
84820
84821 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84822 Ulrich Drepper <drepper@gmail.com>
84823
84824 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84825 the global list here. Move code to...
84826 (_dl_add_to_namespace_list): ...here. New function.
84827 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84828 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84829 * elf/dl-load.c (lose): Don't remove the element from the list.
84830 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84831 (_dl_map_object): Likewise.
84832
84833 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84834
84835 [BZ #12159]
84836 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84837 into all bytes of SSE register.
84838 Patch by Richard Li <richardpku@gmail.com>.
84839
84840 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84841
84842 [BZ #12140]
84843 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84844 perturbing.
84845
84846 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84847
84848 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84849 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84851 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84853 submachine.
84854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84855
84856 2010-10-22 Andreas Schwab <schwab@redhat.com>
84857
84858 * include/dlfcn.h (__RTLD_SECURE): Define.
84859 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84860 mode & __RTLD_SECURE instead.
84861 (open_path): Rename preloaded parameter to secure.
84862 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84863 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84864 * elf/dl-deps.c (openaux): Likewise.
84865 * elf/rtld.c (struct map_args): Remove is_preloaded.
84866 (map_doit): Don't use it.
84867 (dl_main): Likewise.
84868 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84869 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84870
84871 2010-09-09 Andreas Schwab <schwab@redhat.com>
84872
84873 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84874 (sysd-rules-targets): Remove duplicates.
84875 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84876 rtld-%.$o dependency.
84877
84878 2010-10-18 Andreas Schwab <schwab@redhat.com>
84879
84880 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84881 _dl_map_object do it.
84882
84883 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84884
84885 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84886 fast fma builtins, define the macros in the C99 standard.
84887 (FP_FAST_FMAF): Likewise.
84888 (FP_FAST_FMAL): Likewise.
84889 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84890
84891 * bits/mathdef.h: Update copyright year.
84892 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84893
84894 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84895
84896 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84897 builtins, define the macros in the C99 standard.
84898 (FP_FAST_FMAF): Likewise.
84899 (FP_FAST_FMAL): Likewise.
84900 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84901 multiply/add.
84902 (FP_FAST_FMAF): Likewise.
84903
84904 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84905
84906 [BZ #3268]
84907 * math/libm-test.inc (fma_test): Some new testcases.
84908 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84909 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84910 y and infinite z. Do multiplication by C already in long double.
84911 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84913 y and infinite z. Do bitwise or of inexact bit into u.d.
84914 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84915 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84916 * sysdeps/i386/fpu/s_fma.S: Removed.
84917 * sysdeps/i386/fpu/s_fmal.S: Removed.
84918
84919 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84920
84921 [BZ #3268]
84922 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84924 computation is not scheduled after fetestexcept. Fix value
84925 of minimum denormal long double.
84926
84927 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84928
84929 [BZ #3268]
84930 * math/libm-test.inc (fma_test): Add some more tests.
84931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84932 correctly.
84933
84934 2010-10-15 Andreas Schwab <schwab@redhat.com>
84935
84936 * scripts/data/localplt-s390-linux-gnu.data: New file.
84937 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84938
84939 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84940
84941 [BZ #3268]
84942 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84943 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84944 instead of dbl-64.
84945 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84946 inlines.
84947 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84949 if one of x and y is very large and the other is subnormal.
84950 * sysdeps/s390/fpu/s_fmaf.c: New file.
84951 * sysdeps/s390/fpu/s_fma.c: New file.
84952 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84953 * sysdeps/powerpc/fpu/s_fma.S: New file.
84954 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84955 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84956 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84957
84958 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84959
84960 [BZ #3268]
84961 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84962 fma tests.
84963 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84964 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84965 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84966 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84967 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84968 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84969 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84970
84971 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84972
84973 [BZ #12078]
84974 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84975 * posix/bug-regex31.input: Add test case.
84976
84977 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84978
84979 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84980 * posix/bug-regex31.input: New file.
84981
84982 [BZ #12078]
84983 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84984 (parse_sub_exp): Fix last change, use postorder.
84985
84986 * posix/bug-regex31.c: New file.
84987 * posix/Makefile: Add rules to build and run bug-regex31.
84988
84989 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84990
84991 [BZ #12078]
84992 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84993
84994 [BZ #12108]
84995 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84996 to have entries in sys_siglist.
84997
84998 [BZ #12093]
84999 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85000 be NULL.
85001
85002 2010-10-07 Jakub Jelinek <jakub@redhat.com>
85003
85004 [BZ #3268]
85005 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85006 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85007 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85008 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85009 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85010 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85011 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85012 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85013 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85014 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85015 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85016 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85017 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85018 * math/ftestexcept.c (fetestexcept): Likewise.
85019 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85020 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85021 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85022 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85023 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85024 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85025 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85026
85027 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85028
85029 [BZ #12107]
85030 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85031 newline.
85032
85033 2010-10-06 Ulrich Drepper <drepper@gmail.com>
85034
85035 * string/bug-strstr1.c: New file.
85036 * string/Makefile: Add rules to build and run bug-strstr1.
85037
85038 2010-10-05 Eric Blake <eblake@redhat.com>
85039
85040 [BZ #12092]
85041 * string/str-two-way.h (two_way_long_needle): Always clear memory
85042 when skipping input due to the shift table.
85043
85044 2010-10-03 Ulrich Drepper <drepper@gmail.com>
85045
85046 [BZ #12005]
85047 * malloc/mcheck.c: Handle large requests.
85048
85049 [BZ #12077]
85050 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85051 for strncmp and strncasecmp.
85052 * string/stratcliff.c: Add tests for strcmp and strncmp.
85053 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85054
85055 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85056
85057 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85058 __set_fpscr.
85059
85060 2010-09-30 Andreas Jaeger <aj@suse.de>
85061
85062 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85063 (CGROUP_SUPER_MAGIC): Define.
85064 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85065 Handle btrfs and cgroup file systems.
85066 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85067 Likewise.
85068
85069 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
85070
85071 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85072 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85073
85074 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85075
85076 [BZ #12067]
85077 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85078 trying to locate the ELF header.
85079
85080 2010-09-27 Andreas Schwab <schwab@redhat.com>
85081
85082 [BZ #11611]
85083 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85084 Mask out sign-bit copies when constructing f_fsid.
85085
85086 2010-09-24 Petr Baudis <pasky@suse.cz>
85087
85088 * debug/stack_chk_fail_local.c: Add missing licence exception.
85089 * debug/warning-nop.c: Likewise.
85090
85091 2010-09-15 Joseph Myers <joseph@codesourcery.com>
85092
85093 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85094 implementing getdents64 using getdents syscall, set d_type if
85095 __ASSUME_GETDENTS32_D_TYPE.
85096
85097 2010-09-16 Andreas Schwab <schwab@redhat.com>
85098
85099 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85100 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85101
85102 2010-09-21 Ulrich Drepper <drepper@redhat.com>
85103
85104 [BZ #12037]
85105 * posix/unistd.h: Undo change of feature selection for ftruncate from
85106 2010-01-11.
85107
85108 2010-09-20 Ulrich Drepper <drepper@redhat.com>
85109
85110 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85111 detection.
85112
85113 2010-09-20 Andreas Schwab <schwab@redhat.com>
85114
85115 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85116 fanotify_mark.
85117 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85118
85119 2010-09-14 Andreas Schwab <schwab@redhat.com>
85120
85121 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85122 variables after CHECK_SP call.
85123 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85124
85125 2010-09-13 Andreas Schwab <schwab@redhat.com>
85126 Ulrich Drepper <drepper@redhat.com>
85127
85128 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85129 re-relocationg ld.so.
85130 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85131 _dl_init_paths call.
85132 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
85133 here anymore.
85134
85135 2010-09-14 Ulrich Drepper <drepper@redhat.com>
85136
85137 * resolv/res_init.c (__res_vinit): Count the default server we added.
85138
85139 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
85140 Ulrich Drepper <drepper@redhat.com>
85141
85142 [BZ #11968]
85143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85144 (____longjmp_chk): Use %ebx for saving value across system call.
85145 Add unwind info.
85146
85147 2010-09-06 Andreas Schwab <schwab@redhat.com>
85148
85149 * manual/Makefile: Don't mix pattern rules with normal rules.
85150
85151 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
85152
85153 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85154 operation.
85155 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85156 * libio/iofopncook.c (_IO_cookie_init): Likewise.
85157 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85158 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85160 Likewise.
85161
85162 2010-09-04 Ulrich Drepper <drepper@redhat.com>
85163
85164 [BZ #11979]
85165 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85166 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85167
85168 2010-09-02 Ulrich Drepper <drepper@redhat.com>
85169
85170 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85171 * sysdeps/x86_64/addmul_1.S: Likewise.
85172 * sysdeps/x86_64/lshift.S: Likewise.
85173 * sysdeps/x86_64/mul_1.S: Likewise.
85174 * sysdeps/x86_64/rshift.S: Likewise.
85175 * sysdeps/x86_64/sub_n.S: Likewise.
85176 * sysdeps/x86_64/submul_1.S: Likewise.
85177
85178 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
85179
85180 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85181 Define __sched_param instead of SCHED_* and sched_param when
85182 <bits/sched.h> is included with __need_schedparam defined.
85183 * bits/sched.h [__need_schedparam]
85184 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85185 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85186 (__defined_schedparam): Define to 1.
85187 (__sched_param): New structure, identical to sched_param.
85188 (__need_schedparam): Undefine.
85189
85190 2010-08-31 Mike Frysinger <vapier@gentoo.org>
85191
85192 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85193 (epoll_create1): Declare.
85194
85195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85196
85197 2010-08-31 Andreas Schwab <schwab@redhat.com>
85198
85199 [BZ #7066]
85200 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85201 shifting retval into place.
85202
85203 2010-09-01 Ulrich Drepper <drepper@redhat.com>
85204
85205 * nis/rpcsvc/nis.h: Update copyright notice.
85206 * nis/rpcsvc/nis.x: Likewise.
85207 * nis/rpcsvc/nis_callback.h: Likewise.
85208 * nis/rpcsvc/nis_callback.x: Likewise.
85209 * nis/rpcsvc/nis_object.x: Likewise.
85210 * nis/rpcsvc/nis_tags.h: Likewise.
85211 * nis/rpcsvc/yp.h: Likewise.
85212 * nis/rpcsvc/yp.x: Likewise.
85213 * nis/rpcsvc/ypupd.h: Likewise.
85214 * nis/yp_xdr.c: Likewise.
85215 * nis/ypupdate_xdr.c: Likewise.
85216
85217 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
85218 mainly the body of pmap_getport. Add parameters to specify timeouts.
85219 (pmap_getport): Use __libc_rpc_getport.
85220 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85221 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85222 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85223
85224 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
85225
85226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85227 fanotify_mark.
85228
85229 2010-08-27 Roland McGrath <roland@redhat.com>
85230
85231 * sysdeps/i386/i686/multiarch/Makefile
85232 (CFLAGS-varshift.c): New variable.
85233
85234 2010-08-27 Ulrich Drepper <drepper@redhat.com>
85235
85236 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85237 * sysdeps/i386/i686/multiarch/varshift.c: New file.
85238
85239 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85240
85241 * sysdeps/x86_64/strlen.S: Minimal code improvement.
85242
85243 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
85244
85245 * sysdeps/x86_64/strlen.S: Unroll the loop.
85246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85247 strlen-sse2 strlen-sse2-bsf.
85248 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85249 __strlen_no_bsf if bit_Slow_BSF is set.
85250 (__strlen_sse42): Removed.
85251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85252 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85253
85254 2010-08-25 Roland McGrath <roland@redhat.com>
85255
85256 * sysdeps/x86_64/multiarch/varshift.S: File removed.
85257 * sysdeps/x86_64/multiarch/varshift.c: New file.
85258 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85259 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85260 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85261 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85262
85263 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
85264
85265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85266 strlen-sse2 strlen-sse2-bsf.
85267 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85268 __strlen_sse2_bsf if bit_Slow_BSF is unset.
85269 (__strlen_sse2): Removed.
85270 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85273 bit_Slow_BSF for Atom.
85274 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85275 (index_Slow_BSF): Define.
85276 (HAS_SLOW_BSF): Define.
85277
85278 2010-08-25 Ulrich Drepper <drepper@redhat.com>
85279
85280 [BZ #10851]
85281 * resolv/res_init.c (__res_vinit): When no server address at all
85282 is given default to loopback.
85283
85284 2010-08-24 Roland McGrath <roland@redhat.com>
85285
85286 * configure.in: Remove config-name.h generation.
85287 * configure: Regenerated.
85288 * config-name.in: File removed.
85289 * scripts/config-uname.sh: New file.
85290 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85291 ($(objdir)config-name.h): New target.
85292
85293 * sunrpc/rpc_parse.h: Avoid nested comment.
85294
85295 2010-08-24 Richard Henderson <rth@redhat.com>
85296 Ulrich Drepper <drepper@redhat.com>
85297 H.J. Lu <hongjiu.lu@intel.com>
85298
85299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85301 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85302 Replace _mm_srli_si128 with __m128i_shift_right. Replace
85303 _mm_alignr_epi8 with _mm_loadu_si128.
85304 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85305 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85306 (__m128i_shift_right): Removed.
85307 * sysdeps/i386/i686/multiarch/varshift.h: New file.
85308 * sysdeps/i386/i686/multiarch/varshift.S: New file.
85309 * sysdeps/x86_64/multiarch/varshift.h: New file.
85310 * sysdeps/x86_64/multiarch/varshift.S: New file.
85311
85312 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85313
85314 * configure.in: Move assembler checks to before sysdep dir checking.
85315
85316 2010-08-20 Petr Baudis <pasky@suse.cz>
85317
85318 * LICENSES: Sync the sunrpc license.
85319
85320 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85321
85322 * sunrpc/auth_des.c: Update copyright notice once again.
85323 * sunrpc/auth_none.c: Likewise.
85324 * sunrpc/auth_unix.c: Likewise.
85325 * sunrpc/authdes_prot.c: Likewise.
85326 * sunrpc/authuxprot.c: Likewise.
85327 * sunrpc/bindrsvprt.c: Likewise.
85328 * sunrpc/clnt_gen.c: Likewise.
85329 * sunrpc/clnt_perr.c: Likewise.
85330 * sunrpc/clnt_raw.c: Likewise.
85331 * sunrpc/clnt_simp.c: Likewise.
85332 * sunrpc/clnt_tcp.c: Likewise.
85333 * sunrpc/clnt_udp.c: Likewise.
85334 * sunrpc/clnt_unix.c: Likewise.
85335 * sunrpc/des_crypt.c: Likewise.
85336 * sunrpc/des_soft.c: Likewise.
85337 * sunrpc/get_myaddr.c: Likewise.
85338 * sunrpc/getrpcport.c: Likewise.
85339 * sunrpc/key_call.c: Likewise.
85340 * sunrpc/key_prot.c: Likewise.
85341 * sunrpc/openchild.c: Likewise.
85342 * sunrpc/pm_getmaps.c: Likewise.
85343 * sunrpc/pm_getport.c: Likewise.
85344 * sunrpc/pmap_clnt.c: Likewise.
85345 * sunrpc/pmap_prot.c: Likewise.
85346 * sunrpc/pmap_prot2.c: Likewise.
85347 * sunrpc/pmap_rmt.c: Likewise.
85348 * sunrpc/rpc/auth.h: Likewise.
85349 * sunrpc/rpc/auth_unix.h: Likewise.
85350 * sunrpc/rpc/clnt.h: Likewise.
85351 * sunrpc/rpc/des_crypt.h: Likewise.
85352 * sunrpc/rpc/key_prot.h: Likewise.
85353 * sunrpc/rpc/netdb.h: Likewise.
85354 * sunrpc/rpc/pmap_clnt.h: Likewise.
85355 * sunrpc/rpc/pmap_prot.h: Likewise.
85356 * sunrpc/rpc/pmap_rmt.h: Likewise.
85357 * sunrpc/rpc/rpc.h: Likewise.
85358 * sunrpc/rpc/rpc_des.h: Likewise.
85359 * sunrpc/rpc/rpc_msg.h: Likewise.
85360 * sunrpc/rpc/svc.h: Likewise.
85361 * sunrpc/rpc/svc_auth.h: Likewise.
85362 * sunrpc/rpc/types.h: Likewise.
85363 * sunrpc/rpc/xdr.h: Likewise.
85364 * sunrpc/rpc_clntout.c: Likewise.
85365 * sunrpc/rpc_cmsg.c: Likewise.
85366 * sunrpc/rpc_common.c: Likewise.
85367 * sunrpc/rpc_cout.c: Likewise.
85368 * sunrpc/rpc_dtable.c: Likewise.
85369 * sunrpc/rpc_hout.c: Likewise.
85370 * sunrpc/rpc_main.c: Likewise.
85371 * sunrpc/rpc_parse.c: Likewise.
85372 * sunrpc/rpc_parse.h: Likewise.
85373 * sunrpc/rpc_prot.c: Likewise.
85374 * sunrpc/rpc_sample.c: Likewise.
85375 * sunrpc/rpc_scan.c: Likewise.
85376 * sunrpc/rpc_scan.h: Likewise.
85377 * sunrpc/rpc_svcout.c: Likewise.
85378 * sunrpc/rpc_tblout.c: Likewise.
85379 * sunrpc/rpc_util.c: Likewise.
85380 * sunrpc/rpc_util.h: Likewise.
85381 * sunrpc/rpcinfo.c: Likewise.
85382 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85383 * sunrpc/rpcsvc/key_prot.x: Likewise.
85384 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85385 * sunrpc/rpcsvc/mount.x: Likewise.
85386 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85387 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85388 * sunrpc/rpcsvc/rex.x: Likewise.
85389 * sunrpc/rpcsvc/rstat.x: Likewise.
85390 * sunrpc/rpcsvc/rusers.x: Likewise.
85391 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85392 * sunrpc/rpcsvc/spray.x: Likewise.
85393 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85394 * sunrpc/rtime.c: Likewise.
85395 * sunrpc/svc.c: Likewise.
85396 * sunrpc/svc_auth.c: Likewise.
85397 * sunrpc/svc_authux.c: Likewise.
85398 * sunrpc/svc_raw.c: Likewise.
85399 * sunrpc/svc_run.c: Likewise.
85400 * sunrpc/svc_simple.c: Likewise.
85401 * sunrpc/svc_tcp.c: Likewise.
85402 * sunrpc/svc_udp.c: Likewise.
85403 * sunrpc/svc_unix.c: Likewise.
85404 * sunrpc/svcauth_des.c: Likewise.
85405 * sunrpc/xcrypt.c: Likewise.
85406 * sunrpc/xdr.c: Likewise.
85407 * sunrpc/xdr_array.c: Likewise.
85408 * sunrpc/xdr_float.c: Likewise.
85409 * sunrpc/xdr_mem.c: Likewise.
85410 * sunrpc/xdr_rec.c: Likewise.
85411 * sunrpc/xdr_ref.c: Likewise.
85412 * sunrpc/xdr_sizeof.c: Likewise.
85413 * sunrpc/xdr_stdio.c: Likewise.
85414
85415 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85416 handling.
85417
85418 2010-08-19 Andreas Schwab <schwab@redhat.com>
85419
85420 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85421
85422 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85423
85424 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85425 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85426 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85427 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85428 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85429 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85430 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85431 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85432 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85433 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85434 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85435 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85436 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85437 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85438
85439 2010-07-26 Anton Blanchard <anton@samba.org>
85440
85441 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85442 * malloc/arena.c (heap_trim): Likewise.
85443
85444 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85445
85446 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85447 here. Not...
85448 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85449 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85450
85451 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85452
85453 * sysdeps/i386/elf/Makefile: New file.
85454
85455 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85456
85457 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85458 from fanotify_init.
85459 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85461
85462 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85463
85464 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85465 of strncasecmp_l.
85466 * sysdeps/multiarch/strcmp.S: Likewise.
85467
85468 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85469
85470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85471 strncase_l-nonascii.
85472 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85473 Add strncase_l-ssse3.
85474 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85475 * sysdeps/x86_64/strcmp.S: Likewise.
85476 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85477 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85478 * sysdeps/x86_64/strncase.S: New file.
85479 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85480 * sysdeps/x86_64/strncase_l.S: New file.
85481 * string/Makefile (strop-tests): Add strncasecmp.
85482 * string/test-strncasecmp.c: New file.
85483
85484 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85485 warning.
85486
85487 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85488 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85489
85490 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85491
85492 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85493
85494 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85495
85496 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85498 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85499
85500 2010-05-01 Alan Modra <amodra@gmail.com>
85501
85502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85503 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85504 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85505 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85506 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85507 tidying. Don't tail-call __sigjmp_save for static lib.
85508 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85509 save location.
85510 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85511 (CALL_MCOUNT): Add eh info, and nop after bl.
85512 (TAIL_CALL_SYSCALL_ERROR): New macro.
85513 (PSEUDO_RET): Use it.
85514 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85515 Correct save location of integer regs and cr.
85516 (_dl_profile_resolve): Correct cr save location. Delete nops
85517 after bl when SHARED. Reduce cfi size a little by better
85518 placement of cfi directives.
85519 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85520 make a stack frame. Instead use parm save area as a temp.
85521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85522 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85524 Don't make a stack frame for parent, use parm save area.
85525 Increase child stack frame to 112 bytes. Don't save unused reg,
85526 and adjust reg usage. Set up cfi on error recovery and
85527 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85529 (__makecontext): Add dummy nop after jump to exit.
85530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85531 Use correct parm save area and cr save, reduce stack frame.
85532 Correct cfi for possible PSEUDO_RET frame setup.
85533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85534 Branch to local label emitted by PSEUDO_RET rather than
85535 __syscall_error.
85536
85537 2010-08-12 Andreas Schwab <schwab@redhat.com>
85538
85539 [BZ #11904]
85540 * locale/programs/locale.c (print_assignment): New function.
85541 (show_locale_vars): Use it.
85542
85543 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85544
85545 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85546 field.
85547 (struct statfs64): Likewise.
85548 (_STATFS_F_FLAGS): Define.
85549 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85551 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85552 (ST_VALID): Define locally.
85553 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85554 __statvfs_getflags, use the provided value.
85555 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85556 __ASSUME_STATFS_F_FLAGS.
85557
85558 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85559
85560 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85561 Add sys/fanotify.h.
85562 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85563 fanotify_mask for GLIBC_2.13.
85564 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85565 fanotify_init and fanotify_mark.
85566 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85567 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85568
85569 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85570 Add prlimit.
85571 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85572 prlimit64 for GLIBC_2.13.
85573 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85574 prlimit64.
85575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85576 syscall.
85577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85578 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85579 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85580 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85582 add prlimit alias.
85583 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85584
85585 [BZ #11903]
85586 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85587 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85588
85589 * nss/Makefile: Add rules to build and run tst-nss-test1.
85590 * shlib-versions: Add entry for libnss_test1.
85591 * nss/nss_test1.c: New file.
85592 * nss/tst-nss-test1.c: New file.
85593
85594 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85595 (__nss_configure_lookup): Set appropriate entry in
85596 __nss_configure_lookup to true.
85597 * nss/nsswitch.h: Define enum with indeces of databases in
85598 databases and __nss_database_custom arrays. Declare
85599 __nss_database_custom.
85600 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85601 to avoid using nscd when custom rules are installed.
85602 * nss/getXXbyYY_r.c: Likewise.
85603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85604
85605 * nss/nss_files/files-parse.c: Whitespace fixes.
85606
85607 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85608
85609 [BZ #11883]
85610 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85611 * posix/fnmatch_loop.c: Likewise.
85612
85613 2010-07-17 Andi Kleen <ak@linux.intel.com>
85614
85615 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85616 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85617 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85618 * Versions.def [GLIBC_2.13]: Add.
85619
85620 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85621
85622 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85623 Also fail if tpwd after pwuid call is NULL.
85624
85625 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85626
85627 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85628 when converting to ms.
85629
85630 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85631
85632 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85633 EOPNOTSUPP errors with ENOTTY.
85634 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85635 EOPNOTSUPP errors with ENOTTY.
85636
85637 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85638
85639 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85640 Add strcasecmp_l-ssse3.
85641 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85642 strcasecmp.
85643 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85644 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85645 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85646
85647 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85648
85649 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85650
85651 * string/Makefile (strop-tests): Add strcasecmp.
85652 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85653 strcasecmp_l-nonascii.
85654 (gen-as-const-headers): Add locale-defines.sym.
85655 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85656 * sysdeps/x86_64/strcasecmp.S: New file.
85657 * sysdeps/x86_64/strcasecmp_l.S: New file.
85658 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85659 * sysdeps/x86_64/locale-defines.sym: New file.
85660 * string/test-strcasecmp.c: New file.
85661
85662 * string/test-strcasestr.c: Test both ends of the range of characters.
85663 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85664
85665 2010-07-29 Roland McGrath <roland@redhat.com>
85666
85667 [BZ #11856]
85668 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85669
85670 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85671
85672 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85673 for ld.so.
85674
85675 2010-07-27 Andreas Schwab <schwab@redhat.com>
85676
85677 * manual/memory.texi (Malloc Tunable Parameters): Document
85678 M_PERTURB.
85679
85680 2010-07-26 Roland McGrath <roland@redhat.com>
85681
85682 [BZ #11840]
85683 * configure.in (-fgnu89-inline check): Set and substitute
85684 gnu89_inline, not libc_cv_gnu89_inline.
85685 * configure: Regenerated.
85686 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85687
85688 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85689
85690 * string/test-strnlen.c: New file.
85691 * string/Makefile (strop-tests): Add strnlen.
85692 * string/tester.c (test_strnlen): Add a few more test cases.
85693 * string/tst-strlen.c: Better error reporting.
85694
85695 * sysdeps/x86_64/strnlen.S: New file.
85696
85697 2010-07-24 Ulrich Drepper <drepper@redhat.com>
85698
85699 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85700 lower-latency instructions.
85701
85702 2010-07-23 Ulrich Drepper <drepper@redhat.com>
85703
85704 * string/test-strcasestr.c: New file.
85705 * string/test-strstr.c: New file.
85706 * string/Makefile (strop-tests): Add strstr and strcasestr.
85707 * string/str-two-way.h: Don't undefine MAX.
85708 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85709
85710 2010-07-21 Andreas Schwab <schwab@redhat.com>
85711
85712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85713 strcasestr-nonascii.
85714 (CFLAGS-strcasestr-nonascii.c): Define.
85715 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85717 Remove unused attribute.
85718
85719 2010-07-20 Roland McGrath <roland@redhat.com>
85720
85721 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85722 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
85723 ld.so.cache was broken. With it, there is no way to disable dsocaps
85724 like LD_HWCAP_MASK can disable hwcaps.
85725
85726 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85727
85728 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85729
85730 2010-07-16 Ulrich Drepper <drepper@redhat.com>
85731
85732 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85733 call in strcasestr.
85734 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85735 __strcasestr_sse42_nonascii.
85736 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85737 strcasestr-nonascii.c.
85738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85739
85740 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
85741
85742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85743 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85744 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85745 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85746
85747 2010-07-09 Ulrich Drepper <drepper@redhat.com>
85748
85749 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85750 fcntl.
85751
85752 2010-07-06 Andreas Schwab <schwab@redhat.com>
85753
85754 [BZ #11577]
85755 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85756 dl_signal_cerror.
85757
85758 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85759
85760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85761 _PC_PIPE_BUF using F_GETPIPE_SZ.
85762
85763 2010-07-05 Roland McGrath <roland@redhat.com>
85764
85765 * manual/arith.texi (Rounding Functions): Fix rint description
85766 implicit in round description.
85767
85768 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85769
85770 * elf/Makefile: Fix linking for a few tests to make recent linker
85771 happy.
85772
85773 2010-06-30 Andreas Schwab <schwab@redhat.com>
85774
85775 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85776 $(common-objpfx)libc_nonshared.a.
85777
85778 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85779
85780 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85781 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85782 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85783 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85784 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85785 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85786 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85787 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85802 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85803 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85804 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85805 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85806 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85807 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85808 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85809 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85810 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85811 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85812 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85813 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85828
85829 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85830
85831 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85832 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85833 * string/memmove.c (memmove): Renamed to ...
85834 (MEMMOVE): ...this. Default to memmove.
85835 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85836 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85837 (END_CHK): Define.
85838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85839 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85840 mempcpy-ssse3-back memmove-ssse3-back.
85841 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85843 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85844 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85845 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85846 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85847 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85848 * sysdeps/x86_64/multiarch/memmove.c: New file.
85849 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85850 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85851 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85852 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85853 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85855 Define.
85856 (index_Fast_Copy_Backward): Define.
85857 (HAS_ARCH_FEATURE): Define.
85858 (HAS_FAST_REP_STRING): Define.
85859 (HAS_FAST_COPY_BACKWARD): Define.
85860
85861 2010-06-21 Andreas Schwab <schwab@redhat.com>
85862
85863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85864 Restore proper fallback handling.
85865
85866 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85867
85868 [BZ #11701]
85869 * posix/group_member.c (__group_member): Correct checking loop.
85870
85871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85872 OOM in getpwuid_r correctly. Return error number when the caller
85873 should return, otherwise -1.
85874 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85875 call returning > 0 value.
85876 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85877
85878 2010-06-07 Andreas Schwab <schwab@redhat.com>
85879
85880 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85881 libc_nonshared.a from targets in modules-names.
85882
85883 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85884
85885 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85886 requires it.
85887
85888 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85889
85890 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85891 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85894
85895 2010-06-02 Andreas Schwab <schwab@redhat.com>
85896
85897 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85898
85899 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85900
85901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85902 and F_GETPIPE_SZ.
85903 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85904 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85908 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85909
85910 2010-06-14 Roland McGrath <roland@redhat.com>
85911
85912 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85913
85914 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85915
85916 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85917 __REDIRECT followed by __THROW.
85918 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85919 * posix/getopt.h (getopt): Likewise.
85920
85921 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85922
85923 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85924 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85925 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85926 in AT_FLAGS.
85927 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85928 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85929
85930 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85931
85932 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85933
85934 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85935
85936 [BZ #11640]
85937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85938 Properly check family and model.
85939
85940 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85941
85942 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85943
85944 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85945
85946 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85947
85948 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85949
85950 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85951 symbol reference.
85952
85953 2010-05-19 Andreas Schwab <schwab@redhat.com>
85954
85955 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85956 symbol reference.
85957
85958 2010-05-21 Andreas Schwab <schwab@redhat.com>
85959
85960 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85961 and internal_recvmmsg.
85962 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85963 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85964 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85965 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85966
85967 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85968 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85969 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85970
85971 2010-05-20 Andreas Schwab <schwab@redhat.com>
85972
85973 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85974
85975 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85976
85977 POWER7 optimizations.
85978 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85979 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85980
85981 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85982
85983 * version.h: Update for 2.13 development version.
85984
85985 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85986
85987 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85988 exceptions. Return 0.
85989
85990 2010-05-07 Roland McGrath <roland@redhat.com>
85991
85992 * elf/ldconfig.c (main): Add a const.
85993
85994 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85995
85996 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85997 (args_options): Add no-idn option.
85998 (ahosts_keys_int): Add idn_flags to ai_flags.
85999 (parse_option): Handle 'i' option to clear idn_flags.
86000
86001 * malloc/malloc.c (_int_free): Possible race in the most recently
86002 added check. Only act on the data if no current modification
86003 happened.
86004
86005 See ChangeLog.17 for earlier changes.